I'm trying to switch soldering machine through relay controlled by 74HC595 output shift register. I obsered a strange behaviour when I connect with load(soldering machine).
Let me keep it simple, I tried to switch the relay through direct (ESP-32)MC-output pins and it works well.
When I try to control using 74HC595, The relay is triggering as expected but surprisingly, when any load is connected through the relay, the shift register triggers random pins.
I'm like How!!!! how does the register knows it is connected to a load/not as the relay is to isolate the things!?
Please ignore it. as I dont get soldering machine in fritzing, I placed a bulb as similar supply through. But does it make a point of which device we use?
I'm so confused if the relay is trggering perfectly in no load condition, how it may flicker when a load is applied?
for more clarity, I also tried different loads like
AC - Soldring
DC - 24v Motor
DC - 12v - Soleniod.
whatever the load it behaves the same.
Ok I tried 10,33 and 100micro farad capacitors through IC supply as refered from other discussions mentioned in post #4
I can lightup an led only, even if i try to switch a BC547 transistor or opto coupler 817 , I can't. it flickers on load and works normal when no load.
Could just be a bad relay, do you have another to try??
Those relays are not the greatest in my opinion, I wouldn't switch line voltage with them..
Interesting thread here..
relays were burning up..
you diagram shows the line voltage output crossing the ground, that could induce a current, kill ground..
breadboards are not the best of things either, could be just a faulty connection..
and you are switching a 5v relay with 3.3v, so you are already border line any disturbance in the power/ground and it will probably start to fail..
but really, could just be a bad relay..
Can you please post a copy of your circuit, a picture of a hand drawn circuit in jpg, png?
Hand drawn and photographed is perfectly acceptable.
Please include ALL hardware, power supplies, component names and pin labels.
That way you have access to all component symbols.
Can you please post some images of your project?
So we can see your component layout.
Hi, Yeah I switched relay - same result
and my relay is a optocoupler driven module which is completely isolated from AC/higher wattage line. and they are 5v obviouly I supplying 5v.
its not the point of relay alone even if I try to connect a transistor or separated opto coupler driven its behaving the same.
Guys! i have separated two supplies with opto coupler with NO-Common-Grounding
even now, the relay flickers when connect the load. if there is no load, it works superb.
I wonder how optical isolation is been detected or affects the register.
I have gone throught the page which was closed unresolved. I'm having the same issue and tried all their suggestions but after this isolation method I'm like
I will back with good sketch. Please help to find out
I read all the posts in your topic and I couldn't identify any of the recommendations for using snubber.
I saw that you only have problems when using the soldering machine operated by the relay.
A soldering machine is an inductive load device, and therefore when turned on/off it generates high amounts of electrical noise.
These strong noises can sometimes even cause Arduinos to reset in general.
My recommendation is that you use snubber in parallel with your relay contacts.
Guys No changes.
I'm thinking about a way, please let me know if its possible.
I'm using ESP32S3 which has 3 UARTS. I'm using 2 for hardware comm and 1 for Serial communication with my laptop.
If I have another port, I can use it to transfer data to another MC and through the data from Primary MC to Secondary, I can controll the GPIO's of Secondary MC and use it as output instead of 74HC595.
Is there anyway to use UART?
I dont have much idea about software serial can someone suggest me is it possible to use software serial in this case? if so, can i have any ref please...
As i searched, they used below board for UART extension but i dont have it in market.