Relay Switch Problem Using 74HC595 Shift Register and ESP32

Hello @PaulRB ,

I'd like to ask you to see my wiring schematic; since when I added the 0.1uf ceramic capacitor nothing seems to have changed. Here it is:

Honestly, I am not quite sure if what I did was right. I'd like to ask for your confirmation on this if that's okay. Thank you so much! :))

Hello @jim-p ,

May I ask what does this exactly do? This is what I'm using as a reference so I can try learn how to use it. Is this the correct one? I'll also go look for this one in our local electronic store first thing in the morning, hopefully they have one. I'll give this one go once its here and still can't make the relays work. Thank you so much :))

Many of those relay boards with optocouplers state that they need a drive current of 15mA-20mA but it is usually less. The ACT/HCT595 can supply at most 8mA but at at reduced output voltage, so it may or may not work with a particular relay board

If you want guaranteed operation under all conditions, then you need the ACT244.
The ACT244 can easily supply 20mA.
So you connect the 244 to the relay board and the ACT/HCT595 to the 244

Please label all pins with their function, not their pin number. I have not memorised the 74hc595 pin numbers. Also I cannot tell what pins of the ESP32 you have used.

I didn't say that adding the caps would fix your problem. I said you should add them because you should always add them for each chip in your circuit. They are not optional. Sometimes circuits seem to work ok without them, but they could stop working at any random time. If your circuit isn't working and you don't have bypass caps, the first thing to fix is to add the caps.

image

Sir can you please help me? I have a shift register SN74HC47N and in tutorial videos they using other version of shift register MC74HC595A.
I searched on internet but I can't find datasheet for this shift register SN74HC47N. So I use the same pins as mentioned in MC74HC595A to connect 1 digit 7 segment CA display with Arduino Uno. However it didn't work well. Could you please tell me how to make it work?

The SN74HC47N is not a shift register, it is a BCD to 7-segment decoder/driver.


Is this is not a shift register?
I'm sorry I don't know about that much.
Can you please tell can I use this to turn on the 7 segment display

Thanks for your help

I can't find a datasheet either. That may be a fake IC.

I was going by the data sheet for the 74LS47, the HC version with the HLF branding appears to be a Chinese manufacturer (big surprise there).

You can try the wiring for the 74LS47 and see if it works, should be able to drive the 7-segment display when given a 4-bit parallel input in BCD (binary coded decimal), would be interesting to see what output you get with values above 9.

Thanks for your help

Yes sir you are right. Could please tell me any common in the IC names like 74HC or any other IC.

There is no 74HC47 as far as I know. Only 74LS47 and 7447.

Are you looking for a shift register or BCD to 7 segment decoder?

In tutorial videos they were using IC that was called shift register by them.