@mfalkvidd I was looking to your sketch and could not quite understand this piece of line
result = 1125300L / result; // Calculate Vcc (in mV); 1125300 = 1.110231000
How will this above line change if I use 4 AA battery ?.
Thanks in advance
@mfalkvidd sorry if questions seems like a dump . What do you mean by passive ? every sensors needs some voltage to perform a task right ?
I tried connecting a DHt11 Temp and humidity sensor using a arduino pro min(with led and voltage divider removed). It is connected to 2 AA battery. Unfortunate the node sends out value(proper value) only when I power on the Mini. It never sends the data again. However if I disconnect power supply and re attach it , it again sends the data. any idea what I am doing wrong ?
Also , whats the best way to create a Node which needs to monitor a sensor which uses 5 V . Arduino Mini is 3.3 V which.
@mfalkvidd since you are using 2 AA battery(3V max) with a sensor , how are you powering the sensors ? What sensors are you using ?.Most of the sensors need 5V right ? how are you providing the required voltage for sensor ?. If possible can you share a circuit diagram or close up picture for your sensor node with connection to NRF , Sensor and battery ?
Appreciate it .
I am looking into this link https://www.mysensors.org/build/battery to modify my mini so that I can save the poer consumption.
I bought A mini from Aliexpress which looks like this
This looks different from what is shown on mysensors page. Now per mysensor I need to
since my Mini looks different , I am having problems trying to cut the required components. Can anyone help how to modify the Mini I bought from aliexpress.
@mfalkvidd Yes I am connecting to RAW input. My 4 battery holder for some reason does not work with 2 or 3 batteries so connecting 6V to RAW.
"...you'll have to use a voltage divider to one of the pins..." Can you elaborate this part ? Can you share a link which wherein Arduino Pro Mini is powered through RAW input and battery percentage is calculated. I very new to hardware but loving the mysensors projects. Kindly bear with my stupid questions.
Appreciate your patience..
I have seen instructions on mysensors (https://www.mysensors.org/build/battery)to get the battery percentage , but having trouble creating it.
Does anyone have links or video for implementing the same ?. I am looking for a sample code along with instructions with circuits to test the remaining power in terms of percentage.