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

Vintage Theater Marquee Letters Numbers & Symbols 9" 900 pcs Pick Your Character
$1.75
Vintage Theater Marquee Letters Numbers & Symbols 9Vintage Diaphlex 646-199 Polarized Relay
$42.50
Vintage Diaphlex 646-199 Polarized Relay picture1952 Navy Marines ZM-11A/I Bridge Capitance Inductance Resist Vintage Military
$600.00
1952 Navy Marines  ZM-11A/I Bridge Capitance Inductance Resist Vintage Military pictureBanner SME312LPC 53710 Mini-Beam Expert Polarized Retro Sensor Clear Detection
$239.84
Banner SME312LPC 53710 Mini-Beam Expert Polarized Retro Sensor Clear Detection picture


cron