Once we connect the module we need to program the Arduino Board to work with the Real Time Clock. However, when it comes to programing a communication between Arduino and an I2C module the code isn’t that small and easy. Luckily, there are already several libraries for the DS3231 RTC wh...
monitor Seven-segment LED double dice USB message board Oscilloscope Tune player VU meter LCD thermostat Computer-controlled fan Hypnotizer Servo-controlled laser Lie detector Magnetic door lock Infrared remote Lilypad clock Evil Genius countdown timer Keyboard prank Automatic password typer Accelerometer ...
lcd.print("activated in");intcountdown =9;// 9 seconds count down before activating the alarmwhile(countdown !=0) { lcd.setCursor(13,1); lcd.print(countdown); countdown--;tone(buzzer,700,100);delay(1000); } lcd.clear(); lcd.setCursor(0,0); lcd.print("Alarm Activated!"); initi...
Let's prepare the LCD. Break a 16-pin male header off a 40-pin strip. Plug the header strip, long pins down, into a breadboard protoboard, to fix it in position vertically . Now carefully position the LCD over the exposed short pins of the header strip. You may need to prop up th...