Pages: [1]   Go Down
Author Topic: hef4794 to 74HC595  (Read 1109 times)
0 Members and 1 Guest are viewing this topic.
Greenwood, Indiana
Offline Offline
God Member
*****
Karma: 0
Posts: 508
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
« Last Edit: March 08, 2008, 07:17:29 pm by mrmeval » Logged

If it was designed by man it can be repaired by man.

Pages: [1]   Go Up
Jump to: