- Command - Zhao, Siting (01709075)
- Control - Lim, Joshua (01578189)
- Drive - Bodnar, Igor (01739540)
- Energy - Chau, Yan To (01705211)
- Integration - Kitikul, Chackrarat (01743965)
- Vision - Tan, Si Yu (01701371)
- ArduinoJson
- ESP32 API
- INA219_WE (Download from Arduino library manager)
- PubSubClient (Download from Arduino library manager)
- Arduino MegaAVR Boards (Download from Arduino library manager)
- Arduino IDE 1.8.15
- npm
- Python 3.X.X
- Mosquitto MQTT Broker v2.0.10
- Quartus 16.1
- NIOS II (comes with Quartus 16.1 installation)
- Board Name/Type: ESP32 Dev Module
- Partition: HUGE APP
- Board Name/Type: Arduino Nano Every
- Arduino will not accept sketch uploads if SMPS is not powered
- ESP32 will not upload if UART cables are still plugged in
- Follow "How to..." instructions within the Command_Subsystem folder for either local or AWS server
- Follow "Drive_Control_integration.ino" instructions within the Drive_Subsystem folder to setup APIs for the Arduino
- Configure
config.h
in/path/Control_Subsystem/Control_program/control_program
using the instructions within Control_Subsystem folder
- Turn on SMPS power, unplug UART cables
- Follow "How to start..." instructions within Command_Subsystem folder for either local or AWS server
- Run 'start_server.sh' within
/path/Command_Subsystem/server
- Upload the .sof file found in
/path/Vision_Subsystem/sof_elf_files/v8_final
using the Quartus Programmer - Upload the .elf file found in
/path/Vision_Subsystem/sof_elf_files/v8_final
using NIOS II - Upload the Arduino file
Drive_Control_Integration.ino
found in/path/Drive_Subsystem/Arduino_Code
using the Arduino IDE with the correct settings - Unplug the UART cables from the ESP32
- Upload the ESP32 file found in
/path/Control_Subsystem/Control_program/control_program
using the Arduino IDE with the correct settings - Plug in the UART cables
- Wait for LED8 on SMPS to turn on before sending instructions
- Navigate to the website
npm start
opened - Login using the appropriate credentials found within the Command_Subsystem folder
- Select Discrete or Coordinate mode from the top menu
- Send instructions using boxes the provided fields