REQUIRED PARTS Arduino uno jumpers LCD 16x2 HC-05 Bluetooth module Relay Breadboard Bulb Holder The circuit /* The circuit: * LCD RS pin to digital pin 12 * LCD Enable pin to digital pin 11 * LCD D4 pin to digital pin 10 * LCD D5 pin to digital pin 9 * LCD D6 pin to digital pin 8 * LCD D7 pin to digital pin 7 * LCD R/W pin to ground * LCD VSS pin to ground * LCD VCC pin to 5V * 10K resistor: * ends to +5V and ground * wiper to LCD VO pin (pin 7) *green light digital pin 4 *blue light digital pin 3 *red light digital pin 2 *bulb/ light digital pin 5 *fan digital pin 6 */ program code #include<SoftwareSerial.h> #include<LiquidCrystal.h> SoftwareSerial bluetooth(0,1); LiquidCrystal lcd(12, 11, 10, 9, 8, 7); short int red = 2,blue = 3,green = 4,light = 5, fan = 6; String command; void setup(){ ...
" Temparature monitor " using arduino. This can be used to measure your room temparature in two units.... PARTS NEEDED Arduino uno LCD 2x16 Lm35 Jumber wires Optional power supply 9v Bread board Potentiometer 10k Circuit diagram Lcd connecting instructions * LCD RS pin to digital pin 12 * LCD Enable pin to digital pin 11 * LCD D4 pin to digital pin 5 * LCD D5 pin to digital pin 4 * LCD D6 pin to digital pin 3 * LCD D7 pin to digital pin * LCD R/W pin to ground * 10K resistor: * ends to +5V and ground * wiper to LCD VO pin (pin 3) LCD pinouts The program code //temparature sensor using lm35 and lcd 2*16 //www.appuneurons.blogspot.com #include<LiquidCrystal.h> LiquidCrystal lcd(12, 11, 5, 4, 3, 2); const int sensor=A1; // Assigning analog pin A1 to variable 'sensor' float tempc; //variable to store temperature in degree Celsius floa...
Comments