HI,
I am connecting 220v solenoid valve with relay but didn't working. When I give direct current to solenoid valve it works fine and when I connect it with relay it doesn't work.
Before asking questions:
If your sketch was generated with an AI like ChatGPT or by someone else tell us in your post.
- Questioners know what their hardware and software looks like but the volunteers here do not; you need to fully explain what’s not working, and how it is supposed to work.
- Please read all the posting guidelines before asking your questions; follow these guidelines in your post.
- As always, show us a good schematic of your proposed circuit.
- Show us good images of your ‘actual’ wiring.
- Give WEB links to major components.
- In the Arduino IDE, use Ctrl T or CMD T to format your code, then copy the complete sketch.
- Use the < CODE / > icon from the ‘posting menu’ to attach your copied sketch.
When you follow the posting guidelines, volunteers can be more effective.
Use the COM and N.O. (normally open) side of the relay to break/make the circuit to the solenoid and use a signal line to control the relay from the Arduino. ( drawing here)
I checked but it didnt worked for me
Need to see some code , and a better schematic or link to the relay !
Disconnect the 220v parts for now ( for safety) and test that the relay operates by putting 5v directly to it and listening for it to click
( it is a 5v relay ?)
Inductive loads such as solenoids can damage these cheapo relays .
.
There maybe an issue with the code too .check carefully against the code on that site
The 12v "blue cube" relays are crap. They'll not last switching 220v.
Perhaps a SSR would be more suitable? You can have a 5V SSR switch 220V at 10's of amps direct from your Arduino, no intermediate relay or voltage needed.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.