Power efficiency related commands (disable functions during wait periods) using block coding? #1982
-
Here is a simple code I am using to push a Lego train around the base of a Christmas tree. It broadcasts from one hub and a receiving hub mimics the actions (for more power) as I am using 2 train motors. It accelerates, hits a top speed, decelerates, hits a minimum speed then looks for a tile using a colour sensor to stop at the station for a while then repeats. (There are a few redundant colour tiles in the setup not being used). I intend on leaving this running for 15+ hours every day but I suspect that's going to kill my batteries. (I have rechargeables but nevertheless...) I was wondering if there is anything I can do in block coding to make this more power efficient or if the results would be negligible? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
On an electromechanical system like this, CPU usuage usually isn't the most costly. You could:
|
Beta Was this translation helpful? Give feedback.
On an electromechanical system like this, CPU usuage usually isn't the most costly. You could: