Items Needed: Code: #include "LCD.h"#include <LiquidCrystal_I2C.h>#define I2C_ADDR 0x27 // <<----- Add your address here. Find it from I2C Scanner#define BACKLIGHT_PIN 3#define En_pin 2#define Rw_pin 1#define Rs_pin 0#define D4_pin 4#define D5_pin 5#define D6_pin 6#define D7_pin 7LiquidCrystal_I2C lcd(I2C_ADDR,En_pin,Rw_pin,Rs_pin,D4_pin,D5_pin,D6_pin,D7_pin);void setup() { // initialize serial communication at 9600 bits per second: Serial.begin(9600); lcd.begin(20,4); lcd.setBacklightPin(BACKLIGHT_PIN,POSITIVE); […]
sensor
DHT temperature and humidity sensors, are very basic and slow, but are great for hobbyists who want to do some basic data logging. Each DHT is made of two parts: Capacitive Humidity Sensor and Thermistor. There is also a very basic chip inside that does some analog to digital conversion […]
In this tutorial, we will show you how to build a low cost thermometer, using Arduino & DS18B20 waterproof version (Digital Temperature Sensor) Step 1: Items you need to have Arduino UNO (or other Arduino Models) DS18B20 Waterproof Resistor 4.7KOhm (Preferably 1/2Watt). You can check the Watt availability for 4.7KOhm […]
Step 1: Items you need to buy 1x Arduino UNO 1x Color Sensor 1x Breadboard 1x RGB Led 3x Resistors – 220E Step 2: Connections Connect the following pins together properly: Color Sensor: S0 <-> PIN 3 S1 <-> PIN 4 S2 <-> PIN 5 S3 <-> PIN 6 Out […]
This Sensor KY-037 is easy to use, cheap and can be used in different applications. It has two outputs: AO, analog output, real-time output voltage signal of the microphone. DO, when the sound intensity reaches a certain threshold, the output high and low signal. The threshold-sensitivity can be adjusted […]