Super Eyes project integrates multiple smart systems to enhance safety, sustainability, and convenience, addressing the challenges posed by overpopulation. It combines a Saviour Bike, a Compact House with rainwater harvesting, a Benefit Home, and a Smart Light System. This comprehensive solution aims to promote efficient living and resource management in modern environments, Super Eyes project for school students.
Components Required
- Arduino Uno
- NodeMCU (ESP8266)
- Servo Motor (360-degree continuous rotation)
- 2 LEDs
- 2 Resistors (220 ohms)
- Jumper wires
- Breadboard
Circuit Connection
Arduino Uno:
- Servo Motor:
- Signal pin to Arduino digital pin 9.
- Power (VCC) and ground (GND) to Arduino’s 5V and GND pins.
NodeMCU:
- LEDs:
- LED1: Anode to NodeMCU pin D1, cathode to ground via 220-ohm resistor.
- LED2: Anode to NodeMCU pin D2, cathode to ground via 220-ohm resistor.
Circuit Diagram is given below:
The code is given below:
Code for Arduino Uno:
#include <Servo.h>
Servo myServo; // create servo object to control a servo
void setup() {
myServo.attach(9); // attaches the servo on pin 9 to the servo object
}
void loop() {
myServo.write(0); // rotate servo to 0 degrees
delay(1000); // wait for a second
myServo.write(90); // rotate servo to 90 degrees
delay(1000); // wait for a second
myServo.write(180); // rotate servo to 180 degrees
delay(1000); // wait for a second
}
Code for Node MCU:
#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
// Replace with your network credentials
char ssid[] = "Your_SSID";
char pass[] = "Your_PASSWORD";
// Replace with your Blynk authentication token
char auth[] = "Your_Blynk_Auth_Token";
void setup() {
// Debug console
Serial.begin(9600);
Blynk.begin(auth, ssid, pass);
// Set the LED pins as output
pinMode(D1, OUTPUT);
pinMode(D2, OUTPUT);
}
BLYNK_WRITE(V1) {
int pinValue = param.asInt(); // Get the value from the app
digitalWrite(D1, pinValue); // Set the LED1
}
BLYNK_WRITE(V2) {
int pinValue = param.asInt(); // Get the value from the app
digitalWrite(D2, pinValue); // Set the LED2
}
void loop() {
Blynk.run(); // Run Blynk
}
Features
- Safety: Continuous 360-degree monitoring on the Saviour Bike enhances rider safety.
- Sustainability: Compact House with rainwater harvesting promotes water conservation.
- Convenience: Smart home integration improves quality of life with efficient energy use.
- Energy Efficiency: Adaptive Smart Light System guides ambulances at night while conserving power, and NodeMCU with Blynk enables remote LED control.
- Overpopulation Solutions: The integrated systems address housing problems by promoting resource efficiency and sustainability, making urban living more manageable.