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

Motorola 68060 68EC060 MC68EC060RC75 CPU / Processor AMIGA unused, new USA stock
$39.99
Motorola 68060 68EC060 MC68EC060RC75 CPU / Processor AMIGA unused, new USA stock picture200x AMIGA MAGNO DDC.4 Ceramic Cone Nozzles – Red Core Sprayer Tips NEW 200
$150.00
200x AMIGA MAGNO DDC.4 Ceramic Cone Nozzles – Red Core Sprayer Tips NEW 200 pictureMITSUBISHI FR-PU04, Parameter unit A500/E500, Full 10-Keypad, FRPU04 ...
$155.33
MITSUBISHI FR-PU04, Parameter unit A500/E500, Full 10-Keypad, FRPU04 ... pictureGreaseweazle V4.1 USB Floppy Adapter Flux Reader Writer Amiga
$35.21
Greaseweazle V4.1 USB Floppy Adapter Flux Reader Writer Amiga picture


cron