Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

PIC16F877 interfacing with MM74HC595 for LED application.

Status
Not open for further replies.

arup

Member level 2
Joined
Sep 6, 2004
Messages
46
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
441
using tpic6b595n

Hello,

I have an application where i have to drive 8 leds thro' MM74HC595 using PIC16F877A.
Short Description of MM74HC595:
15,1....7 -> o/p pins where LEDs are connected.
11 -> SCK
12 -> RCK
13 -> /G
14 -> SER (Data line from Microcontroller)
10 -> /SCLR

I require following pins from micro to interface 595:
RB0 -> pin 13(/G) to select the chip.
RB1 -> pin 11(SCK) for clock.
RB3 -> pin 14(SER) for data o/p to 595

My question is :

a) are the above signals(just interfacing) enough(optimized) for the subjected application except VDD and GND.
b) Is there any requirement for RCK clock pin??
c) how should i connect /SCLR pin?

pls help.

regards,
arp
 

Re: PIC16F877 interfacing with MM74HC595 for LED application

arup,

Did you find an answer for this?

I am using a 16F688, interfaced to a TPIC6B595N

which is very similar to what your doing.

I dont have an answer for you at this point as I am unsure of it as well.

Hopefully someone with the right answer may post here.

Cheers
Aurbo
 

Re: PIC16F877 interfacing with MM74HC595 for LED application

a) are the above signals(just interfacing) enough(optimized) for the subjected application except VDD and GND.

- You need to drive RCLK (Register clock) pin as well to transfer content of shift register to output latch. You need rising edge to do that.

b) Is there any requirement for RCK clock pin??

-look under a

c) how should i connect /SCLR pin?

This is shift register clear function, not needed in most cases, just tie to +5V.


If you use MCU SPI, you don't have to use "bit banging" to drive shift register, SPI's hardware can do that for you. You just place byte in Tx register and let it rip. Although if you are having difficulties understanding '595 data sheet, using any off-beat paths in design might out of your scope.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top