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.

Serial Data with a pic...... help!

Status
Not open for further replies.

chevymn1964

Full Member level 2
Joined
Apr 1, 2006
Messages
120
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,296
Location
Santa Rosa, Ca.
Activity points
2,551
Hello,
Im working on a project and I am now stuck....... I am using a pariallel in/ serial out shift register going to a PIC ( 16F84 ) then to a serial in/ pariallel out shift register..... What I need to do is read the 8 inputs and output the corrosponding output with a 1sec pulse each time the input goes high or low.... I know I can use a pic with more i/o's but I am going to add up to 16 i/o's as soon as I get the 8 i/o working.... I got as far as taking the data through the pic and outputing it but I cant seem to figure out how to pulse the output....... any help would be great! thanks!!!!
 

chevymn1964 said:
....What I need to do is read the 8 inputs and output the corrosponding output with a 1sec pulse each time the input goes high or low....

On power up, read the inputs and store in a register. Read the inputs again and compare with the stored value. If there is a change... say in a perticular bit, save the current read bit pattern and make the output high and after 1 second make it low.

Cheers

Ravi
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top