ANTHONY NISTOR // TRAFFIC LIGHT SYSTEM

Signalized Traffic Light System

A tabletop town with traffic lights that coordinate a main road, side streets, a pedestrian crossing, a servo barrier, and a lamp that responds to the ambient light.

// SYSTEM ARCHITECTURE

About the Project

A miniature interactive scale model showcasing automated urban infrastructure, including working LED traffic lights, parking lot boom gates, street lighting, and crosswalks. Designed to explore sensor integration, traffic management logic, and embedded control systems in a realistic smart city setting. This was built as a school project for the tech class.

  • Multi-phase Signals Separate red, yellow, and green channels for the main street, two side streets, and a pedestrian crossing.
  • Barrier Control A servo raises and lowers yellow barrier arms across the lane in front of the parking court.
  • Sensors Change the Sequence A pedestrian button requests a crossing, an infrared sensor watches the gate, and a light sensor decides when the street lamps turn on.
// CHALLENGES

Challenges

ISSUE SOLUTION
Building the traffic lights the LEDs were popping out from the print Used UV resin to lock them in the case.
Attaching the traffic lights and the other elements to the box made them very unstable. I set a plywood board inside the box and mounted all components on it.
Initial wiring was quite inefficient Rewired the whole schematic. The requirement for the project was to be built on a breadboard. These are notoriously unreliable.
The barrier was closing too fast A delay was included in the algorithm to open the barrier
The street light was blinking if the ambient light was at the edge of detection A similar hysteresis algorithm was applied to control it
// PROJECT DEMO

Project Presentation

The finished intersection running: signals, the pedestrian crossing, the barrier, and the street lamps.

PROJECT_PRESENTATION.MP4 LIVE DEMO

The Built Intersection

This recording shows the completed model in operation, with the Arduino driving the signals, the crossing, the gate, and the lamps.

// HARDWARE & SOFTWARE

System Component Breakdown

01

Traffic Lights

A set of traffic lights were designed and 3D printed. LED were incorporated to provide the red, yellow, green lights. The LEDs were locked in place with UV resin.

02

Barrier System

The barrier system has two components: presence detection, barrier opening/close mechanism. For the presence detection an IR LED and an IR photo diode were used and for the barrier a servo with wire linkages was created.

03

Street Lights

A simple LED was incorporated in case resembling a street light. Also a photo resistor was used to detect the level of ambient light.

04

Integration

The integration between all these was done using an Arduino Uno and a piece of code implementing a State Machine.

// PROJECT MEDIA

Build Pictures

The printed town, the CAD assembly, and the circuit that drives it.

CAD Design
CLICK TO ENLARGE

CAD Design

CAD of the intersection: signal poles, barrier, house, and the road on a green base.

Electronics Design
CLICK TO ENLARGE

Electronics Design

Anthony at the desk with a breadboard circuit and an ultrasonic sensor drawn up on the monitor.

Making Traffic Lights
CLICK TO ENLARGE

Making Traffic Lights

Soldering the leads on a small signal head at the electronics bench.

Traffic Lights
CLICK TO ENLARGE

Traffic Lights

Three orange signal heads and one black head, each with red, yellow, and green LEDs and a bundled cable.

Making the Base
CLICK TO ENLARGE

Making the Base

Nailing the printed road mat onto the wooden base at the workbench.

Barrier
CLICK TO ENLARGE

Barrier

Gray barrier housings with yellow arms, plus the servo that drives them.

Building Electronics
CLICK TO ENLARGE

Building Electronics

Wiring the Arduino harness on the bench while a red signal is already lit on the model.

Final Product
CLICK TO ENLARGE

Final Product

Finished intersection with the signals lit, the yellow barrier down, and the house and palms in place.

// SLIDESHOW

All Project Pictures

72 photographs and drawings from this build.

20250605_193610.jpg 1 / 72
20250605_193610.jpg
// TECHNICAL SPECIFICATIONS

System Parameters

PARAMETER SPECIFICATION / VALUE
Onboard MCU Arduino Uno
Traffic Lights 12 x LED
Servo MG90S
Sensor Photo Resistor
Sensor IR Photo Diode
LED Infrared Emitter
Algorithms State Machine
Additional Software Hysteresis
CAD Software FreeCAD
Manufacturing 3D Printing