It does this by acting as an inductor and responding to the magnetic field around a current carrying conductor.
Nodemcu current sensor.
Connecting pir sensors to a nodemcu is really simple.
Acs712 current sensor i have got 5amp sensor 185 mv sensitivity.
By reading the amount of current being produced by the coil the current passing through the conductor can be calculated.
Thu jan 31 2019 3 10 pm 80355 hi is it possible to use current sensor acs 712 directly with esp8266 nodemcu board.
Adc asc712 battery monitor battery voltage current shunt development board esp 07 esp 12 esp8266 hall sensor lua mailbag nodemcu power voltage voltage divider web server wifi module.
With power usage according to power consumption meter.
Seeed non invasive ac current sensor 100a max.
It measures the current through a device or a circuit and generates an appropriate signal that is proportional to current measured.
Connect vcc of sensor to 3 3v on nodemcu.
385 watt 1 687 a voltage 228 sensor max 422 rises to 423 sometimes the amplitude of the current is in ma 4394 5 the effective value of the current is in ma 3107 9.
A current sensor is an important device in power calculation and management applications.
Gnd of sensor to gnd of nodemcu.
Most pir modules have a 3 pin connection at the side or bottom.
You can use this sensor with arduino and nodemcu esp8266 wifi module.
To power up this sensor you need 2 5v to 5 volts which is perfect.
Nodemcu is a tiny device it works on 3 3 volts.
Check out the images for more details.
The amplitude of the current is in ma 6201 2 the effective value of the current is in ma 4385 6.
Asking because acs712 gives around 5v of analog output and not sure if nodemcu can handle 5v in the analog input pin.
Powering the nodemcu near the switchboard might be an issue as well so i installed a din rail power socket this will come in handy for real power measurement later on.
Since it is working on 3 3 volts its pins can source and sunk 3 3 volts only.
This sensor is most commonly used as the air quality monitor.
Usually the output signal is an analog voltage.
The pir acts as a digital output so all you need to do is operate the pin to flip high detected or low not detected.
The non invasive ac current sensor is a current transformer can be clamped around the supply line of an electrical load to measure the current.
Voltage greater than 5 volt may blow the pin or fry the nodemcu.
In our case we want to measure 12 volt battery and nodemcu adc analog to digital channel can only accept 3 3 volts.
An appliance to connect on ac load of less than 5 amp.