Skip to content

Getting Started

Francis Lee edited this page Jun 10, 2020 · 2 revisions

Development Setup

  1. Follow modified instructions from https://docs.m5stack.com/#/en/quick_start/m5core/m5stack_core_get_started_Arduino_Windows, the reference instructions are for M5Stack Core, we are working on M5Stick, there is a difference. Ignoring this difference will cause your M5Stick to become unresponsive.

  2. Install Arduino IDE - Download Windows Installer instead of the ZIP file for non-admin install

  3. Install M5Stick Library from our repo instead of that provided by m5stack.

    • This is also how you would update the library whenever there are breaking changes.
    • Windows:
      • Copy the 'M5StickC-master' folder into your 'Documents\Arduino\libraries' folder
    • OSX:
      • [a little similar to Windows, let me know if someone tried it out]
  4. Skip the factory and Hello World test.

  5. Checkout our git repo for code: https://github.com/bettr-xyz/tracestick-firmware. Current code is in /alpha.

  6. Copy the BLE library from our repo and replace yours:

  7. Install the ArduinoJson library

Before you upload ANY code, open and ensure that Arduino is set to

  • Board: M5Stick-C
  • Partition Scheme: No OTA (Large App)

Hardware

It is known that the shipping times into SG can take quite a while. Another volunteer may have ordered in bulk and kept some stock, please reach out.

Debugging

Mechanical

Clone this wiki locally