Gnd of sensor to gnd of nodemcu.
Nodemcu current sensor.
Acs712 current sensor board published by esp8265 wp on june 2 2015.
Datapin of sensor to a0 analog pin.
Most pir modules have a 3 pin connection at the side or bottom.
Connect vcc of sensor to 3 3v on nodemcu.
Asking because acs712 gives around 5v of analog output and not sure if nodemcu can handle 5v in the analog input pin.
A current sensor is an important device in power calculation and management applications.
This sensor is most commonly used as the air quality monitor.
Nodemcu is a tiny device it works on 3 3 volts.
An appliance to connect on ac load of less than 5 amp.
It does this by acting as an inductor and responding to the magnetic field around a current carrying conductor.
To power up this sensor you need 2 5v to 5 volts which is perfect.
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.
Acs712 current sensor i have got 5amp sensor 185 mv sensitivity.
5 v 2 amp power supply to nodemcu cell phone charger works.
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.
Connecting pir sensors to a nodemcu is really simple.
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.
In our case we want to measure 12 volt battery and nodemcu adc analog to digital channel can only accept 3 3 volts.
By reading the amount of current being produced by the coil the current passing through the conductor can be calculated.
The amplitude of the current is in ma 6201 2 the effective value of the current is in ma 4385 6.
Since it is working on 3 3 volts its pins can source and sunk 3 3 volts only.
With power usage according to power consumption meter.
You can use this sensor with arduino and nodemcu esp8266 wifi module.
Usually the output signal is an analog voltage.
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.
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.
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.