Additional Idea's for "Mini Projects"
WLKoepp
Posts: 2
This is a Place to put some extra educational projects of your own design to share with the public. Try to keeps things on a level that is educational to everyone. In your posted codes I please request that you use comments to explain to readers what is happening in the program.
Thank you and I hope everyone enjoys learning from these extra projects!
Thank you and I hope everyone enjoys learning from these extra projects!
Comments
(1) bicolor LED
(1) 470 Ohm resistor
(0-2) jumper wires
and a BOE/HWB or other BASIC Stamp development board
Circuit:
Refer to page 54(Ch.2-Lights On Lights Off) of "What's a Microcontroller?" for the circuit.
How it Works:
It works by eye illusion. The bicolor LED is always ether red or green. the LED switches color so fast though, every 5 milliseconds, that our eyes blend the red and green together to form a orange color.
Enjoy your new found third color!
Alternating color's with LED's
1 Red LED
1 Green LED
1 Potentiometer
Circuit:
Connect Vdd to wiper terminal of potentiometer with a 220 Ohm resistor
Connect the top of the potentiometer to the Anode of the Green LED
Connect the bottom of the potentiometer to the Anode of the Red LED
Connect both of the LED's cathode to Vss
NO CODE IS NEEDED
Result:
When you turn the potentiometer clockwise, the Red LED should grow dimmer and the Green LED should grow brighter
When you turn the potentiometer counter-clockwise, the Red LED should grow brighter and the Green LED should grow dimmer
Enjoy!
If you think the LCD screen makes it better, wait till you get your hands on a Propeller BOE for video output. Excuse me, I'm a sales person at heart!
Honestly, welcome to the forums. Make yourself at home!
Ken Gracey