Remote Voltage Monitoring System Using ESP32 and ESP-NOW

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello today uh I have something interesting yes I know I always say that here is remote voltage monitoring system one esp32 device is measuring voltage of this battery using this voltage sensor module and since the value to the second device using ESP now I often get requests for projects like this people usually needs this for monitoring small solar systems or some batteries which are for example in the backyard right now I'm measuring sorry this battery but if I disconnect if I disconnect this battery value will be the same on both both devices I will uh connect this voltmeter to my power supply unit I'll turn it on what is interesting here that both of these boards run the same code my idea was to make this uh as easy as possible to use so same code for sender and for receiver how is that possible also you don't even need Arduino ID to upload this code on anything else yes uh as always I will share the source code for this but you can also find um I will share in this folder this bin file we can say firmware uh and you can install this fir using this JavaScript fir flasher which runs in browser so super easy to flash the code in both these boards so you will upload the same code and you will just need to use this user interface sorry to set uh receiver Mac address I will show you this in a second but first I will take this opportunity and I will invite you to join us to subscribe to this channel my channel is uh about development boards mostly sp32 and about these uh I think goodlooking user interfaces if you want support my work you can always buy me a coffee and what is new now I have patreon mhm so you can also became my patreon supporter thank you uh links are in description and and let's check our device okay I will try explain a bit so first how the device know is it sender or receiver if code is the same I will plug off the power and I will disconnect this voltage module it is it was connected to Port A not Port B a only port a will work and if I plug it back device will be receiver so if sensor is not plugged device is receiver you can see that this rotary dial is used for setting brightness and if I connect voltage sensor device will know that this is sender device without module will be receiver and here we can see Mac address of this device so WEP now when we are using ESP now we need to know Mac address of receiver so we need to memorize this value and we can use we can press this push button and set using rotary di uh I can choose bite I want to edit and using this touch screen I can set uh I can I can set that bite in HEX value and everything is stored in EO so after board is reset this uh value will be the same also brightness is sorry brightness is also stored in inom and this this function also this function is used if you don't want to send if you want to save power power because ESP now also need some millams you can turn off sending to another device and device will reconfigure will reset itself and reconfigure so if I connect it to my power supply where the same if and you can see this graph which also uh it is more important to say that the this can measure voltage up to 36 volt so keep that in mind why I decided to use these devices this is M5 uh M5 dial board made by M5 stack and I decided to use it because firstly it has it has touch screen so I can set Mac address it has this rotary dial but main reason is this this device can be powered using um USB port it can can be powered uh with standard battery under this M5 stamp is battery connector and but main reason is this connector so this device can be powered from any voltage between six and 36 volt so it can be powered directly from a solar panel and another reason is it is so easy to mount to some panel or board you need just something with 14 mm hole you will put inside and and voila it is mounted so for full system you will need two of these boards and this sensor as you probably know sp32 have very bad uh analog to digital converters and it is very hard to to precisely measure some voltages but this module yes it is quite expensive but is this is best I I tried when measuring voltages is um I have this for long long time and it is very accurate it have a external ADC inside and EO and it is Factory calibrated and I don't know I can compare it to for example some right now it says 11 volts my power Supply also said 11 volts and let's try to add this and which also said 11 let's try to 11.1 11.1 11.1 11 4 11.4 11.4 so very accurate I'm afraid this will be a long we you can find uh links about these devices in description so if you want to buy them I will also earn something because the these links are affiliate links I'll reduce brightness so you can uh use these two stand alone you can use all three of these modules if you need a remote monitoring or or you can even use only one um only one if you like this uh user interface and you have already M5 dial you can use any other esp32 board to send data uh to this device you will just need update in I will I will also post sketch for sending simple sketch for sending you will uh in that sketch you will just need to update Mac address and you will use that function I hope I explained this very well so this is it tell me what you think and tell me I'm not sure I explained this very well so feel free to ask but it is simple this device is measuring and and this device is receiving you can put this near to your batteries or solar and this one near in your house to monitor some voltage for whole system you will need two of these and one of these and if you don't want remote you can use just these two and you can turn off sending so you will save some power and if you want to just uh use this one as receiver I will post function which will send it this simple float to this board keep in mind you need to update that this Mac Andress uh thank you have a nice day and tell me what you think don't forget to Subs subscribe and don't forget to check my P patreon and my coffee page so you can become supporter or uh you can even became my friend I still need to check all the functions that patreon have thank you and goodbye
Info
Channel: Volos Projects
Views: 10,379
Rating: undefined out of 5
Keywords:
Id: hWHHfaTxZC0
Channel Id: undefined
Length: 13min 18sec (798 seconds)
Published: Sat Mar 30 2024
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.