Arduino Sensors

Here you will find a brief introduction and simple usage guide/instructions along with simple Sketch for arduino based sensors & addons like displays, motors, modules, etc.

= TM1637 = Source: tronixstuff.com
 * Connecting TM1637 4x7 Segment Display to Arduino

= DS3231 =


 * Setting Time for first usage

Source: raspberrypi-spy.co.uk, woodsgood.ca
 * DS3231 RTC Clock Using Non-Rechargeable Batteries

Source: instructables.com
 * DS3231 RTC Clock with Display

Source: rinkydinkelectronics.com
 * Library

= HC-SR04 = Source: codebender.cc
 * HC-SR04 UltraSonic Distance Sensor with TM1637 Display

Source: arduino.cc
 * Library

= MQ-2 Gas Sensor =

If you're using the sensor for the first time, it's a good practice to leave it powered on for about 24-48 hours before getting a good read. Don't skip this step, then comes the calibration process. Just calibrate it to get about 100-150 from analogRead in a good air condition. Normal air returns ~100-150

= DS18B20 = Source: tweaking4all.com

= JHD162A LCD =

Source: rastating.com, circuitstoday.com

Pin 1 to GND Pin 2 to 5v Pin 3 to center pin of 10k ohm Pot(103), One leg to +VCC & other to GND Pin 4 to Arduino pin 12 Pin 5 to GND Pin 6 to Arduino pin 11 Pin 11 to Arduino pin 5 Pin 12 to Arduino pin 4 Pin 13 to Arduino pin 3 Pin 14 to Arduino pin 2 Pin 15 to 5v through a 220 ohm resistor Pin 16 to GND

= PIR Sensor =

Source: instructables.com

= Reed Switch = Source: electroschematics.com

= LDR = Source: diyhacking.com

= Bluetooth Module = Source: instructables.com