Microduino BT Serial port Transmits Data to IOS Device
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: 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 |