Implementing a low power mode #4

Open
opened 5 years ago by sebascarra · 2 comments

Hello Youen, so far your library works wonderfully, I still have to test it with more than a few devices but so far so good.

What brings me here today is that I'm looking forward to saving a reasonable amount of power. See, I plan to make a large network of (possibly) 200 Arduinos in a daisy chain (without stubs, I'm using a PCB design of mine) and Cat 5e cable. I can add a stepdown regulator on every Arduino and run 24 V through the line, but I would rather save some money and run a 5 v line. I have not worked before with low-power mode using the Arduino libraries. They seem to be suited for slow applications, but in this case we would need to (at least) wake up on every pulse sent on the 1-Wire. Moreover, I am not sure whether there's the chance of ending up with lots of errors due to the time the microcontroller might need to fully wake up.

Do you have any ideas? I would like to develop such functionality if it can be used with the library-as is or with little modifications.

Regards.

Hello Youen, so far your library works wonderfully, I still have to test it with more than a few devices but so far so good. What brings me here today is that I'm looking forward to saving a reasonable amount of power. See, I plan to make a large network of (possibly) 200 Arduinos in a daisy chain (without stubs, I'm using a PCB design of mine) and Cat 5e cable. I can add a stepdown regulator on every Arduino and run 24 V through the line, but I would rather save some money and run a 5 v line. I have not worked before with low-power mode using the Arduino libraries. They seem to be suited for slow applications, but in this case we would need to (at least) wake up on every pulse sent on the 1-Wire. Moreover, I am not sure whether there's the chance of ending up with lots of errors due to the time the microcontroller might need to fully wake up. Do you have any ideas? I would like to develop such functionality if it can be used with the library-as is or with little modifications. Regards.
Poster

Edits don't seem to work, so here's a slightly more thorough message:

Hello Youen, so far your library works wonderfully, I still have to test it with more than a few devices but so far so good.

What brings me here today is that I'm looking forward to saving a reasonable amount of power. See, I plan to make a large network of (possibly) 200 Arduinos in a daisy chain (without stubs, I'm using a PCB design of mine) and Cat 5e cable. I can add a stepdown regulator on every Arduino and run 24 V through the line, but I would rather save some money and run a 5 v line. I have not worked before with low-power mode using the Arduino libraries. They seem to be suited for slow applications, but in this case we would need to (at least) wake up on every first pulse/edge of a command sent on the 1-Wire (waking up on the first falling edge issued by a master writing the bus, and going back to sleep after doing the work we have to do). Moreover, I am not sure whether there's the chance of ending up with lots of errors due to the time the microcontroller might need to fully wake up.

Do you have any ideas? I would like to develop such functionality if it can be used with the library-as is or with little modifications.

Regards.

Edits don't seem to work, so here's a slightly more thorough message: Hello Youen, so far your library works wonderfully, I still have to test it with more than a few devices but so far so good. What brings me here today is that I'm looking forward to saving a reasonable amount of power. See, I plan to make a large network of (possibly) 200 Arduinos in a daisy chain (without stubs, I'm using a PCB design of mine) and Cat 5e cable. I can add a stepdown regulator on every Arduino and run 24 V through the line, but I would rather save some money and run a 5 v line. I have not worked before with low-power mode using the Arduino libraries. They seem to be suited for slow applications, but in this case we would need to (at least) wake up on every first pulse/edge of a command sent on the 1-Wire (waking up on the first falling edge issued by a master writing the bus, and going back to sleep after doing the work we have to do). Moreover, I am not sure whether there's the chance of ending up with lots of errors due to the time the microcontroller might need to fully wake up. Do you have any ideas? I would like to develop such functionality if it can be used with the library-as is or with little modifications. Regards.
Owner

Hi sbascarra,

Sorry, somehow I missed your message.

I assume you already plan to use bare ATmega328 chips, which is a lot cheaper than full arduinos (arround $2/chip I think). Depending on your application, you could even use ATtiny chips. That will also save power as the only powered component is the one you actually need.

About sleep and wake up, I believe that's possible, and I actually already thought about implementing it, but didn't find the time (or need) to do so yet. So sorry, I can't help about that yet. I think it should be possible to directly wake up as soon as the bus is pulled low, but I don't know if there is a delay that would make you miss the actual communication after reset.

I'm interested of your findings on the subject if you have any to share.

Regards.

Hi sbascarra, Sorry, somehow I missed your message. I assume you already plan to use bare ATmega328 chips, which is a lot cheaper than full arduinos (arround $2/chip I think). Depending on your application, you could even use ATtiny chips. That will also save power as the only powered component is the one you actually need. About sleep and wake up, I believe that's possible, and I actually already thought about implementing it, but didn't find the time (or need) to do so yet. So sorry, I can't help about that yet. I think it should be possible to directly wake up as soon as the bus is pulled low, but I don't know if there is a delay that would make you miss the actual communication after reset. I'm interested of your findings on the subject if you have any to share. Regards.
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.