Author Topic: ACS712 and ESP8266  (Read 4313 times)

0 Members and 1 Guest are viewing this topic.

Offline JacquesBBBTopic starter

  • Frequent Contributor
  • **
  • Posts: 829
  • Country: fr
ACS712 and ESP8266
« on: September 08, 2016, 09:15:32 am »
Hi All,

I  want to use an ACS712 current sensor to verify that a device ( heater) is turned on with a nodemcu (ESP8266).
It will be 1.5 kw so 6.5 A on 230 V. I will use 20 A ACS712 that is 100mV/A.

The output of the ACS712 will thus be 2.5 V + 0.65V sinewave.

This would be easy on an arduino, but the ADC pin of the ESP8266, from what I understand is only 1V range.
I thus want to  transform the output signal in a plain HIGH state for the ESP8266, and not
use the ADC.  I just want to know if it is ON or OFF.

After  searching a little bit, I came with the following design. The final output is PR5.
I made the simulation under multisim.  A is in ON (2.5 V + 0.65V sine input) , B is OFF (2.5 V input).

Please comment and criticise.


« Last Edit: September 09, 2016, 12:26:06 pm by JacquesBBB »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf