Day 2 Task – Wokwi Simulation with Arduino & Sensors
Objective & Hardware on Wokwi
To familiarize students with Wokwi platform, ESP32 microcontroller, basic sensor
connections, and reading outputs on the serial monitor.
Objective & Hardware on Wokwi
Step 1 - Setup the Wokwi Project
Open https://wokwi.com
Select “New Project → Arduino UNO”.
Add the following components from the
Wokwi Parts Library:
●DHT22
●HC-SR04
●LDR (photoresistor)
●MQ-2
●PIR Sensor
●16* 2 LCD Display with I2C Module
Objective & Hardware on Wokwi
Step 2 - Wiring Guide
Objective & Hardware on Wokwi
Step 3 - Example ESP32 Code Snippet
Serial Monitor Output Example
Step 4 - Serial Monitor Output Example
?????? Day 1 Deliverables:
✅ Create Wokwi simulation link and share it.
✅ Upload ESP32 code and verify live sensor readings.
✅ Take screenshot of the serial monitor output.
✅ Each student/team will:
●Show the instructor the live readings.
●Explain what each sensor measures.