MOVING TRAFFIC LIGHT IMAGE
TODAY WE WILL CREATE A MOVING IMAGE LIKE THE TRAFFIC LIGHTS HAVE IN THE COLOR GREEN
Supplies
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
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
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
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);
}
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
TECHNICAL CHARACTERISTICS
-VIN 12VDC
- Imax 300mA
- internal 5VDC regulator
- programmable and astable mode
- PCB size 100mm x 100mm
- MOVING PICTURE
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.
JLCPCB
Once the pcb is designed, we will send our friends from JLCPCB to manufacture our PCB.
5pcbs only $2
JLCPCB number 1 PCB manufacturing company worldwide professional pcbs and excellent finish.
GERBER PCB:
https://mega.nz/file/XYBikK6Q#WARFkuvVXTzX8T2JPvsMGjfxX1WowqMFPxW6UWTLOWc
you can get your pcbs in different sizes and colors.