Intro

Developing firmware for Microfloat

Setup

Installation

  • Clone repo
git clone https://github.gatech.edu/Aquabots-VIP/micro-float.git
  • Switch to web-server branch
git checkout web-server

Build source code

  • Click PlatformIO Icon in VS Code → “Pick a Folder” → open Microfloat_Firmware folder
  • Click Build button in the Project Tasks section

Wokwi Simulation

picture 0

Run the simulation in VS code

We do everything in VS Code b/c Browser version doesn’t support our folder structure and can flash to real esp32 via VS Code.

  • Open diagram.json file in the Microfloat_Firmware/simulation folder
  • Click play button to start simulation
  • Access firmware webpage http://localhost:8180/

Run Wokwi simulation in browser

The browser version is used because buoyancy doesn’t work in vs code simulation. The browser version also has a linear potentiometer and set of dip switches https://wokwi.com/projects/411474827841709057