Program Otto DIY robot for basic movements with CircuitPython

Program Otto DIY robot for basic movements with CircuitPython

Introduction

After assemble the Otto robot, next we will try to program it using CircuitPython. Basically we need to know how to control 4 servo motors to create the robot movement.

Video

Sample Program

This is CircuitPython sample program. You need to include these libraries in your CIRCUITPY/lib folder. You can download it from CircuitPython Library Bundle.

  • adafruit_motor
  • adafruit_hcsr04.mpy

Thank You

References:

Thanks for reading this tutorial. If you have any technical inquiries, please post at Cytron Technical Forum.

"Please be reminded, this tutorial is prepared for you to try and learn.
You are encouraged to improve the code for a better application."