Hello guys.
Anyone use acs712? I have one but i dont find any code for read the measures , and to send via mqtt.
Anyone use ?
Measure current with nodemcu and acs712
Moderators: grovkillen, Stuntteam, TD-er
-
- Normal user
- Posts: 300
- Joined: 07 Feb 2016, 11:56
Re: Measure current with nodemcu and acs712
I have never seen this before but from what I can find quickly it has an analog output range higher than the esp adc pin can handle without a resister divider or other module to convert it to digital.
Using an already supported module like pfc8591 or ads1115 should allow you to use it without modifying a plugin.
Be aware the modules I found quickly run on 5V, although the only datasheet I found said 2.5V vcc. Check to see output is not dependent on input voltage as this could cause inconsistant readings if input voltage is not consistant.
Using an already supported module like pfc8591 or ads1115 should allow you to use it without modifying a plugin.
Be aware the modules I found quickly run on 5V, although the only datasheet I found said 2.5V vcc. Check to see output is not dependent on input voltage as this could cause inconsistant readings if input voltage is not consistant.
Who is online
Users browsing this forum: Anthropic Claude Bot [bot] and 14 guests