From the Forums: J-Bot Robot Rover controlled by Arduino Uno and v2 motor shield
Rich_O shared an Arduino robotics project he has been working on for a while on the Adafruit Forums — and has shared code he tuned for autonomous roving!
I wanted to share the learning project I have been working on to program the Arduino and control a robot.
I purchased the J-Bot rover chassis (4 wheel / 4 motor DFROBOT ROB003), the (((Ping ultrasonic range finder, Standard RC servo (HS-311), Arduino Uno and the Adafruit V2 motor controller. I initially attempted this project with the Leonardo but It was to difficult for me to use the USB interface with the Leo’s virtual USB port. I used the 5 AA battery holder (fitted inside the rover between the motors) and batteries to power the motors and a 6 AA batteries to power the Arduino Uno and servo.
My next step is to add remote control via integration with my onboard Raspi via WiFi and the MobaXterm remote terminal.
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.