I worry about my project. I bought parts like 5 days ago and from this time i have done nothing besides connecting, soldering motors, etc. This is my first project. My parts:
-Romeo V2.2 board
-4WD chassis platform with 4 DC motors - made from transparent plastic
-Mini Bread Board Self Adhesive
-20 jumper wires
-hc-sr04 sensor // becamuse i wanted to make a robot that
-servo micro sg90
I wanted to make a obstacle avoiding robot that have hc-sr04 sensor which is mounted on the servo that rotates. I’m confused and can’t find EXAMPLES CODES/ ANOTHER PROJECTS/ SOME BASIC TUTORIALS TO THIS BOARD. On the board are so many pins, switches and all diffrent outputs.
I watched this sites:
How To Build A Robot 2 - Lesson 2: Build a Basic Arduino Robot - DFRobot - it seems like bull’s eye for me. It have the same board and code for testing motors… But things aren’t so pretty. I can’t UPLOAD the code to this board. I use ARDUINO IDE program and when i try to verify this code, it shows me comunicate that #include <DFmotor.h> is not supported to “leonardo board” (becamuse you have to select board in this program).
https://www.dfrobot.com/wiki/index.php/Romeo_V2-All_in_one_Controller_(R3)_(SKU:DFR0225)#PWM_Control_Mode - cool site. It shows ALMOST all things and describes it that are on ROMEO board. ALMOST, becamuse i can’t find example codes of using this sides buttons for example.
On the beginning i want to make this motors run. But while they are connected to the board. Then i want to look for a code to a servo sensor and ultrasound sensor. I’m really confused, this is my FIRST project.
If you got here, and have read my message, than I want to thank you. Have a good day programmers!