Help with juice dispenser

Did You ask Mr AI to make the schematics, the wiring?

The relays are 5v relays designed to work with Arduino.

They get their current from the 5v pin on the Arduino.

OK, I'm out.

You asked, we answered, you know better, good day, sir.

a7

Ok no worries. Didn't mean any disrespect. I think you may got confused about a previous post. The advice was to not power the uno with 12v which I never did. My issue has always been a code related one as the system functions fine when triggered manually without the Arduino.

You got a reply to that in reply #13, reply #20, reply #21. If You don't read, reply or or act upon replies, it's pointles to read Your posts.

No. It was explicitly advised not to power the relays from the Arduino. And you have rejected that advice.

We aren't just randos here speaking off the cuff, we are probably ppl who know these things because we know them, perhaps having learned the hard way, which way you are well under way on.

a7

I looked up the relays I bought and the only current information I could find on the listing was the one I gave you. 5mA. So even if I had all relays triggered at once which I don't this would not exceed the recommendation of 20mA. I thought I answered reply 20. It late where I am ATM so I can get a schematic sorted right now. The picture I crudely drew has all the information on it.

is the control signal current. The current to do the heavier lifting which is engaging the relay is considerably higher, high enough that

you cannot use the Arduino 5 volt pin to power (power) relays. Period.

I say good day, Sir!

a7

The relays I'm using is an srd-5vdc-sl-c. From what I can tell from a more detailed look is that the coil current is 89.3mA the max current on the 5v pin of the uno is 500mA. So I'm not pushing it by any means. I plan to power both the uno and the relays using a voltage step down board in the final version but I'm just not quite sure why it won't work in the meantime.

Sorry, no more ideas.

1 Like

Ok no worries. Thanks for trying.

Please explain in simple terms what you mean by power in this context

Do you mean the power to turn the relay on and off or the power needed by whatever the relay is switching ?

I am asking because if the relay needs 5mA for what you describe as " the control signal current", then what is the problem of using an Arduino pin to supply that, assuming that only a single relay is used and that a flyback diode is in place ?

I mean to "power" the relay. There are 3 pins on on the input of the relays. Dc+, Dc-, and IN1. This whole side of the. Relay is powered by the Arduino. The switching side of the relays is powered by a 12v power supply. I did show this in the drawing I provided.

You've been told the answer you need to fix your problem. It's a common fix. Instead of listening, you chose to argue with it.

If you want to fix your dispenser, reread this thread and forget your preconceived notions.

1 Like

I have answered every question put to me in this thread. I have yet to be told the reason for this change.

I have a question. How do you intend to supply the 89.3 mA coil current to the srd-5vdc-sl-c relay you claim to be using?

In the final version I will use a voltage step down board. But at the moment I am using the 5v pin going to the dc+ of the relays. The Dc- of the relay going gnd. And IN1 of the relay going to pins 2, 3 and 4.

Those pin names don't seem to appear on the relay part number you claim to be using. Could you add them to this drawing of your relay?
Screenshot 2024-01-30 at 7.50.22 AM