atc1441 / D6-arduino-nRF5

D6 Fitness Tracker Arduino Core for Nordic Semiconductor nRF5 based boards
Other
21 stars 9 forks source link

D6 Fitness Tracker Arduino Core for Nordic Semiconductor nRF5 based boards

This core is edited for the D6 Fitness Tracker, it is original from here https://github.com/sandeepmistry/arduino-nRF5

This is the Installable version of the Portable version shown in this Video: (Click on the Picture to watch the Video) YoutubeVideo

After installation the Core works as in the Video

Here is the D6Flasher on Google Play-store with the Flasher it is Possible to flash the Created firmware over the air, please view the Youtube Video.

Installing

Board Manager

  1. Download and install the Arduino IDE (At least v1.6.12)
  2. Start the Arduino IDE
  3. Go into Preferences
  4. Add https://atc1441.github.io/D6Library/package_nRF5_boards_index.json as an "Additional Board Manager URL"
  5. Open the Boards Manager from the Tools -> Board menu and install "D6 Tracker by ATC1441"
  6. Select the DSD6 Tracker board from the Tools -> Board menu
  7. You will find the DFU update file in a folder like this on windows. C:\Users\USERNAME\AppData\Local\Temp\arduino_build_RANDOM\SKETCHNAME.ino.zip

NOTE: During installation it takes the Arduino IDE a few minutes to extract the tools after they have been downloaded, please be patient.

Adafruit's nrfutil tools

adafruit-nrfutil (derived from Nordic pc-nrfutil) is needed to create the OTA update file.

Driver Setup for St-Link

  1. Download Zadig
  2. Plugin St-Link board
  3. Start Zadig
  4. Select Options -> List All Devices
  5. Plug and unplug your device to find what changes, and select the St-Link from the device dropdown
  6. Click Replace Driver / Install Driver

NOTE: To roll back to the original driver go to: Device Manager -> Right click on device -> Check box for "Delete the driver software for this device" and click Uninstall

Pinout, Flashfiles and Espruino Version

Here Fanoush made much work in the Espruino direction with the Pinout and Flash Backup files.

Credits

Copy from the Sandeepmistry core and edited to make D6 Fitness Tracker Compatible.

This core is based on the Arduino SAMD Core and licensed under the same LGPL License

Nrfutil taken from Adafruit nRF52 Library

The following tools are used: