r/ArduinoProjects • • 4d ago

Project Design/Guidance Drink machine

Hello,Im doing a drink machine with arduino Mega, coin acceptor, Pumps, keypad and other components but i have a question how do I connect the Arduino with the coin acceptor , I have Adjustable power supply and I know I have to connect the same GND but the DC 12v I dont know if I need to connect the breadboard with the resistence 10k or if I need to connect something else, because I have fear the explode de Arduino 💔.

4 Upvotes

5 comments sorted by

3

u/alan_nishoka 4d ago

You are correct to be concerned.

Datasheet for coin acceptor?

1

u/No-Peanut2334 4d ago

I have the datasheet is from a Bl-616coin Aceptor bl-616

2

u/gm310509 3d ago

I have fear the explode de Arduino

What you should do is work out your circuit, then share that.

For example, you mentioned pumps. How do you plan to control them? Pumps have motors and the back EMF when they are turned off can cause sensitive pins to blow. So, there are techniques and components that can and should be used to prevent that.

But, just having those things isn't enough, it is how you connect them up - hence if you are worried about "explode de Arduino", you should have a go at connecting them up in a circuit diagram and share that for review.

Hopefully that makes sense.

1

u/VictorySea1837 3d ago

what kind of outputs are on your coin acceptor?

1

u/Usual-Pen7132 2d ago

The best thing you can do is to connect and to get working 1 component at a time. So, if you're going to use pumps for example then start with only connecting and programming the Arduino to just control the pump/s. Once you accomplish that and your pump/s are working and controllable through the Arduino then add a second device and get that device programmed into the Arduino and make sure it's working.

Once each device is wired, programming, and working then you can work on adding the code for all of the logic/automations that do all of your "If - Condition- Then - Actions". A wise man once said, "The best way to eat am elephant is one bite at a time!" That wise advice obviously doesn't just apply to eating an elephant obviously. It applies to everything in life that seems overwhelming and too difficult. It's much easier if you break the problem up into individual pieces and solve one piece of it at a time and thats what I do along with many other people!