@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 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
@iotcrazy I understood the voltage divider part by googling. So this is the only option to find the battery percentage right ? We cannot determine by connecting directly to Raw when input if more than 3.3 v.
@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.
Thanks
@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 .
Is it possible to send the data from gateway to Azure Iot Hub ?
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
http://www.aliexpress.com/item-img/10pcs-lot-Pro-Mini-328-Mini-3-3V-8M-ATMEGA328-3-3V-8MHz-for-arduino/1967122432.html?spm=2114.10010108.100005.10.R6Hobi
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.
Thanks
@iotcrazy I understood the voltage divider part by googling. So this is the only option to find the battery percentage right ? We cannot determine by connecting directly to Raw when input if more than 3.3 v.
@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..
@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
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.
Thanks
@Pierre-P you controller image looks great . What controller is it ?
@mfalkvidd Great project. Had few questions...Is it OK to provide 6V to Arduio Mini ? Can you show /explain how you have provided power supply to Mini and Moisture Controller ? In the set up you have , how long does the battery last ?
Thanks