Step9: Arduino Programming - Keyestudio KS0358 Manual

Self-balancing car
Table of Contents

Advertisement

Self-balancing Car

5.9 Step9: Arduino Programming

For the coding part you will need to:
1. Download and install Arduino softwareIDE:
https://www.arduino.cc/en/Main/Software
2. Copy all libraries to C:/Users/user/Documents/Arduino/libraries (or wherever your library folder is installed)
3. Connect your Otto through USB (your computer should install the drivers)
4. Finally open OTTO_smooth_criminal.ino code and upload to your Arduino Nano for dancing Otto mode.
5. Try OTTO_avoid.ino for obstacle avoidance
More codes in
https://github.com/OttoDIY/
You can always try different codes from the same Github repository to use the ultrasound to avoid obstacles or detect
objects and the buzzer to make sounds. Include all main moves very easy to adjust speed, number of times and direction.
26
Chapter 5. Build Your Own Otto Robot:

Advertisement

Table of Contents
loading

Table of Contents