Which microcontroller for Node
-
Dear gohan.
Sorry! I think about a general solution. We can forget the relay for now. I would like to know where is the limit approximatelly if i used battery with not too complocated circuits...
Best regards
T -
@Tommas a "generic" solution would get a battery life anywhere between a few hours to about ten years. There are a lot of parameters involved. https://www.mysensors.org/build/battery documents the most common parameters.
Dear @mfalkvidd
I think that i will use mini pro 3.3V version and in this case it is i will be capable to run it from battery or external power source.
Thanks
T -
Hi @LastSamurai
If i powered a 3.3V mini pro from 2 AA (2000mAh) battery, how long my sensor node can work? Approximately..? NRF24L01 low power, MQ2, si7021, lm393 light, PIR motion, one relay module, and a sound sensor? Or these are too much for battery power?
Can I attach these directly to the mini pro power output?Thanks,
T.@Tommas said in Which microcontroller for Node:
Hi @LastSamurai
If i powered a 3.3V mini pro from 2 AA (2000mAh) battery, how long my sensor node can work? Approximately..? NRF24L01 low power, MQ2, si7021, lm393 light, PIR motion, one relay module, and a sound sensor? Or these are too much for battery power?
Can I attach these directly to the mini pro power output?Thanks,
T.Hello, MQx sensors are not ok for battery powered sensor, they use too much power.
It's the case also with sound sensors, it can work for a reasonnable time (over 6 months) with 2xAA because they have a lot of energy, but it's not really suitable for battery power imho, microphones use around 200uA.
Relay can be ok if you use a bistable relay = using energy only when switching state. Classic relay will use too much energy to stay connected.PIR sensors (not all but a few) can run for a long time on battery, si7021 will just have an "endless" battery life on 2 AA, light sensors like OPT3001 or SI44009 can also have extremely long battery life.
For the power issue to make things simple I would suggest using 3.3V devices, and power with 5V:
- losses in voltage from long wires will still allow your devices to run from voltage regulators
- if you power from 12V and go for cheap arduino clones (pro minis or nanos) the voltage regulators will not be able to cope with the voltage (most of them don't like over 9V)
-
@Tommas said in Which microcontroller for Node:
Hi @LastSamurai
If i powered a 3.3V mini pro from 2 AA (2000mAh) battery, how long my sensor node can work? Approximately..? NRF24L01 low power, MQ2, si7021, lm393 light, PIR motion, one relay module, and a sound sensor? Or these are too much for battery power?
Can I attach these directly to the mini pro power output?Thanks,
T.Hello, MQx sensors are not ok for battery powered sensor, they use too much power.
It's the case also with sound sensors, it can work for a reasonnable time (over 6 months) with 2xAA because they have a lot of energy, but it's not really suitable for battery power imho, microphones use around 200uA.
Relay can be ok if you use a bistable relay = using energy only when switching state. Classic relay will use too much energy to stay connected.PIR sensors (not all but a few) can run for a long time on battery, si7021 will just have an "endless" battery life on 2 AA, light sensors like OPT3001 or SI44009 can also have extremely long battery life.
For the power issue to make things simple I would suggest using 3.3V devices, and power with 5V:
- losses in voltage from long wires will still allow your devices to run from voltage regulators
- if you power from 12V and go for cheap arduino clones (pro minis or nanos) the voltage regulators will not be able to cope with the voltage (most of them don't like over 9V)
-
Dear @Nca78
Thank you for the long answer.
Could you suggest power module (in 5V ---> out 3.3V and 5V? I think something like with integrated microusb plug) what i can to build in to my circuit?Best regards
T -
@Tommas if you use 3.3V pro mini you can just connect to the RAW and GND pins and the onboard regulator will do the job.
-
Another question.
Can i use the mini pro's 3.3V output for all of my 3.3V sensors? Cant i exceed the current limit of the mini pro with these sensors?