Hi guys, I'm wondering what's your experience with the Udoo Neo's power consumption. In my current project I have sensors like temperature, humidity, pollution etc. that get data constantly. Every minute I send data to a server with Wifi. I set cpu governor to powersave, I removed all the unnecessary services and interfaces. It consumed 23.000mAh from a power bank in 40h ish. That means 560mA/h What's your experiences with it? Have you any tips how to increase battery life?
I did some work on this previously, second post in this thread so gives some indication of whats possible. The figure who quoted are unreasonable, to bring down your figures : 1. You can strip down the kernel to initialize/power the peripherals used. 2. Sleep for longer before sending your data. 3. Use the M4 for most of the your sensor collection with the A9 in sleep mode for longer periods.
Thanks jas-mx. 1. Do you mean disabling peripherals by recompiling the kernel? 2. At the moment it's the A9 (Linux) who sends the data through a python script. 3. I'm using M4 for all the sensors except for GPS (gpsd) that runs on Linux. How to put A9 in sleep mode and how to wake it up?
1. Yes recompile kernel without module(s), ie if you don't require display disabled kernel drivers and stop lightdm service. 3. You can put A9 into sleep mode by: Code: echo standby > /sys/power/stat However before you put the A9 in sleep mode you need to ensure it can be woken otherwise it requires a power reset. You can wake up by either by rtc (if you have one attached), gpio or by uart example below: Code: echo enabled > /sys/bus/platform/drivers/imx-uart/2020000.serial/tty/ttymxc0/power/wakeup Furthermore before enabling sleep mode you may need to disable wifi. Warning I haven't tested these with UDOO kernel so I can't verify they all work and the M4 behaves well while the A9 is in sleep mode.
I want to wakeup A9 writing on the Serial from the M4. They use the ttyMCC. In /sys/bus/platform/drivers/imx6sx-mcc-tty/mcctty.13/power/ I don't have wakeup Even /sys/class/gpio[NUMBER]/power don't have wakeup. Do you know how to achieve it?
For GPIO you can try the approach mentioned in this post. Be warned as mentioned in the post you need to enable the GPIO's interrupt and unmask the irq in GPC, so you need to understand this at a low level if it requires code to be implemented.