Murugesh_89
Full Member level 5
- Joined
- Nov 23, 2012
- Messages
- 266
- Helped
- 7
- Reputation
- 12
- Reaction score
- 6
- Trophy points
- 1,298
- Location
- India
- Activity points
- 3,267
Hi,
I am running out of I/O pins in my microcontroller. But i need to control 24 relays. Basically i am switching the relays using ULN2803A. So i thought of using 74HC595 shift register IC to trigger the bases of ULN. Any relay can be triggered at any time say one at a time, two at a same time and upto 24 at a same time.
My doubt while using this shift register is when i want to output new value, the bits which had a state same as current state will experience a momentary fluctuation or not?
For example, In my circuit diagram, when current output state is as follows
U5(QhQgQfQeQdQcQbQa) U6(QhQgQfQeQdQcQbQa) U7(QhQgQfQeQdQcQbQa) = 00001101 01000011 00101010
and i want to give the new value as 00001001 01000111 00100010.
Here i changed the 3 bits out of 18 bits. But other 15 bits are to be maintained at the same state. Will these 15 bits experience any fluctuation or stay solid?
Thanks,
Murugesh
I am running out of I/O pins in my microcontroller. But i need to control 24 relays. Basically i am switching the relays using ULN2803A. So i thought of using 74HC595 shift register IC to trigger the bases of ULN. Any relay can be triggered at any time say one at a time, two at a same time and upto 24 at a same time.
My doubt while using this shift register is when i want to output new value, the bits which had a state same as current state will experience a momentary fluctuation or not?
For example, In my circuit diagram, when current output state is as follows
U5(QhQgQfQeQdQcQbQa) U6(QhQgQfQeQdQcQbQa) U7(QhQgQfQeQdQcQbQa) = 00001101 01000011 00101010
and i want to give the new value as 00001001 01000111 00100010.
Here i changed the 3 bits out of 18 bits. But other 15 bits are to be maintained at the same state. Will these 15 bits experience any fluctuation or stay solid?
Thanks,
Murugesh