Discussion in "General help Guidance and Discussion" started by    whoami    Mar 17, 2016.
Thu Mar 17 2016, 05:11 AM
Hi, I'm having a problem about 74ls96 5-bit shift registers, the functions seems wrong.
When I try to make the clear/preset to 00 and 10 work fines
but when clear/preset is 01 the function should allow the q point to follow their respective inputs to a 1 or 0 and it's not happening also when the clear/preset is 11 it allows the q point to follow their respective inputs from a 0 to a 1 but not from a 1 to 0,
sorry for the grammar.
Thu Mar 17 2016, 08:10 PM

whoami like this.
Sat Mar 19 2016, 04:06 AM
Thank You

[ Edited Sat Mar 19 2016, 04:08 AM ]
Sat Mar 19 2016, 04:06 AM

ExperimenterUK

Sir, I have another question, is the 74ls96 can only shift right? if yes how can i prove to my professor that it can't shift to the left ? Cause some of my classmates said that it can't then my professor said that if he can make it shift to the left he'll give them a failing grade. It is possible to make it shift left by adding some gates, and still I can insert 1 or 0 when shifting ? Thank you.
Sat Mar 19 2016, 09:47 PM
As I see it, the 74LS96 can only shift from input (pin 9)
to output 15 then 14 then 13 then 11 then 10.

I don't know if you call that a right shift or a left shift,
but it can only go one way.
Even after a parallel load the shift is in the same direction.

Adding extra gates could do anything to the output,
but it does not alter the action of the 74lLS96

Let us know if you get a fail
whoami like this.
Sun Mar 20 2016, 03:35 AM

As I see it, the 74LS96 can only shift from input (pin 9)
to output 15 then 14 then 13 then 11 then 10.

I don't know if you call that a right shift or a left shift,
but it can only go one way.
Even after a parallel load the shift is in the same direction.

Adding extra gates could do anything to the output,
but it does not alter the action of the 74lLS96

Let us know if you get a fail

ExperimenterUK

Someone told me, to look at the data sheet of 74ls95 for some clues. I tried the 74ls95 and it shifts to the left by connecting Q3 to D2, Q2 to D1, Q1 to D0 and Serial in to D3, when I try to do the same thing with 74ls96 it still shifts to the right, maybe it's because when the Clear is 1 and the Preset is 1 it disable the changes from the Q points, and I can't change the Clear and Preset because it only shifts when it's 0 and 1 respectively. What should I do ? :c I just can't think of a way to make it shift like the 74LS95 do. . Thanks you sir for all the help. .

[ Edited Sun Mar 20 2016, 05:03 AM ]
Sun Mar 20 2016, 09:57 PM

Someone told me, to look at the data sheet of 74ls95 for some clues.

whoami

Looks like your friend was right, the clue is in the data sheet.

This 74LS95 data sheet describes how to make it shift left, which it can't
really do.

The trick is to connect the outputs, to the load input, but one place out,
so QD to input C etc.
Then as the device is clocked, the pattern is shifted to the left.

Attachment
Mon Mar 21 2016, 12:51 AM

Someone told me, to look at the data sheet of 74ls95 for some clues.

whoami

Looks like your friend was right, the clue is in the data sheet.

This 74LS95 data sheet describes how to make it shift left, which it can't
really do.

The trick is to connect the outputs, to the load input, but one place out,
so QD to input C etc.
Then as the device is clocked, the pattern is shifted to the left.

Attachment

ExperimenterUK

In my case that's not happening . I've tried that but I can't make changes to the inputs so me connecting QD to input C won't do anything, it still shifts to the right . So, the 74ls96 can't really shift to the left ?
Mon Mar 21 2016, 09:02 AM
I have not tried the parallel load method, but I assume it works.
Although that means the 7496 can be made to act as a left shift register
I don't think it is really a proper left shift register.
Most parallel load device could do the same thing.
whoami like this.
Mon Mar 21 2016, 09:35 AM
Sir, do you have any idea on how can I make it act as a left shift register ? Is it by parallel loading ? then how to make it shift ? it only shifts when the clear is low and preset is low right ? Thank you.

### Information

#### Conversation

Thu Nov 21 2019, 12:30 PM
raj2555
how to interface 8051 microcontroller with NRF24L01+ module
Sat Oct 12 2019, 10:23 PM
Sat Oct 12 2019, 10:18 AM
i am doing a countdown timer with 8051 for my project, unfortunately our professor had to take a leave of absence before he could teach us most of it.. can someone explain the .asm code of it for me?
Mon Sep 23 2019, 07:37 AM
Nathaniel
I am doing a project for my schools wireless security system with cameras,sensors and spot lights using 8051 micro controller, could you help me out with the design and its source code.
Wed Sep 18 2019, 08:48 PM
Caryn Kover
Mon Aug 05 2019, 07:09 PM
@Ismail ..post in forum, give details
Mon Aug 05 2019, 04:33 PM
Ismail balghmi
Wed Jul 24 2019, 12:47 AM
@BUSTER123 Please post in the forum
Tue Jul 23 2019, 06:13 PM
BUSTER123
hello! newbie here. i am kind of a guy who hates using ready - made existing libraries, so this helped a lot as i was trying to control and write to a character lcd display. however, i can't figure out how to set the cursor position. for example, i want to set it to the 5th column in the first row, so position 5. so according to the table, i am sending 10000101 on the 8 data lines of the lcd (register select pulled low). the cursor does not move there however. and i cant move the cursor left or right too. is it something wrong that i am doing? thank you.
Thu Jul 11 2019, 07:55 PM
@ramos https://www.theengineeringprojects.com/2017/09/l298-motor-driver-library-proteus.html

### Recent

ananyagupta
Tue Dec 03 2019, 07:53 AM
wells
Mon Nov 25 2019, 08:25 PM
auwal
Tue Nov 19 2019, 03:13 PM
ANKITPATEL
Mon Nov 18 2019, 11:00 AM
Casmir
Wed Nov 13 2019, 06:25 AM
DeepakBGattani
Mon Nov 11 2019, 01:31 PM
Jeanbusatta
Sun Nov 10 2019, 04:42 AM
mdayaz
Sat Nov 09 2019, 03:41 PM

#### Online

Guests: 33, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 38107
Forum Activity
##### Posted By ExperimenterUK
Fri Nov 29 2019, 04:24 AM
" Is it possible to interface a fingerprint scanne...
##### Posted By ilylily07
Thu Nov 28 2019, 03:50 PM
You will not find any code for an 8051 as no one w...
##### Posted By ExperimenterUK
Tue Nov 26 2019, 05:44 PM
You will not find any code for an 8051 as no one w...
##### Posted By ilylily07
Tue Nov 26 2019, 04:13 AM
I tracked down a OV7670 data sheet.The OV7670 puts...
##### Posted By ExperimenterUK
Tue Nov 26 2019, 12:08 AM
I tracked down a OV7670 data sheet.The OV7670 puts...
##### Posted By ilylily07
Mon Nov 25 2019, 04:38 PM
The 8051 has too little memory to do anything us...
##### Posted By ExperimenterUK
Tue Nov 19 2019, 10:44 PM
The 8051 has too little memory to do anything us...
##### Posted By ilylily07
Mon Nov 18 2019, 09:54 AM
0v7670 camera interfacing with stc 8051.using asse...
##### Posted By Jeanbusatta
Sun Nov 10 2019, 04:43 AM
ty, really needed it
##### Posted By ExperimenterUK
Tue Oct 22 2019, 05:18 AM
Thanks for support,[email protected]