Close

Firmware is available in github

A project log for FAIO - Feather All-in-One Switch

What if you could have a universal switch interface that could support different types of switches all-in-one device?

miladMilad 10/12/2017 at 06:080 Comments

The firmware (FAIO_Firmware) can be downloaded from the GitHub repository under software directory.

https://github.com/milador/FAIO/tree/master/Software/FAIO_Firmware

The firmware includes three files:

Note: Make sure all three files are included in your local copy of FAIO_Firmware directory before uploading it to the Adafruit Feather 32u4 Bluefruit LE board.

The downloaded firmware can be uploaded to the Adafruit Feather 32u4 Bluefruit LE board in FAIO Switch using Arduino IDE which you can download from Arduino official website.

https://www.arduino.cc/en/Main/Software

There is a great instructions manual on how to use Arduino IDE and Adafruit Feather 32u4 Bluefruit LE board which can help you get started using Arduino IDE and install necessary Adafruit drivers.

https://learn.adafruit.com/adafruit-feather-32u4-bluefruit-le/using-with-arduino-ide

FAIO Switch is using nRF51 Bluetooth chip to communicate with host devices. Bluetooth communication might seem complicated but Adafruit has made the bluetooth communication process less challenging by providing Adafruit nRF51 BLE Library which you can download from Adafruit and import it to your locally installed Arduino directory under libraries directory.

https://github.com/adafruit/Adafruit_BluefruitLE_nRF51

The instructions on how to install Adafruit nRF51 BLE Library can be found in following link:

https://learn.adafruit.com/adafruit-feather-32u4-bluefruit-le/installing-ble-library

You can go ahead and upload the downloaded firmware (FAIO_Firmware.ino) to Adafruit Feather 32u4 Bluefruit LE board using Arduino IDE once all the necessary libraries are installed.

It’s very important to make sure the correct Board and port number are selected as selecting the wrong board may result problems with bootloader of Adafruit Feather 32u4 Bluefruit LE board.

Here you can see an example of my selected Board and port number.

Note: Your port number won’t be the same

You can now go ahead and upload the firmware. Arduino IDE will show you a “Don uploading” message indicating the firmware is uploaded to your FAIO Switch.

The LED on the FAIO main board blinks two times in red and green to indicate the start of initialization process has been started and it will blink again two times in red and green to indicate end of the initialization process.

You can also open the Serial Monitor in Arduino IDE ON 9600 baud rate to read initialization information.

Discussions