Shop OBEX P1 Docs P2 Docs Learn Events
connecting a 7-segment led to BS — Parallax Forums

connecting a 7-segment led to BS

ArchiverArchiver Posts: 46,084
edited 2000-12-18 21:29 in General Discussion
Hi every one,

I want to display keypad presses on a 7-segment (one digit) led.
I don't want to use any additional chips and I want to connect the
led directly to the basic stamp

I already wrote the keypad-scanning program on the basic stamp 2 and
it's working properly.

I don't know what to do with the led though!
The pins on the led are as follows:

Pinout:
Pin 1: ................ Anode F
Pin 2: ................ Anode G
Pin 3: ................ N/C
Pin 4: ................ Common Cathode
Pin 5: ................ N/C
Pin 6: ................ Anode E
Pin 7: ................ Anode D
Pin 8: ................ Anode C
Pin 9: ................ RHDP (Right Hand Decimal Point)
Pin 10: ............... N/C
Pin 11: ............... N/C
Pin 12: ............... Common Cathode
Pin 13: ............... Anode B
Pin 14: ............... Anode A

NOTE: Pins 4 & 12 are internally connected

All anodes will be connected to the I/O pins of the BS through
resistors
Common cathode will be connected to ground

What about the RHDP pin? Should it be grounded or left floating?

And I'm not sure how to send data to the anodes using pbasic.
If anyone has a program or can help, I would appreciate it.
Sign In or Register to comment.