logo elektroda
logo elektroda
X
logo elektroda

WeMos D1 ESP8266: Adding Battery Voltage Measurement to Deauther 2.1.0

Ch4ist0 933 1
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 18012535
    Ch4ist0
    Level 6  
    Hello, I am not good at programming and maybe someone has done something similar so let me ask here....

    I would like to slightly rework the ESP8266 Deauther 2.1.0 <---[url=]https://github.com/spacehuhn/esp8266_deauther/releases
    [/url] soft.
    In the menu WeMos D1 ESP8266: Adding Battery Voltage Measurement to Deauther 2.1.0indeks.jpg Download (5.77 kB) instead of the item "CLOCK" I would like to do some battery measurement e.g. just the voltage alone is enough....

    The circuit is powered by a 4.8V Lithium-ion battery connected under GDN - and 5V+ (accepts from 3.3V to 5V) I just miss in the software an indication of the battery level, I know there is a possibility for the arduino to show the supply voltage....

    Code link: <--- [url=]https://github.com/spacehuhn/esp8266_deauther/archive/v2.1.0.zip[/url] .
  • ADVERTISEMENT
  • #2 18013268
    kaczakat
    Level 34  
    You feed a voltage through the divider to the ADC pin, use the analogRead(A0) function, convert the read value to a voltage for yourself and display it. Without a clue about Arduino and ESP8266 programming, you will not do this yourself.
    Helpful post? Buy me a coffee.
ADVERTISEMENT