connecting a 7-segement led to BS
You might try connecting the display to a 7447 driver, using only 3 basic
stamp lines to drive it. Check out
http://www.hcc.hawaii.edu/~richardi/113/c113_2f/2f_2/2f2.htm for more
general display info. You should be able to leave the DP unconnected if you
don't need a decimal point. Using the driver, you simply input a the binary
equivalent of the decimal number you wish to display.
Original Message
From: <ohnaf@y...>
To: <basicstamps@egroups.com>
Sent: Monday, December 18, 2000 3:28 PM
Subject: [noparse][[/noparse]basicstamps] connecting a 7-segement led to BS
> 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.
>
>
>
>
>
stamp lines to drive it. Check out
http://www.hcc.hawaii.edu/~richardi/113/c113_2f/2f_2/2f2.htm for more
general display info. You should be able to leave the DP unconnected if you
don't need a decimal point. Using the driver, you simply input a the binary
equivalent of the decimal number you wish to display.
Original Message
From: <ohnaf@y...>
To: <basicstamps@egroups.com>
Sent: Monday, December 18, 2000 3:28 PM
Subject: [noparse][[/noparse]basicstamps] connecting a 7-segement led to BS
> 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.
>
>
>
>
>
Comments
Thanks for your reply David, but I don't want to use a driver.
So is it possible to connect the led directly to the BS?
--- In basicstamps@egroups.com, "David Peterson" <robodave1@h...>
wrote:
> You might try connecting the display to a 7447 driver, using only 3
basic
> stamp lines to drive it. Check out
> http://www.hcc.hawaii.edu/~richardi/113/c113_2f/2f_2/2f2.htm for
more
> general display info. You should be able to leave the DP
unconnected if you
> don't need a decimal point. Using the driver, you simply input a
the binary
> equivalent of the decimal number you wish to display.
>
>
Original Message
> From: <ohnaf@y...>
> To: <basicstamps@egroups.com>
> Sent: Monday, December 18, 2000 3:28 PM
> Subject: [noparse][[/noparse]basicstamps] connecting a 7-segement led to BS
>
>
> > 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.
> >
> >
> >
> >
> >
>Hi all
>
>Thanks for your reply David, but I don't want to use a driver.
>So is it possible to connect the led directly to the BS?
>
>More than anything, that will depend on the current it draws, and
>the voltage it requires. Which display chip is it ?
>
>Bruce Bates
The led that I'm using is from Radioshack and these are some of its
specifications:
Type: ...... S321R
Maximum Volts (forward): ..... 2 V
Reverse Voltage : ...... 5 V
Maximum Amperage (forward): ..... 20 mA
Wavelength: ......660 nM
Brightness: ...... 125 micro candlepower
Material: ....... GaAsP
Power Dissipation: ...... 100 mW
--- In basicstamps@egroups.com, Bruce Bates <bvbates@u...> wrote:
> At 05:43 PM Tuesday 12/19/2000 +0000, you wrote:
> >Hi all
> >
> >Thanks for your reply David, but I don't want to use a driver.
> >So is it possible to connect the led directly to the BS?
> >
> >More than anything, that will depend on the current it draws, and
> >the voltage it requires. Which display chip is it ?
> >
> >Bruce Bates