Table of Contents

Play Video

SMART TIFFIN BOX WITH GPS TRACKING

A smart tiffin box with GPS tracking ensures your meals are secure, tracked, and delivered with real-time location updates.

In today’s world of technological advancements, everyday items are becoming smarter. One example is the smart tiffin box, which is designed for convenience, health, and sustainability. This project uses an Arduino UNO R3 to control various components: a solar panel, GPS module, servo motor, laser, and two I2C LCD displays.

The solar panel uses renewable energy to power the system, making it environmentally friendly. The GPS module provides real-time location tracking, showing the longitude and latitude on the first LCD. This helps monitor the tiffin box’s location, ensuring it gets to the right person.

Component Required:

Solar Panel
Arduino Uno
LCD I2C
7805
Laser
GPS Module
Servo Motor

Circuit Diagram is given below:

Working:

A servo motor automates the opening mechanism of the tiffin box, triggered by a push button, enhancing hygiene by reducing manual contact. The second LCD display serves dual purposes: it shows solar intensity, measured by an LDR sensor, and displays health instructions, such as reminders to wash hands. This promotes user hygiene, which is crucial, especially in the context of food consumption.

The code is given below:

#include <Wire.h>
#include <LiquidCrystal_I2C.h>
#include <TinyGPS++.h>
#include <Servo.h>
 
#define PHOTO_DIODE_PIN A0
#define PHOTOVOLTAIC_PIN A1
#define SERVO_PIN 2
 
#define EMF_THRESHOLD 500 // Adjust threshold value as needed
 SoftwareSerial gpsSerial(11, 10);
Servo myservo;
LiquidCrystal_I2C lcd1(0x27, 16, 2); // Address 0x27 for first I2C LCD
LiquidCrystal_I2C lcd2(0x26, 16, 2); // Address 0x26 for second I2C LCD
TinyGPSPlus gps;
 
void setup() {
  Serial.begin(9600);
  lcd1.init();
  lcd1.backlight();
  lcd2.init();
  lcd2.backlight();
 
  myservo.attach(SERVO_PIN);
}
 
void loop() {
  float emfValue = analogRead(PHOTO_DIODE_PIN);
  float lightIntensity = analogRead(PHOTOVOLTAIC_PIN);
 
  lcd1.clear();
  lcd1.setCursor(0, 0);
  lcd1.print("EMF: ");
  lcd1.print(emfValue);
  lcd1.setCursor(0, 1);
  lcd1.print("Scan your hand");
 
  lcd2.clear();
  lcd2.setCursor(0, 0);
  lcd2.print("Latitude: ");
  lcd2.print(gps.location.lat(), 6);
  lcd2.setCursor(0, 1);
  lcd2.print("Longitude: ");
  lcd2.print(gps.location.lng(), 6);
 
  if (lightIntensity < EMF_THRESHOLD) {
    myservo.write(0); // Rotate servo to closed position
  } else {
    myservo.write(90); // Rotate servo to open position
  }
 
  delay(1000); // Adjust delay as needed
}

Additionally, a laser module, controlled by a 7805 voltage regulator, can light up the inside of the tiffin box or show its status. Combining these parts makes the tiffin box smart, sustainable, and easy to use. This project shows how Arduino can be used to create smart devices and highlights the importance of using renewable energy and making health-conscious innovations for everyday life.

Application:

Smart Tracking and Monitoring:

  • Enables accurate location tracking for efficient delivery.
  • Facilitates fleet management and route optimization.

Renewable Energy Utilization:

  • Uses solar panel for eco-friendly, off-grid operation.
  • Reduces operational costs and environmental impact.
Scroll to Top