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

ESI Universal Impedance Measuring System Model 293 AC/DC Generator & Bridge
$500.00
ESI Universal Impedance Measuring System Model 293 AC/DC Generator & Bridge pictureUltrasonic Hardness Testercan ltrasonic contact impedance method to measure vari
$495.00
Ultrasonic Hardness Testercan ltrasonic contact impedance method to measure vari pictureLINE IMPEDANCE STABILIZATION NETWORK EMCO 3810/2 LISN 50Ohms 50/200uH 9kHz-30MHz
$1299.00
LINE IMPEDANCE STABILIZATION NETWORK EMCO 3810/2 LISN 50Ohms 50/200uH 9kHz-30MHz pictureVintage Leader LSP-5621 Speaker Analyzer Unit Impedance Admittance Test Meter
$249.99
Vintage Leader LSP-5621 Speaker Analyzer Unit Impedance Admittance Test Meter picture


cron