From 4fbafb31f6417c6292b44c3d6523303aa607d2cc Mon Sep 17 00:00:00 2001 From: loopier Date: Wed, 2 Mar 2022 21:05:15 +0100 Subject: [PATCH] Add installation guide --- installation-guide.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 installation-guide.md diff --git a/installation-guide.md b/installation-guide.md new file mode 100644 index 0000000..784e657 --- /dev/null +++ b/installation-guide.md @@ -0,0 +1,29 @@ +# Installation + +Start Arduino as root. + +## Setup board +- In `Arduino/Preferences` add `https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json` to **Additional Boards Manager URLs**. +- In `Arduino/Tools/Boards/Boards Manager/` search for **esp32** and install it. +- In `Arduino/Tools/Boards/ESP Arduino/` select **ESP32S2 Dev Module**. +- In `Arduino/Tools/Port/` select **/dev/ttyUSB0**. + + + +## Add libraries + +### OSC +- Download **OSC** as `.ZIP` file from https://github.com/CNMAT/OSC.git +- In `Arduino/Sketch/Include Library/` click **Add .ZIP Library...** +- Choose the .zip file you downloaded from the repo. +- In `Arduino/Sketch/Include Library/` selecte **OSC**. + +### MPU6050 +- In `Arduino/Sketch/Include Library/Manage Libraries` serach for **MPU6050** and install it (*WARNING:* plain *MPU6050*, not any *xxxMPU5060xxx*) + +## Python serial +In a terminal run: +`sudo pip install pyserial` + + +