Tyeth Gundry
Published

Sparkly Air Sensor

A Raspberry Pi Zero WH, a nova SDS011 particulate sensor and an Si7021 temp/humidity sensor using a JHD162A LCD and Blynk

BeginnerFull instructions provided3 hours1,086
Sparkly Air Sensor

Things used in this project

Hardware components

Raspberry Pi Zero Wireless
Raspberry Pi Zero Wireless
Any network attached Pi will work
×1
Nova Fitness SDS011 Particle Sensor
https://cdn.sparkfun.com/assets/parts/1/2/2/7/5/Laser_Dust_Sensor_Control_Protocol_V1.3.pdf My linked one includes USB - TTL Serial adaptor and connecting cable. I use the USB adaptor with a new micro-usb male soldered on.
×1
SparkFun Humidity and Temperature Sensor Breakout - Si7021
SparkFun Humidity and Temperature Sensor Breakout - Si7021
A clone or other Temperature/Humidity sensor is fine, just adjust the function that reads the temp/humidity, and import any required python libraries for your sensor.
×1
RGB Backlight LCD - 16x2
Adafruit RGB Backlight LCD - 16x2
×1
Through Hole Resistor, 560 ohm
Through Hole Resistor, 560 ohm
For attaching the contrast pin through. (This is therefore fixed contrast near maximum, if you wish you can replace with a potentiometer or transistor setup like the backlight)
×1
General Purpose Transistor PNP
General Purpose Transistor PNP
Used to provide software adjustable back-light brightness ("sinks" the LCD backlight cathode)
×1
Resistor 1k ohm
Resistor 1k ohm
Current limiting resistor between RPi Backlight GPIO pin and transistor
×1

Software apps and online services

Blynk
Blynk
Raspbian
Raspberry Pi Raspbian

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)
I got the TS80P and it's wonderful! (Get it in kit form with an EU charger as it's very picky or run the Ralim "T100" firmware on github https://github.com/Ralim/ts100/issues/630
Bostik Blu Tack
This is sticky reusable modelling adhesive putty. It allows me to reposition and support things as I need, and later decide to replace with permanent adhesive (like hot snot / glue)
Hot glue gun (generic)
Hot glue gun (generic)
I use hot glue to provide stability for the additional wires that I soldered onto the USB-TTL board. I may also seal each component in place with this.
Tape, Electrical Insulation
Tape, Electrical Insulation
Loose "wires" sink ships? No? Well cover anything metal that might short on a circuit board, and also stick the LCD into the roof of the box with this.
Premium Female/Female Jumper Wires, 40 x 6"
Premium Female/Female Jumper Wires, 40 x 6"
I actually use phone extension cable (cheap per meter and appreciate the sheath is easy to tear with fingernails but useful if left on), a dupont connector kit and some round nose pliers

Story

Read more

Schematics

Fritzing Layout + Autorouted schematic

Circuit Layout

Code

Github repository

Contains the python code and a service file (move john_air.service to /etc/systemd/system/ then start with sudo systemctl start john_air )

Credits

Tyeth Gundry

Tyeth Gundry

7 projects • 8 followers
Love solving problems

Comments