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 7533 times
[/attachment][attachment=0]
untitled.GIF
This is the picture of the circuit I'm talking about
untitled.GIF (7.86 KiB) Viewed 7533 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 7396 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 4 guests

Blackhawk Thunderbolt Dynamic Entry Portable Battering Ram DE-CAB
$350.00
Blackhawk Thunderbolt Dynamic Entry Portable Battering Ram DE-CAB pictureTEMCo HC0015 - Hydraulic Cylinder Ram Single Acting 50 TON 2" Inch Stroke NEW
$184.69
TEMCo HC0015 - Hydraulic Cylinder Ram Single Acting 50 TON 2Dodge Proj. H/L Seq. Switchback LED 09-18 Ram 1500/2500/3500 19-24 Ram 1500 L+R
$419.99
Dodge Proj. H/L Seq. Switchback LED 09-18 Ram 1500/2500/3500 19-24 Ram 1500 L+R pictureRadiator Shroud Fan 2003-2009 Dodge Ram 2500 3500 Chassis Cab 5.9L 6.7L
$233.99
Radiator Shroud Fan 2003-2009 Dodge Ram 2500 3500 Chassis Cab 5.9L 6.7L picture


cron