Using an ESP 32

Why use an ESP32? The microcontroller has WiFi and Bluetooth built-in, both of which are very convenient. Note that the ESP32 does not have enough pins for the final version of this project, Moveo BCN 3D construction. This sub-project is meant to familiarize the user with microcontrollers that have built-in Wi-Fi. A board that has built-in Wi-Fi and enough I/O pins is the CC3200 by Texas Instruments.

First, set up the Arduino IDE for an ESP32 board.

Once connected, wire the BCN3D Moveo to the board. A more comprehensive tutorial with pinout diagrams and sample code is available via Random Nerd Tutorials [1].

As a an exercise, the reader can write base code to control the first 3 joints of the arm. An example of code to control joint 1 is shown below.

References

[1] Santos, Rui. Getting Started with the ESP32 Development Board.  Random Nerd Tutorials. https://randomnerdtutorials.com/getting-started-with-esp32/

[2] Santos, Rui (2018). Install the ESP32 Board in Arduino IDE in less than 1 minute (Windows, Mac OS X, and Linux). YouTube. https://youtu.be/mBaS3YnqDaU