From 26d8aebd62adcd442937a88c5217a6c45bf7236f Mon Sep 17 00:00:00 2001 From: Shahrul Kamil bin Hassan <shahrulkamil98@g.ucla.edu> Date: Mon, 30 Aug 2021 19:59:04 +0000 Subject: [PATCH] Update README.md --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index b75a40b..05ac5fc 100644 --- a/README.md +++ b/README.md @@ -170,6 +170,18 @@ LED Panel numbering: **Primitive Remote Control** +One of our end goal is to integrate a dashboard to do high level control for the blimps. While we are still working on that front, we created a primitive remote controller using the Arduino Serial Monitor from another ESP32 to control a blimp. Here's how to do it: +1. Using another ESP32, stack a Neopixel LED Panel on top of it for debugging purposes +2. Connect the ESP32 to a computer using a USB cable +3. Go to the "Remote Controller" directory in "Codes" folder and open the "MainRemoteController.ino" file in your Arduino IDE. +4. Before you start using it, there is one thing you need to do which is to change the ID of the blimp you want to receive command. The line of code in the file is: + + const uint32_t BLIMP_ID = 88789821; + +5. Change the ID correponding to your ESP32 node ID that you are using on the blimp +6. If all are connected properly, open up your Serial Monitor and press G. This should display the mesh network topology and it should show that the controller and the blimp are connected. +7. In order to send a command, you need to include the blimp position in the mesh topology in addition to the command in the format "Node Position + Message". For example, if your node position is 0, the string you need to send to change the color threshold to red would be "0C5" in the Serial Monitor. If your node position is 1, then the message you want to send when you want to change the P and I constant values will be "1TP0.2 I0.25" + 1. Install OpenMV Arduino RPC Library into your Arduino IDE. 2. At the top of your main code, include the following lines to create the i2c interface that the OpenMV will communicate with the feather: -- GitLab