Sharp Dust Sensor – Arduino Nano and 2×16 LCD

Parts List:

  • Sharp Dust Sensor GP2Y1010AU0F
  • Arduino Nano (or pretty much any other 5v Arduino)
  • 2×16 LCD
  • Connector for sharp sensor (JST S6B-ZR-SM4A-TF)
  • Stripboard (25 x 9, lengthways copper strips)
  • 150 ohm resistor
  • 220uF capacitor
  • 10k trimmer pot
  • ribbon cable
  • wire
  • (Optional) Small 5v cooling fan
  • (Optional) 3 pin male header, for fan connection
  • (Optional) 9 pin female header, makes testing easier

Diagram:

dust-sensor-stripboard-v01_bb

Wiring Details

Stripboard Connections:

Row 1 (+5v)

  • LCD Pin 2 (VDD)
  • LCD Pin 15 (A)
  • Sensor Pin 6
  • Arduino +5v
  • Wire jumper to row 8
  • Resistor lead 1
  • Trimmer Pin 1

Row 2 (LCD Contrast)

  • LCD Pin 3 (VO)
  • Trimmer Pin 2

Row 3 (GND)

  • Trimmer Pin 3
  • Wire jumper to row 9

Row 4 (Sensor Output)

  • Sensor Pin 5
  • Arduino A0

Row 5 (Sensor LED Supply)

  • Sensor Pin 1
  • Resistor lead 2
  • Capacitor +ve

Row 6 (Sensor LED control)

  • Sensor Pin 3
  • Arduino D2

Row 7 (Not Connected)

  • Male header Pin 1 (NC)

Row 8 (+5v, for Fan)

  • Wire jumper to row 1
  • Male header Pin 2 (+5v)

Row 9 (GND)

  • LCD Pin 1 (VSS)
  • LCD Pin 5 (R_W)
  • LCD Pin 16 (K)
  • Sensor Pin 2
  • Sensor Pin 4
  • Arduino GND
  • Male header Pin 3 (GND)
  • Capacitor -ve
  • Wire jumper to row 3

Arduino to LCD Connections:

  • Arduino D7 to LCD Pin 4 (RS)
  • Arduino D8 to LCD Pin 6 (E)
  • Arduino D9 to LCD Pin 11 (D4)
  • Arduino D10 to LCD Pin 12 (D5)
  • Arduino D11 to LCD Pin 13 (D6)
  • Arduino D12 to LCD pin 14 (D7)

 

Leave a Reply