Need Help..... new to Arduino. I am looking for a code to control six dc 12v motors with three Joysticks using the Arduino uno and three L298N motor driver controller.
I'm learning but would like a jump start on my project. I've learned how to upload codes to the Arduino using servos, but have moved up to 12v dc motors.
Research the available libraries, and they all have examples that you can start with. Do the same for joysticks as a separate exercise. Once you have one motor and one joystick, merge the sketches, then expand to the six motors and three joysticks. HINT: Use arrays where possible, so the code for one is a trivial change for multiples.
Once again, i'm new at this. I just started messing with the arduino uno and bought some servos and joysticks. I found a code to power the servos and control the servos with the joysticks. i didnt wire everything up, but was able to work at least two servos.
Then I saw a video showing the arduino using a motor control module to control two dc motors. After seeing this I figured i'd use 12v dc motors instead of servos. The project is a light weight robotic arm using 12v worm gear motors. It's pretty much built just need the wiring and programming if it can be done using the arduino uno, three motor control modules and the 5 12v worm gear dc motors.
I have a back up plan to use two regular size joysticks hardwired with 12v. I just don't really like the 12v joysticks. There is no speed control it seems.
You misunderstand things. Those crappy chips have two sorts of input one for motor drive and the other for logic drive. They need two voltages. So there is absoloutly no need for a 12V joystick, a 5V joystick will work fine on the logic control pins.