“Microduino BT Serial port Transmits Data to IOS Device”的版本间的差异
(Created page with "{{Language|Microduino-BLE_IOS}} {| style="width: 800px;" |- | ==Outline== Project: Having communication between Microduino-BT and IOS device. Purpose: IOS device sends char...") |
853387039@qq.com(讨论 | 贡献) (→Document) |
||
第42行: | 第42行: | ||
==Document== | ==Document== | ||
− | Program Download: | + | Program Download:[[File:BT.zip]] |
==Debugging== | ==Debugging== |
2015年10月15日 (四) 08:29的最新版本
Language | English |
---|
OutlineProject: Having communication between Microduino-BT and IOS device. Purpose: IOS device sends character string through Microduino-BT to Microduino-Core and shows it on OLED. Difficulty: Elementary Time-consuming: 20-minute Maker: Microduino Studio-YLB Bill of Material
Arduino IDE(version 1.0 and higher). You can download and install LightBlue from App Store;
DocumentProgram Download:文件:BT.zip Debugging | ||||||||||||||||||
Step 1: Start Arduino IDE, open Microduino test program choose the board Microduino-Core(Atmega328P@16M,5V); Step 2: Stack Microduino-USBTTL, Microduino-Core and Microduino-BT together and plugin microUSB cable for program download. 文件:Ble-ios-system.jpg 202KIT-OK Step 3: Start the Bluetooth function of IOS device; Step 4: Open LightBlue, select “Microduino” in “Peripherals Nearby” and then click connection. Step 5: LED indicator keeps on for 100ms every 5 seconds after successful connection. Meantime, you can see connection on IOS device and then select “Characteristic 6”; Step 6: Click “HEX” on the top right and select “UTF-8 String”; 文件:Ble- HEX.png 600px 文件:Ble- UTF-8 String.png 600px Step 7: Select “Write new value” and enter any data you want to send and then select “Done”. 文件:Ble- Write.png 600px 文件:Ble- Write-1.png 600px At this time, you can the character string on OLED. You can send “clean” to clear the display. 文件:Ble- OLED.jpg 600px |