Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
maccoylton authored Nov 14, 2019
1 parent 3497842 commit e9cc1a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ sulphur_dioxide (E 220) density
PM25 density


The anlaogue output of the MQ135 is connected to the anlog input of you ESP module. If you are using a nodeMCU or Weemos D1 these have a built in voltage divider on the analogue input which scales 3.3v to 1v, so you need to connect a 180k resistor inline betwen the sensor and the anlogue input pin to allow this to scale From 5v to 1v. If you are connecting directly to a bare ESP8266 chip, then you need to add a voltage divider between the sensor and the analog input to scale form 5v to 1v.
The anlaogue output of the MQ135 is connected to the anlog input of you ESP module. If you are using a nodeMCU or Weemos D1 these have a built in voltage divider on the analogue input which scales 3.3v to 1v, so you need to connect a 180k resistor ( think I actualy used 140k) inline betwen the sensor and the anlogue input pin to allow this to scale from 5v. If you are connecting directly to a bare ESP8266 chip, then you need to add a voltage divider between the sensor and the analog input to scale form 5v to 1v.


The DHT22 temperature sensor is connected to GPIO5
Expand Down

0 comments on commit e9cc1a9

Please sign in to comment.