Skip to content

gblach/Sunmachine-A3-fw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sunmachine-A3-fw

The firmware for the Sunmachine-A3-pcb board. It allows to control WS2812, SK6812 or similar LED strips via Bluetooth LE. It supports both RGB and WWA LEDs. Boards with this firmware can be controlled using the Sunmachine-app mobile app.

Installing pre-built firmware

Pre-built firmware is saved in Sunmachine-A3-fw.hex file.

The firmware can be uploaded using the nRF Connect for Desktop or nRF Command Line Tools. Depends on whether you want to use GUI program or the command line.

You also need an appropriate programmer, the standalone Segger J-Link or the on-board Segger J-Link (this can be found for e.g. on nrf52840dk board). This programmer must be connected to Tag-Connect 2050 connector on the board and to your PC.

Building from source code

Instead of using pre-built firmware, you can build it from source. To do this, you must have the Zephyr development environment installed. Follow these instructions to install it on your system.

To build the firmware, run the following command. "./Sunmachine-A3-fw" is a path to the source code directory.

west build -b sma3 ./Sunmachine-A3-fw

And then, to upload the firmware to the board, you need an appropriate programmer. When connected, run the following command:

west flash

Upgrade over Bluetooth LE

Once installed the firmware can be upgraded over Bluetooth using BLE DFU profile. To upload new firmware you can use for e.g. nRF Connect Device Manager.

About

Firmware for the Sunmachine-A3-pcb board.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published