Measuring Battery volts ESPEasy Mega
Moderators: grovkillen, Stuntteam, TD-er
Measuring Battery volts ESPEasy Mega
G'day,
Have seen a few google answers, where DEVICE is set to Analogue Input.
But I do not see that choice. I do see P025, P059, P007, and P002.
Does a PXXX for a simple analogue on A0, have to be imported/configured in some way.
Have seen a few google answers, where DEVICE is set to Analogue Input.
But I do not see that choice. I do see P025, P059, P007, and P002.
Does a PXXX for a simple analogue on A0, have to be imported/configured in some way.
Re: Measuring Battery volts ESPEasy Mega
Build 120 is too old.
See image attached below, my setup on Mega for voltage up to 19V.
Compile your own from source or try the latest nightly built from GitHub
Regards,
Edit: I add a resistor(don't remember the value) and a fuse between the car battery and A0 and do the reverse math.
See image attached below, my setup on Mega for voltage up to 19V.
Compile your own from source or try the latest nightly built from GitHub
Regards,
Edit: I add a resistor(don't remember the value) and a fuse between the car battery and A0 and do the reverse math.
- Attachments
-
- adc_a0.png (17.51 KiB) Viewed 11656 times
Re: Measuring Battery volts ESPEasy Mega
Tks for our reply.
I downloaded the latest firmware (GIT version: mega-20180522) and Device "Analog Input" not in the drop-down list.
Displayed choices are:
P025 Analog Input ADS1115
P060 Analog Input MCP3221[Testing]
P007 Analog Input PCF8591
P002 Analog Input Internal
I downloaded the latest firmware (GIT version: mega-20180522) and Device "Analog Input" not in the drop-down list.
Displayed choices are:
P025 Analog Input ADS1115
P060 Analog Input MCP3221[Testing]
P007 Analog Input PCF8591
P002 Analog Input Internal
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Measuring Battery volts ESPEasy Mega
If you use the VCC version you cannot use analog plugin I think?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: Measuring Battery volts ESPEasy Mega
Have tried:
ESP_Easy_mega-20180522_dev_ESP8266_4096.bin
ESP_Easy_mega-20180522_normal_ESP8266_4096.bin
ESP_Easy_mega-20180522_test_ESP8266_4096.bin
and
ESP_Easy_mega-20180522_test_ESP8266_4096_VCC.bin
And got the same failed result.
ESP_Easy_mega-20180522_dev_ESP8266_4096.bin
ESP_Easy_mega-20180522_normal_ESP8266_4096.bin
ESP_Easy_mega-20180522_test_ESP8266_4096.bin
and
ESP_Easy_mega-20180522_test_ESP8266_4096_VCC.bin
And got the same failed result.
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Measuring Battery volts ESPEasy Mega
No analog at all?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: Measuring Battery volts ESPEasy Mega
Just the following.
P025 Analog Input ADS1115
P060 Analog Input MCP3221[Testing]
P007 Analog Input PCF8591
P002 Analog Input Internal
I think one set did not have the Pxxx number, plus a there was [test] after the name when I viewed the drop-down selection menu.
P025 Analog Input ADS1115
P060 Analog Input MCP3221[Testing]
P007 Analog Input PCF8591
P002 Analog Input Internal
I think one set did not have the Pxxx number, plus a there was [test] after the name when I viewed the drop-down selection menu.
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Measuring Battery volts ESPEasy Mega
Analog Input internal is the one that's using the ESP chips internal analog port.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: Measuring Battery volts ESPEasy Mega
I thought analog internal is 8266 3v3 supply and not the A0 pin.
Re: Measuring Battery volts ESPEasy Mega
Analog Input use A0, but can read up to internal Vcc.
If you want to go higher Vc you will need a resistor between A0 and Vc. If high current is involved please add a very small fuse inline(<=100mA).
Regards,
ESP_Easy_mega-20180522_normal_ESP8266_4096
If you want to go higher Vc you will need a resistor between A0 and Vc. If high current is involved please add a very small fuse inline(<=100mA).
Regards,
ESP_Easy_mega-20180522_normal_ESP8266_4096
- Attachments
-
- adc_a0b.png (30.74 KiB) Viewed 11621 times
Re: Measuring Battery volts ESPEasy Mega
Thanks for your help, I got confused with A0 and VCC.
Also, I like your flash programme, so its been a good day all around.
Regards
Grant
Also, I like your flash programme, so its been a good day all around.
Regards
Grant
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Measuring Battery volts ESPEasy Mega
Great
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: Measuring Battery volts ESPEasy Mega
pls delete
Who is online
Users browsing this forum: No registered users and 2 guests