Project Report
Project Report
TINDIVANAM
(A Constituent College of Anna University, Chennai)
Prepared by:
VELAN D – 422422106002
GUNASEELAN M – 422422106024
DHANUSH V – 422422106030
DHIVYA D – 422422106031
HARIHARAN T – 422422106034
Guided By:
Karthi S
Unity developer
Ingage Technologies Pvt. Ltd.
LIST OF CONTENT
1. Training Objective
2. Introduction
3. Project Description
4. Requirement Needed
5. Wokwi
6. ThingSpeak
7. Unity
8. AR Foundation
9. Power BI
10. Output
11. Conclusion
TRAINING OBJECTIVES: .
Solution Approach:
PROJECT DESCRIPTION: .
A smart street light project on Wokwi is a simulation of a
street light that can automatically adjust its light intensity
based on various factors, such as the time of day, weather, and
human presence
REQUIREMENT NEEDED: .
So ware Needed:
Wokwi
ThingSpeak
Unity 3D
Power BI
WOKWI: .
Wokwi is an online pla orm for
simula ngelectronics,robo cs,and IOT
projects.
It allows users to design,test,and collaborate on
projectsvirtually .
No physical components or hardware needed.
Supports various programming languages like
C++,Python,and Arduino.
Ideal for students,professionals,and
hobbyists inelectronics and robo cs.
#include <WiFi.h>
#include
<ThingSpeak.h>
WiFiClient client;
long myChannelNumber = 2716650;
const char * myWriteAPIKey =
"AT41RU26NKF4LRDW";int statusCode;
char ssid[] = "Wokwi-
GUEST";char pass[] = "";
}
int finding_distance(){
digitalWrite(trigger,
HIGH);delay(100);
digitalWrite(trigger,
LOW); float
a=pulseIn(echo,HIGH);
return(a*0.034/2);
}
void loop() {
if(WiFi.status() != WL_CONNECTED)
{
Serial.print("Attempting to
connect");while(WiFi.status() !=
WL_CONNECTED)
{
WiFi.begin(ssid,
pass);
Serial.print(".");
delay(5000);
}
Serial.println("\nConnected.");
}
int
distance=finding_distance();
delay(1000);
int ldrValue =
analogRead(LDR_PIN); int pirValue
= digitalRead(PIR_PIN);
if(statusCode == 200) {
Serial.println("Channel update
successful.");
}
else {
Serial.println("Problem Writing data. HTTP
errorcode :" +String(statusCode));
}
delay(1000);
}
Step 4:
Add Libraries of Wi-Fi & Thingspeak.
Also Write Codes of Wi-Fi 7 Thingspeak
AR Foundation: .
AR conversion steps up to APK generation in Unity:
Step 1: Set up Unity for AR
1. Install Unity's AR Foundation package (Window > Package
Manager > AR Foundation).
Step 2: Configure AR Session
POWER BI: .
• Power BI is a business analy cs service by Microso .
• It enables users to visualize and analyze data from various
sources.
• Create interac ve dashboards, reports, and data models.
• Enhance decision-making with real- me insights and trends.
• Transform data into ac onable business intelligence.
Steps to Extract data from Thingspeak for PowerBI:
Step 1: Get ThingSpeak Data
1. Log in to ThingSpeak.
2. Go to your channel.
3. Click "Data" tab.
4. Select "Feeds" or "All Feeds".
POWER BI OUTPUT:
CONCLUSION: .
This project demonstrates an intelligent system
using an ESP32 microcontroller to monitor environmental
factors andautomate control over a relay-based device, such
as a light.
The integration of an LDR for ambient light detection, a PIR
sensor for motion sensing, and an ultrasonic sensor for
proximity measurement ensures multi-faceted detection
capabilities. The system's connectivity to ThingSpeak
provides real-time data monitoring and logging, making it a
useful IoT-based application for smart home or automation
projects.