Kelvin Gitau
Published © CC BY

Arduino Kitchen Timer

Avoid tea spilling over with this Arduino kitchen timer!

BeginnerShowcase (no instructions)2,305
Arduino Kitchen Timer

Things used in this project

Hardware components

HC-05 Bluetooth Module
HC-05 Bluetooth Module
×1
Arduino UNO
Arduino UNO
×1
Buzzer
Buzzer
×1
Alphanumeric LCD, 16 x 2
Alphanumeric LCD, 16 x 2
×1

Software apps and online services

MIT App Inventor 2
MIT App Inventor 2
The idea is simple you can make your own App using MIT App Inventor. Let me know your thoughts

Story

Read more

Schematics

Arduino Kitchen Timer

Code

Arduino Kitchen Timer

Arduino
#include <ArduinoBlue.h>

/*Jiko SmartV1 is a simple Kitchen Timer. 
 * Works with Arduino&bluetooth using an App installed in a phone.
 *First, connect App to Bluetooth. 
 *Arduino will activate Buzzer when timer is set.
 *Logs Tea = 5 - 6mins using Gas.
 *Meat - 25mins
 *Rice - 20mins
 *Ugali- 20mins
 *a - Tea
 *b - Meat
 *c - Rice
 *d - Ugali
 */
 #include <LiquidCrystal.h>
#include <Wire.h>
#include <hd44780.h>
#include <hd44780ioClass/hd44780_I2Cexp.h>
const int LCD_ROWS = 2;
const int LCD_COLS = 16;
 hd44780_I2Cexp lcd(0x20, I2Cexp_MCP23008,7,6,5,4,3,2,1,HIGH);

  
 int piezoPin= 2;
 int Tea = 300000; //5 mins //300000milliseconds
 int Meat = 1200000;//20 mins
 int Rice = 1080000; //18 mins
 int Ugali = 300000;//5mins  
 
 void setup(){
  Serial.begin(9600);
  pinMode(piezoPin, OUTPUT);
  lcd.begin(16, 2); 
  lcd.setCursor(3, 0);
  lcd.print("Jiko Smart");
}
 
void loop(){
  lcd.setCursor(1, 1);
 lcd.blink();  
lcd.print( "(Kitchen Timer)");
  if(Serial.available()>0)
  {
    char data = Serial.read();
    if (data == 'a')
    {
      delay(Tea);
      tone(piezoPin, 1000, 500);
  delay(1000);
      
    }
    else if(data == 'b')
    {
      delay(Meat);
      tone(piezoPin, 1000, 500);
delay(1000);
    }
    
    else (data == 'c');
    {
     tone(piezoPin, 1000, 500);
delay(1000);
    }
    
  if (data == 'd');
    {
      delay(Ugali);
      tone(piezoPin, 1000, 500); 
  //delay(1000);
  }}}
    

Credits

Kelvin Gitau

Kelvin Gitau

0 projects • 2 followers

Comments