Line: 1 to 1 | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
%DASHBOARD{ section="banner" | |||||||||||||
Line: 7 to 7 | |||||||||||||
titlestyle="color:#F00000;"
}%
| |||||||||||||
Added: | |||||||||||||
> > | BLE Application Software for the Velo Bling-Bling ProjectLED lights for bicycle wheels. 16 multi color LEDs on each side (PCB top- and bottom side). There are two windows (upper and lower) on each side for display dynamic information like speed, trip time, trip distance, etc. or static information like strings and images. The windows have a resolution of 100 x 16 pixels. The space between the windows can be filled with a pattern/image (AKA blingbling). This application software runs on the BL600 Module (BLE slave) and communicates over the UART and I2C interface with the main MCU (MK22DX256VLF5). BLE Master (e.g. Smart Phone) <-> BLE Slave BL600 UART & I2C <-> main MCU The BLE Master can use the propriarity vSP Bridge Mode to communicate over the UART with the main MCU like a serial terminal (Command Line Interface CLI). The Cycling Speed and Cadence Service (CSC) is a standard Bluetooth service, data are exchanged between main MCU and BL600 by I2C. The USB CDC on the main MCU can be used as a terminal interface for the BL600 module. You can use the UwTerminalX![]() CopyrightPeter Schmid, Zurich, Switzerland, peter@spyr.ch This file is part of "Velo Bling-Bling" BLE application software. "Velo Bling-Bling" software is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. "Velo Bling-Bling" is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with "Velo Bling-Bling". If not, see <http://www.gnu.org/licenses/>. | ||||||||||||
Tools | |||||||||||||
Added: | |||||||||||||
> > | UwTerminalXUwTerminalX is a cross-platform utility for communicating and downloading applications onto Laird's range of wireless modules, and uses Qt 5. UwTerminalX has been tested on Windows, Mac, Arch Linux and Ubuntu Linux. More infos and download, see UwTerminalX![]() Bluetooth Low Energy (BLE) Development Kit DVK-BL600The Laird BLE development kit provides a platform for rapid wireless connectivity prototyping, providing multiple options for the development of Bluetooth Low Energy (BLE) applications. You can use the Velo Bling-Bling hardware in similar way to develop an download BLE applications. You do not need a DVK-BL600. Unfortunately the UwTerminalX can not communicate with the Velo Bling-Bling USB CDC (/dev/ttyACM ) under GNU/Linux, you have to use Windows ![]() Segger J-Link LITE CortexMThis debug adapter is included in the Bluetooth Low Energy (BLE) Development Kit DVK-BL600. This adapter is needed for downloading a new BL600 firmware. | ||||||||||||
| |||||||||||||
Changed: | |||||||||||||
< < | Repository | ||||||||||||
> > | Get the Software and Download the Application to the ModuleGet the Source from the RepositoryThe Velo Bling-Bling BL600 application software is on the GitHub repository https://github.com/spyren/veloblingbling-ble![]() ![]() ![]() psi@homer:~/veloblingbling> git clone https://github.com/spyren/veloblingbling-ble Klone nach 'veloblingbling-mcu' ... remote: Counting objects: 265, done. remote: Compressing objects: 100% (97/97), done. remote: Total 265 (delta 167), reused 260 (delta 166), pack-reused 0 Empfange Objekte: 100% (265/265), 223.50 KiB | 0 bytes/s, Fertig. Löse Unterschiede auf: 100% (167/167), Fertig. Prüfe Konnektivität ... Fertig. psi@homer:~/veloblingbling> Download the Application into the BL600 Module1. Connect TerminalConnect the the Velo Bling-Bling USB to the PC with a Micro-USB cable. Start the terminal program (UwTerminalX). Choose the the communication (serial) port and click the OK button.![]() CLI> prompt.
![]() CLI> ble reset CLI> ble transShow the firmware version: ati 3 ![]() 2. Delete the File Systematz at&f 1 ![]() 3. Download and Compile the LP ApplicationPress the right mouse button and selectXCompile + Load . Choose the file lp.low.power.deep.sleep.sb .
![]() 4. Download and Compile the BLING ApplicationPress the right mouse button and selectXCompile + Load . Choose the file bling.vsp.sb
5. Check Filesystemat+dirThe applications lp and bling have to be listed.
![]() Update the BL600 FirmwareThis is only needed if you want to use a new BL600 firmware (Velo Bling-Bling works with version 1.5.70.0 and newer, 1.2.54.0 is not tested). Firmware update is only possible with a debug adapter (e.g. Segger J-Link LITE CortexM) over the JTAG interface.1. Connect TerminalConnect the the Velo Bling-Bling USB to the PC with a Micro-USB cable. Start a terminal program (e.g. UwTerminalX). Hit the Escape-Key, wait for theCLI> prompt and type
CLI> ble reset CLI> ble transShow the firmware version: ATI 3 10 3 1.2.54.0 00 2. Connect Debug AdapterConnect a debug adapter to the JTAG connector.3. Save the License KeyWith a terminal program (e.g. UwTerminalX):ATI 49406 10 49406 1696553225C4BC8CE19AWrite down the license key (similar to 1696553225C4BC8CE19A )
4. Download the FirmwareOn a Windows-PC start the the firmware batch program_DownloadFirmware_v1_5_70_0.bat unlicensed 5. Restore the License KeyWith a terminal program (e.g. UwTerminalX):AT+LIC "1696553225C4BC8CE19A" | ||||||||||||
Added: | |||||||||||||
> > |
| ||||||||||||
Line: 27 to 220 | |||||||||||||
| |||||||||||||
Added: | |||||||||||||
> > |
| ||||||||||||
|