Confused now about 74HC154
davids
Posts: 64
If I don't use shiftin/out or serin/out.· How do I change the·input/output of the pins of·74HC154, can someone tell me how this commuication works through the 4 binary inputs.·An example of·code to use·with this chip would be fab.
·
·
Comments
·· The 74HC154 is a 4-to-16 line decoder, it's not bi-directional.· A 4-bit address placed on the inputs will select 1 of 16 possible outputs (Active LOW).·· You can't use it the other way around, although there is a reverse operation version of this chip (Different part #).
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
http://www.semiconductors.philips.com/acrobat_download/datasheets/74HC_HCT154_5.pdf
Connect four Stamp pins to the inputs.· Hint: Use the nibble alignments (P0..P3, P4..P7, P8..P11, or P12..P15).· If you used P0..P3, for example, you could do this:
Setup:
· DIRA = %1111··············· ' make P0..P3 outputs
Main:
· FOR OUTA = %0000 TO %1111
··· PAUSE 1000
· NEXT
· GOTO Main
This will make the outputs on the 154 go on in order for one second.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
4067B.pdf
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe - Mask Designer III
National Semiconductor Corporation
Latest Company News
(Communication Interface Division)
500 Pinnacle Court, Suite 525
Mail Stop GA1
Norcross,GA 30071
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
I have a question about the serin/out command demo. It states that the bs2,bse and bspe can talk to each other, and that the bs2sx and bs2p talk, but I tried to use a BS2p and a BS2e. I haven't really looked at solving it as of yet. PLS help me with hints
Any Stamp can "talk" to any other Stamp, presuming the baud rates are appropriate, and the physcial connections are made in a proper manner. So too, any Stamp can talk to a PC, and visa versa presuming the same as above.
The PBASIC Manual has lots of examples, and the Help File has additional information. Other than that, your question is a bit to broad to be answered. If you have specific questions along with details, help is certainly available here.
Regards,
Bruce Bates
YOU KNOW /BBQ /DOWNUNDER/ BIG ROCK/ THE POSSUM/ AIRFARE USA to AUS.
AUS TO USA
THE QEUSTION AS ABOVE is REALLY simply NEEDS ONE ANSWER Y/N
Just a little advise about getting FREE help from a group of very knowledgable folks. Be patient and humble. You start your questions admitting to have done very little research of your own (data sheets are very easy to find) and then get beligerent when the FREE info doesn't come fast enough. The Parallax web site has a plethera of info for beginners you just have to take the time to read a bit.
And yes I belive most everyone that frequents this forum is well aware of where Australia can be found on a map. I was under the impression the Aussies were a little more cordial folk.
The lecture light has been turned back off.
Lee
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA