WELLCOME -----FYP S2 2011 PROJECT BLOG-----SUPERVISED BY: SIR KAMALUL FAIZIN B. MOHD SUHUT

Saturday, February 5, 2011

74HC595-8 BIT SHIFT REGISTER

Table: Pin outs from PHILIPS DATASHEET
This post continues my search of finding the lowest o/p number to be connected to my UNO. Alhamdulillah, I have found a solution that only requires 3 pins connected to my UNO, and it is:
74HC595 Shift Register (Figure: Courtsey of Open Source Notes)

Actually the schematic above is from Arduino notebook and it is connected to 8 LEDs. But for my project, I will use the 7 segment to display the number of patient's bed. The 7-segment LED pins are:
*Compare these to the real datasheet pins because there is a website telling that a datasheet was wrong. Maybe I'll make 2X7 Segment because it is ridiculous not to be able to display 2 digits in a monitoring system. However, it will double the connection to 6 o/p pins. So it's a challenge for the Number of Bed display part. I'll check back on it later.  
The conclusion is, the 74HC595 have 3 inputs to be connected to my UNO, that are:
  1. DS (pin 14) to Ardunio DigitalPin 13
  2. SH_CP (pin 11) to to Ardunio DigitalPin 4
  3. ST_CP (pin 12) to Ardunio DigitalPin 2
The remaining pins that I haven't connect are:
AREF, 0-RX, 1-TX, 3, AND 5. 
Alright!!! Time to sketch the outputs! I must jot these all down in the log book because I will refer and use this a 1000 times :)

5 comments:

  1. Have u connect the 7 segment LED to the 74HC595? How is it going to display the decimal output? I have tried it with my 7 segment but the outputs are just the blinking 7 segment not specifically display any numbers. I've try to work this out I think there is a problem with my sketch. If u could help me out that would be cool.

    ReplyDelete
  2. Opps!sorry azmin8 I havent try any hardware conncetion yet since my UNO didn't get here until next monday.yeah it's a lil bit frustrating but i'll get back to u if i have done the sketch and hardware.

    ReplyDelete
  3. Okay. Try check the 7 segment with triple display on it. It's all together in the single chip. I never tried it before, but I think it'll be the same.

    ReplyDelete
  4. hye there azmin8 i haven't found the 7 segment that you've mentioned.yeah i'm running a little late because of many things i haven't done, but i've sent u my sketches for the shift register. try uploading it at your arduino. see if it works. :)

    ReplyDelete
  5. on the off chance that they are not slanted towards clients fulfillment, at that point you should proceed onward to the following logo configuration administrations.
    logo design service

    ReplyDelete