Hello i need to make an arduino car that runs in two modes RC (Using HC-06 and smartphone app) and autonomous guided by ultrasonic sensors and GPS M8N, for that i have 4 motors with encoders JGA25-370 and 2 motor drivers l298n, is it possible to make the RC part with the encoder motors and l298n drivers? if yes can you please tell me how to wire it and how to declare the pins also please? thank you
Google "JGA25-370 l298 arduino" for some information to get started.
I already did, but my problem is with the bluetooth control of an encoder motor
Do you have questions of a more specific nature than that? That is a very broad subject. You should break it up into smaller parts. Understand each part and, in the end, put them together into a whole program that does what you want.
If you have read up on "controlling a DC motor with an Arduino" and "using a Bluetooth module with an Arduino" and "reading a rotary encoder with an Arduino", what are the areas that you do not understand?
I, for one, will not take the time to write a tutorial for your project, but I would be glad to help with understanding and solving the parts. Read up, make an effort at writing the code for one bit. If you get stuck, post the code (in code tags as described in the how to use the forum sticky), tell us what the code does and how that is different from what you want. Include diagrams of the wiring and cleat photos to show the wiring if necessary.
The IDE, itself, has a lot of example code that can be used to learn about using the language and the language reference shows the Arduino specific functions.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.