Go Down

Topic: hef4794 to 74HC595 (Read 1 time) previous topic - next topic

mrmeval

Mar 09, 2008, 01:12 am Last Edit: Mar 09, 2008, 01:17 am by mrmeval Reason: 1
I used this to verify my 74HC595 circuit is working.
http://www.arduino.cc/en/Tutorial/ShiftOut

Then I tried my hef4794 programs and they work if you change the pin designators *or* you could just change the wiring. This will leave some unused code but it doesn't hurt a thing.

//Pin connected to ST_CP of 74HC595
int latchPin = 8;
//Pin connected to SH_CP of 74HC595
int clockPin = 12;
////Pin connected to DS of 74HC595
int dataPin = 11;

latchPin=strob
clockPin=clock
dataP=data

My code is here for the knight rider one. As always the pathetic +5volt signal can control anything given the proper interface.

Link to the HEF4794 article
http://mrmeval.livejournal.com/723005.html

My next foray will be to install a temp sensor and have it read out on the LEDs
LM334ZNS
If it was designed by man it can be repaired by man.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy