Ryan T
UNITED KINGDOM • + Follow
Edit Project
Tools, APP Software Used etc.
|
arduino IDEArduino
|
|
|
KiCad 9.0 |
Description
UK Traffic Light Prototype
A prototype UK Traffic Light shield for Arduino UNO R3. The code can be modified to suit any countries traffic lights, not just the UK.
Code
UNO R3 UK Traffic Lights
Arduino
// --- Pin Definitions ---
const int RED_LED = 12;
const int AMBER_LED = 11;
const int GREEN_LED = 10;
//const int LED_BUILTIN = 13;
// --- Setup Function ---
void setup() {
Serial.begin(115200);
pinMode(RED_LED, OUTPUT);
pinMode(AMBER_LED, OUTPUT);
pinMode(GREEN_LED, OUTPUT);
//pinMode(LED_BUILTIN, OUTPUT);
}
// --- Main Loop ---
void loop() {
//digitalWrite(LED_BUILTIN, HIGH);
Serial.println("Red");
digitalWrite(RED_LED, HIGH);
digitalWrite(AMBER_LED, LOW);
digitalWrite(GREEN_LED, LOW);
delay(30000);
Serial.println("Red & Amber");
digitalWrite(RED_LED, HIGH);
digitalWrite(AMBER_LED, HIGH);
digitalWrite(GREEN_LED, LOW);
delay(3000);
Serial.println("Green");
digitalWrite(RED_LED, LOW);
digitalWrite(AMBER_LED, LOW);
digitalWrite(GREEN_LED, HIGH);
delay(12000);
Serial.println("Amber");
digitalWrite(RED_LED, LOW);
digitalWrite(AMBER_LED, HIGH);
digitalWrite(GREEN_LED, LOW);
delay(3000);
}
Jul 30,2025
115 views
UK Traffic Light Prototype
2 Layers PCB 53.3 x 68.6 mm FR-4, 1.6 mm, 1, HASL with lead, Green Solder Mask, White silkscreen
A prototype UK Traffic Light shield for Arduino UNO R3.
115
0
0
Published: Jul 30,2025
Standard PCB
BOM(Bill of materials)
Centroid file
Purchase
Donation Received ($)
PCBWay Donate 10% cost To Author
File Last Updated: 2025/07/31 (GMT+8)
File update record
2025-07-3109:16:09
Centroid file is updated.
2025-07-3109:16:09
Gerber file is updated.
2025-07-3103:48:02
Centroid file is updated.
2025-07-3103:48:02
Parts List (BOM) is updated.
2025-07-3103:48:02
Gerber file is updated.
Only PCB
PCB+Assembly
*PCBWay community is a sharing platform. We are not responsible for any design issues and parameter issues (board thickness, surface finish, etc.) you choose.
Copy this HTML into your page to embed a link to order this shared project
Copy
Under the
Attribution-ShareAlike (CC BY-SA)
License.
Topic
- Comments(0)
- Likes(0)
Upload photo
You can only upload 5 files in total. Each file cannot exceed 2MB. Supports JPG, JPEG, GIF, PNG, BMP
0 / 10000
It looks like you have not written anything. Please add a comment and try again.
You can upload up to 5 images!
Image size should not exceed 2MB!
File format not supported!
View More
View More
VOTING
0 votes
- 0 USER VOTES
0.00
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Design
1/4
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Usability
2/4
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Creativity
3/4
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Content
4/4
More by Ryan T
You may also like
-
-
AEL-2011 Power Supply Module
322 0 1 -
AEL-2011 50W Power Amplifier
296 0 1 -
-
-
Custom Mechanical Keyboard
565 0 0 -
Tester for Touch Screen Digitizer without using microcontroller
230 2 2 -
Audio reactive glow LED wristband/bracelet with NFC / RFID-Tags
236 0 1 -
-
-







