Demux and power input question
Archiver
Posts: 46,084
How many mA can a pin take for input? I will have a switch between
5v from my power supply and Pin 8. I'm not sure what the mA
requreiment is for the switch, but I believe it is higher than the
BS2ic can handle, but lower than my computer's power supply can
handle. This is my switch (I will be using pin 5 hooked up to my
computer's power supply and pin 4 hooked up to Pin 8 on my BS2-ic)
http://www.jameco.com/Jameco/Products/ProdDS/144240.pdf
Secondly, I need to turn 4 of the outpin pins into 16 lines. I was
thinking about something like:
http://rocky.digikey.com/WebLib/Texas%20Instruments/Web%
20data/CD4514B,4515B.pdf
( the 4514 version ) will that work to have all outputs low, except
one? And will this work fine with my BS-2ic
thanks!-Lee
5v from my power supply and Pin 8. I'm not sure what the mA
requreiment is for the switch, but I believe it is higher than the
BS2ic can handle, but lower than my computer's power supply can
handle. This is my switch (I will be using pin 5 hooked up to my
computer's power supply and pin 4 hooked up to Pin 8 on my BS2-ic)
http://www.jameco.com/Jameco/Products/ProdDS/144240.pdf
Secondly, I need to turn 4 of the outpin pins into 16 lines. I was
thinking about something like:
http://rocky.digikey.com/WebLib/Texas%20Instruments/Web%
20data/CD4514B,4515B.pdf
( the 4514 version ) will that work to have all outputs low, except
one? And will this work fine with my BS-2ic
thanks!-Lee
Comments
protect the BASIC Stamp from programming accidents.
You might consider daisy-chaining a couple 74HC595 shift registers --
you can turn three BASIC Stamp pins into 16 outputs.
-- Jon Williams
-- Applications Engineer, Parallax
-- Dallas Office
Original Message
From: tr3nd42 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=lxhOcDmfQh7w66F8zjBfhmzxr2HTjCxPtwKnwOEa5v-IyLetTQ6CGEOw-UMTPdi-P6bF0s8uOVO88qys]fredit@c...[/url
Sent: Monday, May 24, 2004 2:06 AM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] Demux and power input question
How many mA can a pin take for input? I will have a switch between
5v from my power supply and Pin 8. I'm not sure what the mA
requreiment is for the switch, but I believe it is higher than the
BS2ic can handle, but lower than my computer's power supply can
handle. This is my switch (I will be using pin 5 hooked up to my
computer's power supply and pin 4 hooked up to Pin 8 on my BS2-ic)
http://www.jameco.com/Jameco/Products/ProdDS/144240.pdf
Secondly, I need to turn 4 of the outpin pins into 16 lines. I was
thinking about something like:
http://rocky.digikey.com/WebLib/Texas%20Instruments/Web%
20data/CD4514B,4515B.pdf
( the 4514 version ) will that work to have all outputs low, except
one? And will this work fine with my BS-2ic
thanks!-Lee
hook up to my BS2. Alright I want to hook up 2 of the 74HC595 to my BS2,
And off those to chips, I would need to hookup 32 of these:
http://www.jameco.com/cgi-bin/ncommerce3/ExecMacro/Jameco/searchResult.d2w/report?sort=BPA&search=134949CP
Would that be a problem? (The coil voltage is 5vdc.. which seems fine, and
the Coil is 27 Ohms)
I would just run the 5v output of the 74HC595 directly into the relay, and
the output to VSS?
(the relay needs to drive a 27vAC 1amp motor..)
----
I just looked up the 74HC595, and am I reading it wrong, but I see 3 BS2 = 8
outputs., so I would need 4 of these, and 12 BS2 pins to product 32 outputs?
---
Sorry to all the questions, I just want to make sure , so I don't waist more
money on buying the wrong stuff....
thanks!-Lee
Original Message
From: "Jon Williams" <jwilliams@p...>
To: <basicstamps@yahoogroups.com>
Sent: Monday, May 24, 2004 11:32 AM
Subject: RE: [noparse][[/noparse]basicstamps] Demux and power input question
> If you put a 220-ohm resistor inline with your input pin, it will
> protect the BASIC Stamp from programming accidents.
>
> You might consider daisy-chaining a couple 74HC595 shift registers --
> you can turn three BASIC Stamp pins into 16 outputs.
>
> -- Jon Williams
> -- Applications Engineer, Parallax
> -- Dallas Office
>
>
>
Original Message
> From: tr3nd42 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=vZ4W7OOda6m5quP5rKP0xvuV8QZFgjE9tf2ffaI8HEVycJ5sXWcG54H4gbd2QJnv_Yv4C3F8XuTLEVIC]fredit@c...[/url
> Sent: Monday, May 24, 2004 2:06 AM
> To: basicstamps@yahoogroups.com
> Subject: [noparse][[/noparse]basicstamps] Demux and power input question
>
>
> How many mA can a pin take for input? I will have a switch between
> 5v from my power supply and Pin 8. I'm not sure what the mA
> requreiment is for the switch, but I believe it is higher than the
> BS2ic can handle, but lower than my computer's power supply can
> handle. This is my switch (I will be using pin 5 hooked up to my
> computer's power supply and pin 4 hooked up to Pin 8 on my BS2-ic)
> http://www.jameco.com/Jameco/Products/ProdDS/144240.pdf
>
>
> Secondly, I need to turn 4 of the outpin pins into 16 lines. I was
> thinking about something like:
>
> http://rocky.digikey.com/WebLib/Texas%20Instruments/Web%
> 20data/CD4514B,4515B.pdf
> ( the 4514 version ) will that work to have all outputs low, except
> one? And will this work fine with my BS-2ic
>
>
> thanks!-Lee
>
>
>
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
>
> Yahoo! Groups Links
>
>
>
>
>
>
have found a 32-output device that works similarly, but I don't know the
part number off hand.
Your next challenge will be to calculate current requirements for your
relays. You may need to insert a driver (ULN2308) between the '595s and
the relays.
-- Jon Williams
-- Applications Engineer, Parallax
-- Dallas Office
Original Message
From: Trend [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=QwnqC1LzRM41KZiK9O6g5baPp2jnjPJ4hH5gCjC6GcOSzHPnf4MjWJ3__-l8fC1LzYxwA9ZpvdE]fredit@c...[/url
Sent: Monday, May 24, 2004 3:15 PM
To: basicstamps@yahoogroups.com
Subject: Re: [noparse][[/noparse]basicstamps] Demux and power input question
Awesome, that is even better.. That doesn't even look that complicated
to hook up to my BS2. Alright I want to hook up 2 of the 74HC595 to my
BS2, And off those to chips, I would need to hookup 32 of these:
http://www.jameco.com/cgi-bin/ncommerce3/ExecMacro/Jameco/searchResult.d
2w/report?sort=BPA&search=134949CP
Would that be a problem? (The coil voltage is 5vdc.. which seems fine,
and the Coil is 27 Ohms) I would just run the 5v output of the 74HC595
directly into the relay, and the output to VSS?
(the relay needs to drive a 27vAC 1amp motor..)
----
I just looked up the 74HC595, and am I reading it wrong, but I see 3 BS2
= 8 outputs., so I would need 4 of these, and 12 BS2 pins to product 32
outputs?
---
Sorry to all the questions, I just want to make sure , so I don't waist
more money on buying the wrong stuff....
thanks!-Lee
Original Message
From: "Jon Williams" <jwilliams@p...>
To: <basicstamps@yahoogroups.com>
Sent: Monday, May 24, 2004 11:32 AM
Subject: RE: [noparse][[/noparse]basicstamps] Demux and power input question
> If you put a 220-ohm resistor inline with your input pin, it will
> protect the BASIC Stamp from programming accidents.
>
> You might consider daisy-chaining a couple 74HC595 shift registers --
> you can turn three BASIC Stamp pins into 16 outputs.
>
> -- Jon Williams
> -- Applications Engineer, Parallax
> -- Dallas Office
>
>
>
Original Message
> From: tr3nd42 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=QwnqC1LzRM41KZiK9O6g5baPp2jnjPJ4hH5gCjC6GcOSzHPnf4MjWJ3__-l8fC1LzYxwA9ZpvdE]fredit@c...[/url
> Sent: Monday, May 24, 2004 2:06 AM
> To: basicstamps@yahoogroups.com
> Subject: [noparse][[/noparse]basicstamps] Demux and power input question
>
>
> How many mA can a pin take for input? I will have a switch between 5v
> from my power supply and Pin 8. I'm not sure what the mA requreiment
> is for the switch, but I believe it is higher than the BS2ic can
> handle, but lower than my computer's power supply can handle. This is
> my switch (I will be using pin 5 hooked up to my computer's power
> supply and pin 4 hooked up to Pin 8 on my BS2-ic)
> http://www.jameco.com/Jameco/Products/ProdDS/144240.pdf
>
>
> Secondly, I need to turn 4 of the outpin pins into 16 lines. I was
> thinking about something like:
>
> http://rocky.digikey.com/WebLib/Texas%20Instruments/Web%
> 20data/CD4514B,4515B.pdf
> ( the 4514 version ) will that work to have all outputs low, except
> one? And will this work fine with my BS-2ic
>
>
> thanks!-Lee
>
>
>
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject
> and
Body of the message will be ignored.
>
> Yahoo! Groups Links
>
>
>
>
>
>
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject
and Body of the message will be ignored.
Yahoo! Groups Links
This message has been scanned by WebShield. Please report SPAM to
abuse@p....
http://64.233.161.104/search?q=cache:MjRCA8jjmKwJ:www.robot-electronics.co.uk/htm/srf08history.shtml+basic+stamp+%22line+decoder&hl=en )
to get 4 (well 5 including the strobe) lines to output 16.. Or you could use
6 (or 7 including strobe) lines to get 32 if you do it right. [noparse]:)[/noparse]
And it looks like I will need a chip after my demultiplexers to bump up the
power.. I will need something that can output 71.4mA and 5vDC (lets say
100mA plus just to be on the safe side..) And that is 5v 71.4mA per output,
but I will only be using one output at a time.. so couldn't that be total?
Thanks for help guys.
Lee
Original Message
From: "Jon Williams" <jwilliams@p...>
To: <basicstamps@yahoogroups.com>
Sent: Monday, May 24, 2004 6:40 PM
Subject: RE: [noparse][[/noparse]basicstamps] Demux and power input question
> You can daisy-chaing the 74HC595 so you only need three pins. Others
> have found a 32-output device that works similarly, but I don't know the
> part number off hand.
>
> Your next challenge will be to calculate current requirements for your
> relays. You may need to insert a driver (ULN2308) between the '595s and
> the relays.
>
> -- Jon Williams
> -- Applications Engineer, Parallax
> -- Dallas Office
>
>
>
Original Message
> From: Trend [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=Tj1OfCGrg2NbBsZxk6rie5gzztNYi0wLS63EZWp3CrGiHnJAhHAt44Iz_syL8co9K9KkkeeMocEirg]fredit@c...[/url
> Sent: Monday, May 24, 2004 3:15 PM
> To: basicstamps@yahoogroups.com
> Subject: Re: [noparse][[/noparse]basicstamps] Demux and power input question
>
>
> Awesome, that is even better.. That doesn't even look that complicated
> to hook up to my BS2. Alright I want to hook up 2 of the 74HC595 to my
> BS2, And off those to chips, I would need to hookup 32 of these:
>
> http://www.jameco.com/cgi-bin/ncommerce3/ExecMacro/Jameco/searchResult.d
> 2w/report?sort=BPA&search=134949CP
>
> Would that be a problem? (The coil voltage is 5vdc.. which seems fine,
> and the Coil is 27 Ohms) I would just run the 5v output of the 74HC595
> directly into the relay, and the output to VSS?
>
> (the relay needs to drive a 27vAC 1amp motor..)
>
> ----
> I just looked up the 74HC595, and am I reading it wrong, but I see 3 BS2
> = 8 outputs., so I would need 4 of these, and 12 BS2 pins to product 32
> outputs?
> ---
>
>
> Sorry to all the questions, I just want to make sure , so I don't waist
> more money on buying the wrong stuff....
>
> thanks!-Lee
>
>
>
>
>
Original Message
> From: "Jon Williams" <jwilliams@p...>
> To: <basicstamps@yahoogroups.com>
> Sent: Monday, May 24, 2004 11:32 AM
> Subject: RE: [noparse][[/noparse]basicstamps] Demux and power input question
>
>
> > If you put a 220-ohm resistor inline with your input pin, it will
> > protect the BASIC Stamp from programming accidents.
> >
> > You might consider daisy-chaining a couple 74HC595 shift registers --
> > you can turn three BASIC Stamp pins into 16 outputs.
> >
> > -- Jon Williams
> > -- Applications Engineer, Parallax
> > -- Dallas Office
> >
> >
> >
Original Message
> > From: tr3nd42 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=Tj1OfCGrg2NbBsZxk6rie5gzztNYi0wLS63EZWp3CrGiHnJAhHAt44Iz_syL8co9K9KkkeeMocEirg]fredit@c...[/url
> > Sent: Monday, May 24, 2004 2:06 AM
> > To: basicstamps@yahoogroups.com
> > Subject: [noparse][[/noparse]basicstamps] Demux and power input question
> >
> >
> > How many mA can a pin take for input? I will have a switch between 5v
> > from my power supply and Pin 8. I'm not sure what the mA requreiment
> > is for the switch, but I believe it is higher than the BS2ic can
> > handle, but lower than my computer's power supply can handle. This is
>
> > my switch (I will be using pin 5 hooked up to my computer's power
> > supply and pin 4 hooked up to Pin 8 on my BS2-ic)
> > http://www.jameco.com/Jameco/Products/ProdDS/144240.pdf
> >
> >
> > Secondly, I need to turn 4 of the outpin pins into 16 lines. I was
> > thinking about something like:
> >
> > http://rocky.digikey.com/WebLib/Texas%20Instruments/Web%
> > 20data/CD4514B,4515B.pdf
> > ( the 4514 version ) will that work to have all outputs low, except
> > one? And will this work fine with my BS-2ic
> >
> >
> > thanks!-Lee
> >
> >
> >
> >
> >
> > To UNSUBSCRIBE, just send mail to:
> > basicstamps-unsubscribe@yahoogroups.com
> > from the same email address that you subscribed. Text in the Subject
> > and
> Body of the message will be ignored.
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
>
>
>
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject
> and Body of the message will be ignored.
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
> This message has been scanned by WebShield. Please report SPAM to
> abuse@p....
>
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
>
> Yahoo! Groups Links
>
>
>
>
>
besides i couldn't find it anywhere..) is because I would need to bump up 32
lines.
I am trying to keep the chips down on this project because I am new to all
of this, and I am hoping that less parts = somewhat simplier [noparse]:)[/noparse]
thanks!-Lee
Original Message
From: "Jon Williams" <jwilliams@p...>
To: <basicstamps@yahoogroups.com>
Sent: Monday, May 24, 2004 6:40 PM
Subject: RE: [noparse][[/noparse]basicstamps] Demux and power input question
> You can daisy-chaing the 74HC595 so you only need three pins. Others
> have found a 32-output device that works similarly, but I don't know the
> part number off hand.
>
> Your next challenge will be to calculate current requirements for your
> relays. You may need to insert a driver (ULN2308) between the '595s and
> the relays.
>
> -- Jon Williams
> -- Applications Engineer, Parallax
> -- Dallas Office
>
>
>
Original Message
> From: Trend [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=5_gG_84YHr9fDfViHfJbpjQw_uz2-9uAPkxwUMz1fylAjnlAeAqRwM1ErJlGFtSTaxZcimQddT-FrxeM]fredit@c...[/url
> Sent: Monday, May 24, 2004 3:15 PM
> To: basicstamps@yahoogroups.com
> Subject: Re: [noparse][[/noparse]basicstamps] Demux and power input question
>
>
> Awesome, that is even better.. That doesn't even look that complicated
> to hook up to my BS2. Alright I want to hook up 2 of the 74HC595 to my
> BS2, And off those to chips, I would need to hookup 32 of these:
>
> http://www.jameco.com/cgi-bin/ncommerce3/ExecMacro/Jameco/searchResult.d
> 2w/report?sort=BPA&search=134949CP
>
> Would that be a problem? (The coil voltage is 5vdc.. which seems fine,
> and the Coil is 27 Ohms) I would just run the 5v output of the 74HC595
> directly into the relay, and the output to VSS?
>
> (the relay needs to drive a 27vAC 1amp motor..)
>
> ----
> I just looked up the 74HC595, and am I reading it wrong, but I see 3 BS2
> = 8 outputs., so I would need 4 of these, and 12 BS2 pins to product 32
> outputs?
> ---
>
>
> Sorry to all the questions, I just want to make sure , so I don't waist
> more money on buying the wrong stuff....
>
> thanks!-Lee
>
>
>
>
>
Original Message
> From: "Jon Williams" <jwilliams@p...>
> To: <basicstamps@yahoogroups.com>
> Sent: Monday, May 24, 2004 11:32 AM
> Subject: RE: [noparse][[/noparse]basicstamps] Demux and power input question
>
>
> > If you put a 220-ohm resistor inline with your input pin, it will
> > protect the BASIC Stamp from programming accidents.
> >
> > You might consider daisy-chaining a couple 74HC595 shift registers --
> > you can turn three BASIC Stamp pins into 16 outputs.
> >
> > -- Jon Williams
> > -- Applications Engineer, Parallax
> > -- Dallas Office
> >
> >
> >
Original Message
> > From: tr3nd42 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=5_gG_84YHr9fDfViHfJbpjQw_uz2-9uAPkxwUMz1fylAjnlAeAqRwM1ErJlGFtSTaxZcimQddT-FrxeM]fredit@c...[/url
> > Sent: Monday, May 24, 2004 2:06 AM
> > To: basicstamps@yahoogroups.com
> > Subject: [noparse][[/noparse]basicstamps] Demux and power input question
> >
> >
> > How many mA can a pin take for input? I will have a switch between 5v
> > from my power supply and Pin 8. I'm not sure what the mA requreiment
> > is for the switch, but I believe it is higher than the BS2ic can
> > handle, but lower than my computer's power supply can handle. This is
>
> > my switch (I will be using pin 5 hooked up to my computer's power
> > supply and pin 4 hooked up to Pin 8 on my BS2-ic)
> > http://www.jameco.com/Jameco/Products/ProdDS/144240.pdf
> >
> >
> > Secondly, I need to turn 4 of the outpin pins into 16 lines. I was
> > thinking about something like:
> >
> > http://rocky.digikey.com/WebLib/Texas%20Instruments/Web%
> > 20data/CD4514B,4515B.pdf
> > ( the 4514 version ) will that work to have all outputs low, except
> > one? And will this work fine with my BS-2ic
> >
> >
> > thanks!-Lee
> >
> >
> >
> >
> >
> > To UNSUBSCRIBE, just send mail to:
> > basicstamps-unsubscribe@yahoogroups.com
> > from the same email address that you subscribed. Text in the Subject
> > and
> Body of the message will be ignored.
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
>
>
>
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject
> and Body of the message will be ignored.
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
> This message has been scanned by WebShield. Please report SPAM to
> abuse@p....
>
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
>
> Yahoo! Groups Links
>
>
>
>
>
> Oh yeah, on that chip (the reason I didn't use a driver like
ULN2308.. besides i couldn't find it anywhere..)
Probably becuse that was a typo. the chip is a ULN2803. the 3 and 8
got switched.
The 74hc595 can be cascaded to the total pin count remains constant
for the number of 595's you have.
the 595's have all the outpus on one side so the two chips can nest
very easily.
The TPIC6595 is a higher power cousin with 250mA per channel.
as far as the math goes, better check the load on the resistor with a
5V coil and 27 ohms.
Dave
thanks-Lee
Original Message
From: "Dave Mucha" <davemucha@j...>
To: <basicstamps@yahoogroups.com>
Sent: Tuesday, May 25, 2004 1:52 AM
Subject: [noparse][[/noparse]basicstamps] Re: Demux and power input question
> --- In basicstamps@yahoogroups.com, "Trend" <fredit@c...> wrote:
>
> > Oh yeah, on that chip (the reason I didn't use a driver like
> ULN2308.. besides i couldn't find it anywhere..)
>
> Probably becuse that was a typo. the chip is a ULN2803. the 3 and 8
> got switched.
>
> The 74hc595 can be cascaded to the total pin count remains constant
> for the number of 595's you have.
>
> the 595's have all the outpus on one side so the two chips can nest
> very easily.
>
> The TPIC6595 is a higher power cousin with 250mA per channel.
>
> as far as the math goes, better check the load on the resistor with a
> 5V coil and 27 ohms.
>
> Dave
>
>
>
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
>
> Yahoo! Groups Links
>
>
>
>
>
>