My circuit consists of Arduino connected with 5V 4 Channel relay via the 5V pin and ground to ground. The relay is connected to two 12V linear actuators and on that side, we connected the relay to the Vin of the arduino through breadboard. Then, I have APDS-9960 sensor connected to 3.3V of the arduino and the rest just connected to each pin. The problem is when I was plugging it to my macbook to upload the code, it was working fine. But, when I tried to just connect the Vin side with the battery, it wouldn't work. Like, the gesture lid up, the arduino lid up but the relay keeps blinking. When it was pucking into my mac, the relay would just light up once at the beginning and while the linear is moving. But now with the battery, it just keeps blinking. So, I was wondering if the battery is the issue here. Like i just connect around 50V to the whole thing connected on the Vin side.
You must use an external power supply to energize the relay bank. Use the Arduino only for signaling.
Get a multimeter and make sure the voltages are "holding up".
And if you need more help show us a schematic.
50V is too much for Vin.
So should I not plug the relay to the 5V pin of the Arduino then ?
Your project also needs to get enough current, Amperes, to activate the relay and other devices. Voltage, alone, will not do the job for your project.
Do not use Arduino for power. Use Arduino for digital and analog signal pins. To power small projects I use a USB charger with the device end cut off and a two-pin header for +v/-v (usually 5vdc). You can use the power pins in a breadboard to provide power to relays, servos, and other modules... you can also power your Arduino with this new power connector.
That is a bad idea but try it then place all of the parts in the dust bin and get new.
Gil's Crispy Critter Rules, they apply to processor hardware:
Rule #1. A Power Supply the Arduino is NOT!
Rule #2. Never Connect Anything Inductive (motor, speaker) to an Arduino!
Rule #3 Don't connecting or disconnecting wires with power on.
Rule #4 Do not apply power to any pin unless you know what you are doing.
Rule #5 Do not exceed components maximum Voltage rating.
LaryD's Corollary's
Coro #1 when first starting out, add a 220R resistor in series with both Input and Output pins.
Coro #2 buy a DMM (Digital Multi-meter) to measure voltages, currents and resistance. Violating these rules tends to make crispy critters out of Arduinos.
Hint: It is best to keep the wires under 25cm/10" for good performance.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.