OK1CDJ / M5AtomS3 Compass

Install M5AtomS3 Compass firmware

Tilt-compensated antenna compass: azimuth and elevation on the AtomS3 display and in your browser over WiFi. Flash it straight from this page — no IDE, no drivers.

M5Stack AtomS3 ESP32-S3 GY-511 (LSM303D) / QMC5883L firmware —
N

Before you connect

Connect & flash

This browser can't flash over USB. Open this page in Chrome, Edge, or Brave on a computer instead. This page needs to be loaded over HTTPS for the browser to allow a USB connection.

Click connect and choose the AtomS3 serial port from the browser prompt.

Updating? Leave “Erase device” unchecked: erasing removes the saved WiFi networks and the sensor calibration.

If the device does not connect

  1. Keep the AtomS3 plugged in.
  2. Hold the reset button on the side for about 2 seconds, until the green LED lights up.
  3. Release it: the AtomS3 is now in download mode.
  4. Click “Connect device” above and pick the port.
  5. After flashing, press the reset button once to start the firmware.

After flashing

  1. WiFi: without a known network the AtomS3 opens the access point Compass_Setup. Connect to it with a phone and pick your network on the setup page. Then open http://compass.local.
  2. Calibrate: hold the button under the display for 2–5 seconds. Turn the sensor in all directions for 30 seconds, then place it on a level surface.
  3. In the field: hold the button under the display while pressing reset to start with WiFi off and save battery.