Skip to content
Snippets Groups Projects
Commit 26d8aebd authored by Shahrul Kamil bin Hassan's avatar Shahrul Kamil bin Hassan
Browse files

Update README.md

parent 7e8ac6f2
Branches main
No related merge requests found
...@@ -170,6 +170,18 @@ LED Panel numbering: ...@@ -170,6 +170,18 @@ LED Panel numbering:
**Primitive Remote Control** **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. 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: 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:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment