Traffic Light Project on Freescale KL25Z using Keil uVision 5
1 replies, posted
Hi all,
I'm currently pursuing a hobbyist project using the materials listed in order to build a traffic light.
I'm not sure which directions to take. Do I need a breadboard for this? I have a red, green, and yellow LED light and 3 220 Ohm resistors. I've set the GPIO pins but no luck.
Can anyone help?
There is a thread for this kind of stuff here: [url]https://facepunch.com/showthread.php?t=1452809[/url]
Yes you should get a breadboard, I don't know the specifics of the Freescale KL25Z but usually the port has to be specifically switched to output in order for it to source current.
The GPIO can only source limited current, it's best to drive the LEDs through a transistor like so:
[img]http://i.imgur.com/9zPokE4.png[/img]
Sorry, you need to Log In to post a reply to this thread.