DustSensor

From Let's Control It
Jump to: navigation, search

Introduction

The ESP module can read the Sharp GP2Y10 Dust sensor.

The input signal needs to be connected to the ADC (also referred as Tout) pin on the ESP module. You should also connect a GPIO pin to the sensor to control the build in LED.

Hardware

Connect the dust sensor to a GPIO pin and the ADC pin.


GP2Y10.png


Software

Custom Sketch

ESP Easy

Use the device tab on the ESP Easy webinterface and create a new task by editing one of the available tasks. Select "Dust Sensor Sharp GP2Y10" from the dropdown box.

EasyConfigDust.png

Enter the GPIO pin and enter the IDX found in the Domoticz device page. That should be all.

Optional settings

Use of formulas

Use of value names