Prop to 74HC595 - Can't find schematic
Jonathan
Posts: 1,023
Hi All,
I looked! I really did! I know there is a schematic floating around to use a '595 with the Prop, in fact I used it previously. I thought it was in the "Safely interface 5V" thread, but I can't locate it now.
Sorry for the trouble, but could someone point me to it?
Thanks!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.madlabs.info - Home of the Hydrogen Fuel Cell Robot
I looked! I really did! I know there is a schematic floating around to use a '595 with the Prop, in fact I used it previously. I thought it was in the "Safely interface 5V" thread, but I can't locate it now.
Sorry for the trouble, but could someone point me to it?
Thanks!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.madlabs.info - Home of the Hydrogen Fuel Cell Robot
Comments
I remember Arealperson hs done something
http://forums.parallax.com/showthread.php?p=695531
but also can't find code from him or such...
Not looking for a code snip, I have used the 595 with the Prop before. I ran into issues of incorrect pin states trying to run the 505 directly from the Prop. I found some araangement of pullups that worked fine, but I can't seem to locate it now. The previous project doesn't live with me, so I can't just pull it apart. I'm suprised that I can't find the circuit in my collection, I'm ususally pretty good about archiving such things.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.madlabs.info - Home of the Hydrogen Fuel Cell Robot
A 74HC595 plugs directly into the Propeller, the other side of course can be more tricky, depending on external details...
But no, it's all standard CMOS output 20 mA plus TS
Post Edited (deSilva) : 2/24/2008 7:13:53 PM GMT
http://forums.parallax.com/attachment.php?attachmentid=49682
Another one with Keyboard Matrix:
http://forums.parallax.com/attachment.php?attachmentid=49661
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Aka: CosmicBob
Thanks for the help, and my apologies for not providing enough detail.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.madlabs.info - Home of the Hydrogen Fuel Cell Robot
What we're saying is that, the 74HC595 should work without anything special when it's powered by the same 3.3V supply as the Propeller and is connected directly to the Propeller's I/O pins. You need at least 3 Propeller I/O pins ... SH_CP for the shift clock, ST_CP for the clock to transfer from the shift register to the storage register, and DS for the shift register data. The output enable (OE) and master reset (MR) have to have pullups to the +3.3V power source, maybe 10K or need to be connected to other output pins.
If this setup is not working then there is something else wrong and you'd have to go into more detail about the output connections, what you're observing, and you'd have to post your code since that may be your problem.
*Peter*
http://www.parallax.com/dl/docs/books/sw/exp/sw23a.pdf
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Aka: CosmicBob
The 595's are driving old 74141's, nixie tube drivers. They have to run at 5V, and there is no easy 3.3V solution to drive nixies that I am aware of. If there is, let me know by golly! In any case, I have a load of the 74141's and they have very few other purposes, so I might as well use 'em. As to the connections and programming of the 595, no problems there.
Peter,
You are right, using the HC part is marginal. However, I am not driving the 595's very fast and it has worked with the cheesy resistor solution before, and I swear I got the schematic from somewhere on these fourms. I suppose I should just order the HCT part, but I am working on the project today and live 5 miles from a town with a population of 399, so going and picking some up isnt an option.
Thanks again, and apologies again for not making myself clear.
Cheers!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.madlabs.info - Home of the Hydrogen Fuel Cell Robot
--Chuck
This is what I have and do using shift registers..
I don't have the schematic, but I have made these pcbs and they work well for me,
It connects to 16 buttons/keys and drives 16 led's
I drive the leds shift register the 74HC595 with 5 volts, and its interfaced to the PROP with 1K resistors,
I have also attached the SPIN code I use for both devices.
The RED is the top layer tracks and the BLUE is the back layer ( in this case its also my ground plane).
The keypad circuit only need to run at 3.3 volts so there is no need for resistors here.
Hope this helps.
Thanks
Dave M
(b) A common solution for similar (but different!) situations is
You then drive the 595 through DIRA rather than OUTA!
Though I think this is overkill...
(c) A trick solution can be to slightly reduce the SUPPLY VOLTAGE for the 595 by a 4001 diode to 4.4 Volts, bringing its input into the safe region and leaving its (high) output in safe TTL.
---
Edit:
I had one of those typical upside-down typos in the drawing ad (b)
The cathode of the diode has to be to the Prop side of course!
Case LOW: Current from 5V - 10k - diode (0.6V) - Prop Low (0.3V) = Voltage for the 595 is around 1V
Case Quasi-TriState: Current from 5V - diode (0.6) - ESD (0.4V) - Vdd (3.3V) = Voltage for the 595 is 4.3 V
Post Edited (deSilva) : 2/25/2008 3:43:35 AM GMT