Introduction: IMAGE FOR TRAFFIC LIGHT

About: designer of circuits and professional electronic projects www.pcbway.com

Today WE WILL CREATE A MOVING IMAGE LIKE THE TRAFFIC LIGHTS HAVE IN THE COLOR GREEN




Supplies

Step 1: SCHEMATIC DIAGRAM

HERE WE WILL SEE THE SCHEMATIC DIAGRAM OF ALL THE ELECTRONIC COMPONENTS AS WELL AS THE ASSOCIATION OF THE LED DIODES TO BE ABLE TO LIGHT A LARGE AMOUNT OF LEDS THE MEASUREMENT FOR THESE LED DIODES ARE 0805


Step 2: IMAGE MOVEMENT

HOW WE CAN OBSERVE THE LED DIODES FORM 3 SEQUENCES FIRST THE HEAD SECOND THE FIRST IMAGE AND THIRD THE SECOND IMAGE USING AN ASTABLE MULTIVIBRATOR WITH THE NE555 THAT IS INTEGRATED INTO THE SAME PCB SIMULATES THAT THE MAN IS WALKING IF WE VARY THE TIME THE SEQUENCE WILL BE MUCH MORE NOTICED BUT WE CAN ALSO PROGRAM IT WITH ARDUION OR ANOTHER MICROCONTROLLER.

THIS CIRCUIT WORKS WITH 12VDC BUT IT HAS A VOLTAGE REGULATOR FOR THE LOGIC PART OF THE 74HC14N THIS ALSO ALLOWS ME TO IMPROVE THE OUTPUT SIGNAL OF THE NE555 AND TAKE IT TO A TRANSISTOR AND ACTIVATE EACH IMAGE

Step 3: CONTROL OF IMAGES WITH ARDUINO

IN THE BOTTOM PART OF THE PCB WE WILL FIND CONNECTION PINS AND HERE ARE 2 WAYS TO USE IT THE FIRST TO USE THE OUTPUT OF THE NE555 ASTABLE AND SEE THE MOVING IMAGE BUT HERE IS A GREAT DETAIL THAT ONLY HANDLES A STABLE FREQUENCY AND NOT VARIABLE NOW TO USE IT IN A REAL FORM USING ARDUINO WE WILL HAVE TO CHANGE THE INPUTS OF A1 - A2 -A3 AND THUS WORK IN A TIME PROGRAMMING TO ESTABLISH THE FREQUENCY WE WANT FOR OUR IMAGE AND SO IT CAN WORK LIKE A REAL TRAFFIC LIGHT.

IN THE NEXT STEP WE WILL USE A VERY EASY CODE AND GIVE THE TIMES FOR OUR TESTS THEN WE WILL TAKE IT TO THE SIMULATION IN ARDUINO

IT SHOULD BE NOTED THAT THE GND OF ARCUINO MUST BE CONNECTED TO THE GND OF THE PCB SO THAT EVERYTHING CAN BE SYNCHRONIZED, BECAUSE IF WE DO NOT DO SO, IT WILL PRESENT ERRORS

Step 4: ARDUINO CODE

void setup() {
pinMode(9, OUTPUT);
pinMode(10, OUTPUT);
pinMode(11, OUTPUT);
}
void loop() {
digitalWrite(9, HIGH);
digitalWrite(10, HIGH);
digitalWrite(11, LOW);
delay(300);
digitalWrite(9, HIGH);
digitalWrite(10, LOW);
digitalWrite(11, HIGH);
delay(300);
}


Step 5: ELECTRONIC COMPONENTS

  • 1 PCB
  • 1 JACK DC
  • 2 1N5819 SMD
  • 1 DIODO M7
  • 3 CAP 100NF 1206
  • 2 CAP SMD 220UF 25V
  • 1 CAP SMD 47 UF 50V
  • 1 CI SMD NE555
  • 1 CI SMD 74HC14
  • 1 REGULADOR LM7805 SMD
  • 3 TRANSISTORS MJD112 NPN
  • 4 RESISTOR 1206 1K
  • 3 RESISTOR 1206 10K
  • 1 RESISTOR 1206 12K
  • 29 RESISTOR 1206 220 ohm
  • 116 DIODO LED 0805 GREEN
  • 1 ESPADIN TERMINAL
  • 3 JUMPERS


Step 6: TECHNICAL CHARACTERISTICS

-VIN 12VDC

- Imax 300mA

- internal 5VDC regulator

- programmable and astable mode

- PCB size 100mm x 100mm

- MOVING PICTURE

Step 7: EASYEDA

Once the project is finished with all the respective tests, we carry out the PCB design and we will obtain the routed tracks and the 3D image of how our finished PCB would look.

Step 8: PCBWay

PCBWAY has 10 years in the electronics industry manufacturing professional PCBs, assembling PCBs managing to satisfy the demands of all parts of the world, in addition to meeting the highest quality and delivery time standards. PCBWAY allows the manufacture of your PCBs from 5 units.

This project was carried out thanks to PCBWAY, a company dedicated to the manufacture of prototypes and professional PCBs, in addition to offering you a ready assembly service with all the components in your PCBS, complying with the established quality and delivery time standards.

We thank PCBWAY, a leading company for manufacturing and assembling professional PCBs with the highest quality, PCBWAY has fair reasonable prices, punctual shipping time and 24-hour customer service, it also offers you the option of quoting all its services in his web page. Do not think twice and start manufacturing your professional PCBs from 5 units safely.

10pcbs at $5 order them here www.pcbway.com

We thank PCBWAY for the professional pcb they provide us for this project.

GERBER PCB:

https://mega.nz/file/XYBikK6Q#WARFkuvVXTzX8T2JPvsMGjfxX1WowqMFPxW6UWTLOWc