Skip to content

Supercaly/hexiwear-handwash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hexiwear hand wash

Repository for the Hexiwear hand wash project.

Get Started

This project is based on mbed OS 6, to use it you need the mbed cli 2 compiler toolchain. Follow this instructions to install it.

Mbed CLI needs Git to download the dependencies, so you’ll also need to install it. This project uses by default the GCC_ARM compiler, so you need to install it too.

To compile and flash the program run this command

$ mbed-tools compile -t GCC_ARM -m HEXIWEAR -f

To build C/C++ code for the ARM processor using the GCC_ARM compile you need the gcc-arm-embedded toolchain. Install it on macos with homebrew:

$ brew install --cask gcc-arm-embedded

Program the KW40Z

Tho have access to the Bluetooth Low Energy and the buttons of the Hexiwear you need to flash the KW40Z binary file downloadable here. After you have downloaded the .bin file set the switch in the docking station to 00111111 and copy the file to the mounted device to flash it.

Read Hexiwear output

The program can print some logs to his standard output, to read those you need to establish a serial connection to the device.

The default method is using the mbed cli 2 by appending -s/--stream to the end of the mbed-tools compile command.

Another method is using an external program, the suggested one is picocom

$ picocom --imap lfcrlf /dev/serial/device

About

Repository for the Hexiwear hand wash project.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published