- Biomedical Development Platform for Wearable Device (Video)
This document includes the following content:
-
[For user] Using the Factory Settings to get the data easily with main board (TriBLE) and sensor boards.
-
[For developer] Basic information you need to know about the TriBLE as a micro-controller.
-
A. TriBLE has 3 channels to connect with sensor boards. The channel names are shown in the following figure.
-
B. Quick steps to start-up:
- Select sensor boards and software
- Sensor board: ECG、EMG、PPG、EEG、Breath、Temp
- Software - iOS, Android and PC Application for Tri_BLE
- Power on TriBLE and assemble sensor boards on it.
- Connect TriBLE and Software then get biosignal!
- Select sensor boards and software
-
C. An start-up example:
-
Select TriECG and TriPPG as sensore boards and choose iOS apps as Software
-
iOS Apps: Scan, connect then start showing biosignal
*
-
D. Other firmware with different case:
-
For wireless communication
- Firmware:
- Factory Settings:TriBLE Official Firmware <--works on iOS / Android / PC
- TriBLE 1~10: Same as TriBLE Official Firmware with number)
- TriPPG Pro Ver.K: Use for TriPPG Pro daughter module
- TriBLE-YuCloth: Use for YuCloth sensor with TriResp and TriECG daughter module
- Software:
- Firmware:
-
For wired communication
- Firmware:
- TriAnswer UART FW - Ver.S
- Software:
- Firmware:
-
-
E. How to change factory settings firmware to others?
- YuTech TriBLE Firmware Programmer
- Arduino BSP Method
- a. Install Arduino Board Support Package (BSP)
- b. Launch Arduino IDE
- c. Select Tools > Programmer >
TriBLE Official Firmware
(for wireless communication) orTriAnswer UART FW - Ver.S
(for wired communication)
- d. Select
Tools > Port > COMXX (Yutech TriBLE nRF52840)
- e. Select
Tools > Burn Bootloader
- f. Wait about 5~10 sec, if jump out the following commends, it's means UNSUCCESS, please follow the following steps.
- g. Select
Tools > Port > COM YY (Yutech TriBLE nRF52840)
(YY won't be equal to XX) - h. Select
Tools > Burn Bootloader
- i. Wait about 10~30 sec, it's means SUCCESS if the following commends are shown.
-
a. Environment establish: Install Yutech nRF52 Board Support Package (BSP) via Arduino Board Manager
- I. Download and install the Arduino IDE (At least v1.6.12)
- II. Start Arduino IDE (for linux users, please start Arduino IDE under sudo su (run the command
aruidno
after run the commandsudo su
in command line)) - III. Go to File -> Preferences
- IV. Add https://raw.githubusercontent.com/YuTecHealth/silver-bassoon/master/package_Yutech_index.json as an 'Additional Board Manager URL'
- V. Restart the Arduino IDE (for linux user, please run the following command
sudo pip3 install adafruit-nrfutil
orsudo pip install adafruit-nrfutil
in command line before starting Arduino IDE) - VI. Select the Boards Manager
- VII. Once the BSP is installed, select 'Yutech TriAnswer Boards (nRF52 Series)' from the Tools -> Board, which will update your system config to the right compiler and the correct settings for the TriBLE main Board. Complete installation for Yutech nRF52 BSP!
- (Appendix 1) How to change language.
* File -> Preferences -> Editor language
- (Appendix 2) Window 7 need extra drivers
- Yutech board driver for win 7 is needed for accessing COM port when using TriBLE in win 7.
- More information about driver
-
b. UPLOAD and run your codes
- I. Select an example Code (
File > Examples > Examples for Yutech TriBLE nRF52840 > TriBLE Tutorial
) or make your own codes. - II. Connect your TriBLE with your PC. (Recommendation: Use the USB as power source)
- III. Select
Tools > Board > Yutech TriAnswer Boards (nRF52 Series) > Yutech TriBLE nRF52840
- IV. Select
Tools > Port > COMXX (Yutech TriBLE nRF52840)
- V. Press
(Compile + Upload), or press
(Compile), and then press
(Upload)).
- Upload successfully 👋 Shows "Device programmed"
- I. Select an example Code (
- a. Get started: Install Arduino BSP and find the example code.
- b. Software display signal:
- c. Trianswer Eyes Control LED Lab by EOG (Combined with Raspberry Pi 4)
(Download Resource)
(Demo Video)
Method 1: Connect TriBLE board to PC through USB cable only.
Method 2: Connect TriBLE board to PC through both J-Link device and USB cable. (Fatal error only)
--------------------------------------------------------------
Method 1
- I. Select
Tools > Board > Yutech TriAnswer Boards (nRF52 Series) > Yutech TriBLE nRF52840
- II. Select
Tools > Port > COMXX (Yutech TriBLE nRF52840)
- III. Select
Tools > Programmer > DFU for TriBLE nRF52
- IV. Select
Tools > Burn Bootloader
- V. Wait about 20~30 sec.
- Figure of successful burning
Method 2
- I. To use J-Link, user should install the driver Here.
- II. Choose your OS and click to download.
- III. Install the driver.
- IV. Connect TriBLE and J-link to your PC.
- V. Launch Arduino IDE.
- VI. Select
Tools > Board > Yutech TriAnswer Boards (nRF52 Series) > Yutech TriBLE nRF52840
- VII. Select
Tools > Programmer > J-link for TriBLE nRF52
- VIII. Select
Tools > Burn Bootloader
and pressAccept
- IX. Wait about 20~30 sec.
- Figure of successful burning
- Please check whether your arduino IDE has the comments shown in the following figure after doing the steps in TriBLE Default Firmwares / Apps - Firmware setting steps.
- Don't remove your device and re-do Step 4~6 of TriBLE Default Firmwares / Apps - Firmware setting steps.
- Please install the driver. (Yutech board driver for win 7)
- Commonly, there will be a long waiting time for COM-Port search (about 1~2 mins) when it is used at the first time.
- Maybe, you will encounter another long waiting time for COM-Port search when you solve Q1. (Don't remove your device from PC, JUST WAIT !!!!!!)
- Please download the previous Arduino IDE version. (1.8.11 is recommended !!!!)
Shows "java.lang.NullPointerException"
(The folder AppData may be hidden. To show the folder, please follow the step in the figure below.)
- Delete this folder "C:\Users[username]\AppData\Local\Arduino15\cache".
- Delete this folder "C:\Users[username]\AppData\Local\Arduino15\packages\Yutech".
- Delete this file "C:\Users[username]\AppData\Local\Arduino15\package_Yutech_index.json".
- Follow the Step 6~7 of BSP Installation to re-install the BSP.