New to this
killercal
Posts: 3
As the title says, I'm new to this so be nice!
End goal: I want to connect 4 sensors (push buttons) and 4 outputs (LED lights) to a microcontroller and be able to write a program to turn on a light and once a corresponding button is pressed it will go out and another light will turn on.
So my questions are,
What do I need for this?
Microprocessor: Propeller 1
Inputs: 4 PB's
Outputs: 4 LED's
Power supply: whatever is needed for the board and I/O
Anything else I'm missing?
Thanks,
Scott
End goal: I want to connect 4 sensors (push buttons) and 4 outputs (LED lights) to a microcontroller and be able to write a program to turn on a light and once a corresponding button is pressed it will go out and another light will turn on.
So my questions are,
What do I need for this?
Microprocessor: Propeller 1
Inputs: 4 PB's
Outputs: 4 LED's
Power supply: whatever is needed for the board and I/O
Anything else I'm missing?
Thanks,
Scott
Comments
If you decide to make the circuit permanent then a board like the Propeller Mini is a low-cost way to go.
Alternatively you can get some proto or plugin board and mount a Prop in a DIP40 pack then add your LEDs and switches but you will still need a PropPlug but it seems to me that the QuickStart is more value for money.
I also had a QuickStart board in mind when I answered your post in the General Discussion forum. Good inexpensive starting point for someone new to micro's.
What exactly is it that you are trying to do?
I also got the impression from that post that it was for a game, perhaps along the line of "whackamole". If so, using leds as both sensors and target lights would be a good way to go. Blink the led and take a reading when it is off to see if it has been hit. Should be a pretty rugged game that way.
I like the LED idea, but it's hard to beat the simplicity of a push button.
Welcome to the forums! If I may give one piece of advice for future posts it would be to post a descriptive subject line on what your post is about. In this case you got some nice replies, but often posts that don't specify a meaningful subject line go unnoticed. Please let us know if you get the information you needed.