Hi! I am new here, so I don't know if this is the right place to post this.
I am also very new to arduino, and automating stuff in general.
Can anyone help me with checking what main board I should use?
I have a plan, but no idea what hardware I should use.
It only needs a few features:
-12V power input, so I can use the same power supply for a brushless motor.
-Button input. If the button is pressed, send signal to a motor controller to spin for a few seconds. The button will be held, so I will need to program something to only spin it for a certain amount, even is the button is still pressed.
-Output to motor controller (maybe Arduino Motor Shield).
-Reset button. Only run the code again after reset is pressed.
-Maybe LED output to show if reset needs to be pressed or not.
Welcome michelp89.
You mention few times motor controller. What kind of controller you have?
Is your 12V power supply amp rating sufficient for your motor's current draw?
Any Arduino will do, but none like 12v, so you should consider a 12v to 5v regulator to supply it off the motor supply. On what you say, you might as well get a Uno. It's just the bleeding obvious.
Thank you for the quick reply's!
That was what I was thinking, but now I know for sure.
I don't know the motor yet, but might as well go for the motor shield if 2A is enough, but is seems pretty low.
The motor will be connected to something that weighs 600g max that should be spinning at a certain speed. Also don't know the speed yet, but that is something to test when everything works.
So find out what motor you need first, then what power supply you need for it.
Also you didn't answer anything about the "motor controller".
12V is totally ok for arduino if you just connect buttons, motor control signal and a LED on it.
For now, I will probably order Arduino Motor Shield for the controller and see if it is enough, with a random small brushless motor, to see if it works. I can always use it for something else if it is not enough
The best approach is determine what you want to build and then order parts accordingly. Think of painting a barn red; If you have green paint something has to change. Consider the green paint the Arduino and the barn your project. You need to know what you have before you can order the correct amount of paint.
For the basic setup, you can start with an Arduino UNO, L298 motor driver and a DC motor, some buttons and LEDs. Gradually, you can expand your project and add more components. Here is a tutorial that shows how to make an algorithm for DC Motor Speed Control using Arduino UNO. Speed control of any motor is always done y Pulse Width Modulation, abbreviated as PWM. PWM pulse can be generated using Arduino and L298 Enable Pin is used to get that PWM pulse and then it controls the motor speed accordingly.