I'm designing an enelctronic timer for a project. It's basically a box that will be able to break a 220V circuit, controlled from a phone or computer. It uses an arduino connected to a relay to achieve this.
Basically it goes like:
Wall socket --> box cointaining arduino and relay --> appliance (in this case a pump for an aquarium)
But right now I have two cords running to the box in the middle. One 220V cord that is connected to the relay and one to power the arduino. I would like for there to be only one cord.
How do I achieve this without using a power strip? (that would make the box very big)
Basically it goes like:
Wall socket --> box cointaining arduino and relay --> appliance (in this case a pump for an aquarium)
But right now I have two cords running to the box in the middle. One 220V cord that is connected to the relay and one to power the arduino. I would like for there to be only one cord.
How do I achieve this without using a power strip? (that would make the box very big)