NodeMCU v3 + FC-22(MQ135) do not working #5605
Replies: 1 comment
-
Posted at 2016-10-04 by Ollie Maybe the pin reference. I believe D0 may be the A0 you need. See this thread http://forum.espruino.com/conversations/278217/ Posted at 2016-10-04 by Aleksandrs Pin is correct.
problem. Posted at 2016-10-04 by Aleksandrs Debug:
A0 + Empty
Resistor 4.7k over VCC and Analog
Posted at 2016-10-05 by Wilberforce I don't think the analogue Input on the esp8266 works properly if wifi is on, as interupts affect the reading of the adc value. If you turn wifi off, it might work... Posted at 2016-10-08 by Aleksandrs Do not work.,
Posted at 2016-10-08 by @allObjects A good practice is to take the issue apart and verify each of the items. In this case, go after the analog read first as you try to get going in your NodeMCU v3 - analogRead() conversation. Furthermore, from reading the data / spec sheet of ESP8266 (and NodeMCU), only voltage values from 0..1.0V are valid inputs for analog read on pin A0. Reading with an open input or with a voltage outside the specified range - as 3.3V over 4k7 Ohm - are meaningless... and values above 3.3V or below (usually) -0.3V - relative to GND - just destroy the MCU... and you do not even see a smoke anymore... Posted at 2016-10-09 by Aleksandrs A0 is empty
A0 + MQ135
Posted at 2016-10-09 by Aleksandrs I maybe found.. need get default value from analogRead() Default: 0.00879765395 Posted at 2016-10-16 by Aleksandrs I now found my problem .. MQ135 Analog Out is 0-5V, ESP8266 Analog Read only from 0-1V ... now please help to rising this questions.. need Resistor divider? Attachments: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2016-10-04 by Aleksandrs
Beta Was this translation helpful? Give feedback.
All reactions