Learn · Build · Explore
Smart City Projects
Street lighting, urban sensing, and infrastructure-style automation prototypes using ESP32.
3 ProjectsClear difficulty labelsSmart City
What this category covers
Street lighting, parking, safety, and infrastructure-style sensor nodes scaled down for learning. A practical first build is ESP32 Fire Alarm System.
Start here: Begin with one local decision such as light level or distance, then add connectivity after the behaviour is proven.
Skills you practice
- threshold automation
- urban sensing
- status outputs
- field-style troubleshooting
Related guides
Useful components
Related categories
Before you adapt it
- Treat these as scale-model or bench prototypes, not public infrastructure equipment.
- Outdoor placement requires weatherproof enclosures, cable strain relief, and power planning.
- Verify thresholds in realistic lighting, distance, and motion conditions before relying on automation.
Learning progression
- Sense one conditionStart with one threshold such as light, distance, or motion before calling it automation.
- Control a visible outputUse PWM or relay-safe output lessons before scaling the idea to infrastructure models.
- Build street lightingUse a street-light prototype to connect sensing, output, and threshold logic.
- Add parking or safety nodesMove to distance or alert nodes after the single-threshold project is stable.
Choose the right project
- Street-light modelChoose this for light-based decisions and visible output control.
- Parking sensorChoose this for ultrasonic distance and clear occupied/free states.
- Fire alarm demoChoose this as an educational alert project, not a certified life-safety system.
- Energy contextUse energy-monitoring pages when the goal is measuring infrastructure loads.
Technical reality and troubleshooting
Limits to understand
- Smart-city pages are scale-model learning projects, not public infrastructure equipment.
- Outdoor deployment changes power, enclosures, cable strain relief, weatherproofing, and sensor calibration.
- Safety or emergency examples must be labelled as educational and should not replace certified systems.
Common failure checks
- Street light turns on in daylight: test the raw light reading in the final enclosure and add hysteresis.
- Parking distance flickers: check echo wiring, target angle, timeout handling, and averaging.
- Alert project sounds at the wrong time: separate sensor warm-up, threshold choice, and output wiring in the test sequence.
Privacy boundary
Smart City
Smart CityIntermediate10 min read
ESP32 Fire Alarm System
Build an educational ESP32 fire alarm demo with MQ-2 AOUT through a 10 kOhm / 20 kOhm divider to GP…
Read More→
Smart City
Smart CityBeginner8 min read
ESP32 Smart Parking Sensor
Build an ESP32 smart parking sensor with HC-SR04 TRIG GPIO5, protected ECHO GPIO18, 5 V sensor powe…
Read More→
Smart City
Smart CityBeginner5 min read
ESP32 Smart Street Light
Build an ESP32 smart street light with LDR analog input on GPIO33, relay or low-voltage lamp contro…
Read More→
