Wiring & measure VCC with NodeMCU v3
Moderators: grovkillen, Stuntteam, TD-er
Wiring & measure VCC with NodeMCU v3
Hi there, this is my first post so please be nice to me
- I own a NodeMCU v3 and flashed a _VCC build to it.
- I have a 18650 battery shield v3 with USB-A, 5V out and 3V out.
I want to use NodeMCU v3 with this "shield" and I really don't know how to wire this correctly (I guess 5V Shield to Vin NodeMCU would be correct?). So do I need additional wiring to measure VCC and get informed when battery is running low? Would be cool to hear from you.
EDIT2: Don't use 5V to VIN but 3V(Shield) to 3V(NodeMCU) for voltage measuring.
Edit: I connected 5V to VIN and get 2.99V on System Input VCC - is this correct?
- I own a NodeMCU v3 and flashed a _VCC build to it.
- I have a 18650 battery shield v3 with USB-A, 5V out and 3V out.
I want to use NodeMCU v3 with this "shield" and I really don't know how to wire this correctly (I guess 5V Shield to Vin NodeMCU would be correct?). So do I need additional wiring to measure VCC and get informed when battery is running low? Would be cool to hear from you.
EDIT2: Don't use 5V to VIN but 3V(Shield) to 3V(NodeMCU) for voltage measuring.
Edit: I connected 5V to VIN and get 2.99V on System Input VCC - is this correct?
Last edited by codegrau on 14 Jan 2019, 22:07, edited 1 time in total.
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Wiring & measure VCC with NodeMCU v3
Sounds about right. The VCC reported via the Analog is what the ESP is "seeing" and the ESP is working on 3.3V.
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: Wiring & measure VCC with NodeMCU v3
Thanks for your fast reply grovkillen, but I didn't connect anything on A0 - so I don't know how this measurement comes from.grovkillen wrote: ↑14 Jan 2019, 11:59 Sounds about right. The VCC reported via the Analog is what the ESP is "seeing" and the ESP is working on 3.3V.
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Wiring & measure VCC with NodeMCU v3
Its internally, I suspect you using the VCC bin file?
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: Wiring & measure VCC with NodeMCU v3
Yes, I'm using a recent _ESP8266_4096_VCC.bin - so this value should decline rapidly when battery starts to empty, right? So no information how much percentage or mAh left.
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Wiring & measure VCC with NodeMCU v3
No you need to test yourself what levels are good and then you can use formulas to show percentage.
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: Wiring & measure VCC with NodeMCU v3
Ok, thank you very much!
Last question: For deep sleep mode I set up sleep time in config and connect D0/GPIO16 to RST and NodeMCU comes up periodically to send values?
Last question: For deep sleep mode I set up sleep time in config and connect D0/GPIO16 to RST and NodeMCU comes up periodically to send values?
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Wiring & measure VCC with NodeMCU v3
Yes, but you might want to use rules to get the values sent more efficient.
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: Wiring & measure VCC with NodeMCU v3
EDIT2: Don't use 5V to VIN but 3V(Shield) to 3V(NodeMCU) for voltage measuring.
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 15 guests