Electronics Forum

Electronics Circuits & Projects discussion forum. Get help with electronics.


Parallel in-Serial out shift register problem

Discuss about electronic circuits here. Request help for circuits that you couldn't find anywhere else, how a circuit works etc. Discuss anything related to electronic circuits.

Moderator: pebe

Parallel in-Serial out shift register problem

Postby siyom » Sat Mar 24, 2012 2:36 am

Below is my simulation for a digital signal generator.The timer and everything else is working but the problem begins with register,i want the register to serially output the following sequence: 01011101 and from my understanding that has to be done by tying the relevant inputs to either 0V or 5V,and i've done that but my simulation is still not working,the period from the 555 timer is 10 seconds,thanks in advance[img]http//untilted[/img][attachment=0]
untitled.GIF
This is the picture of the circuit I'm talking about
untitled.GIF (7.86 KiB) Viewed 7577 times
[/attachment][attachment=0]
untitled.GIF
This is the picture of the circuit I'm talking about
untitled.GIF (7.86 KiB) Viewed 7577 times
[/attachment]
siyom
 
Posts: 2
Joined: Sat Mar 24, 2012 2:22 am

Re: Parallel in-Serial out shift register problem

Postby Major_Problem » Fri Apr 13, 2012 9:05 am

Could be that the preset value is loaded at a transition of the SH/LD input. And once it has shifted, you need to preset again. But I have to check the datasheet to be sure.

Greetz,
Wim
Major_Problem
 
Posts: 15
Joined: Fri Jan 20, 2012 12:04 pm

Re: Parallel in-Serial out shift register problem

Postby Major_Problem » Sun Apr 15, 2012 9:16 am

[attachment=0]
HC166.jpg
Part of datasheet HC166.
HC166.jpg (110.28 KiB) Viewed 7440 times
[/attachment]

How I read the datasheet is as follows:

The data (parallel inputs A to H, D0 to D7) are read at ~SH/LD (Shift/Load) low and INH (CE) transitioning from low to high.
So data has to be stable at the rising flank of INH. Following this: Nothing will hapen until you take INH down to zero again.
After the data is presented at QH (Q7), the register inside is empty so you have to do the same sequence again.
Perhaps programmin a PIC processor is easyer than using logic buildingblocks.

Please post back.
Greetz, Wim
Major_Problem
 
Posts: 15
Joined: Fri Jan 20, 2012 12:04 pm

Re: Parallel in-Serial out shift register problem

Postby siyom » Wed Apr 25, 2012 11:50 am

Using a microcontroller is far easier than having to use timers which are very unrealiable,i would have used microcontrollers if i had the choice but the design specs forbid me from using them and i have resorted to just using a 4017 counter instead
siyom
 
Posts: 2
Joined: Sat Mar 24, 2012 2:22 am


Return to Electronic Circuits Help



Who is online

Users browsing this forum: No registered users and 5 guests

AlphaSmart NEO 2 Portable Word Processor Keyboard - Tested Working
$89.99
AlphaSmart NEO 2 Portable Word Processor Keyboard - Tested Working pictureOtis Pulse PLC Processor Module Industrial Automation Blue
$320.00
Otis Pulse PLC Processor Module Industrial Automation Blue pictureNew in Box Notifier FSB-200 Detector
$499.99
New in Box Notifier FSB-200 Detector pictureIntel® UP Xtreme 1145GRE Embedded Dev SBC 32GB RAM 512GB SSD Kit
$200.00
Intel® UP Xtreme 1145GRE Embedded Dev SBC 32GB RAM 512GB SSD Kit picture


cron