|
Hi, How can I use relay in Arduino to switch between 2 voltage sources, like solar panel and 9V battery? Any answer is welcome. |
by Ahmed_Fakhouri
August 30, 2021 |
|
Arduinos can deliver 5 volt, but with limited amount of current. So you will need a dual pole relay which can turn on well under 5 volt on the command side, with a limited current (and flyback diode to eventually protect the Arduino against back EMI). Alternatively, you can use two single pole relays, and be sure that the two are not active at the same time. You can also use a circuit where the 9 volt source acts as an automatic backup of the main source, the solar panel. Although that I suspect that solar panel vendor already supplies such a tool in their commodities in accordance to eventual specific requirements for their panels. |
by vanderghast
August 31, 2021 |
No answers yet. Contribute your answer below!
You must log in or create an account (free!) to answer a question.
Anyone can ask a question.
Did you already search (see above) to see if a similar question has already been answered? If you can't find the answer, you may ask a question.
CircuitLab's Q&A site is a FREE questions and answers forum for electronics and electrical engineering students, hobbyists, and professionals.
We encourage you to use our built-in schematic & simulation software to add more detail to your questions and answers.
Acceptable Questions:
Unacceptable Questions:
Please respect that there are both seasoned experts and total newbies here: please be nice, be constructive, and be specific!
CircuitLab is an in-browser schematic capture and circuit simulation software tool to help you rapidly design and analyze analog and digital electronics systems.