{"id":6568,"date":"2017-01-25T19:29:29","date_gmt":"2017-01-25T19:29:29","guid":{"rendered":"http:\/\/www.ifroglab.com\/en\/?p=6568"},"modified":"2017-01-25T19:29:29","modified_gmt":"2017-01-25T19:29:29","slug":"01-ifroglab-f-60-ble-sample-code","status":"publish","type":"post","link":"https:\/\/www.ifroglab.com\/en\/?p=6568","title":{"rendered":"01 iFrogLab F-60 BLE sample Code"},"content":{"rendered":"<h2>Introduction<\/h2>\n<ul>\n<li>Made in Taiwan iFrog Lab Bluetooth 4.0 BLE module F-60 UART<\/li>\n<li>BLE-Nordic nRF51822 Bluetooth 4.0 module (Single Mode)<\/li>\n<li>Ultra low power consumption<\/li>\n<li>Supports Apple iOS \/ Android Bluetooth 4.0 and provides sample programs<\/li>\n<li>BLE-Nordic nRF51822 Bluetooth module configuration 256KB space, follow the V4.1 BLE Bluetooth specification.<\/li>\n<li>Use the latest version of Nordic Softdevice S110 v8.0 to provide the most stable version of BLE Stack.<\/li>\n<li>The module supports UART interface, and supports SPP Bluetooth serial protocol, with low cost, small size, low<\/li>\n<li>power consumption, the advantages of high sensitivity transceiver, with only a few external components will be able to achieve its powerful function.<\/li>\n<li>Use of teaching, program examples, the original program<\/li>\n<\/ul>\n<h2>Example Code and \u00a0Source Code<\/h2>\n<p>Once the original program is purchased, it can be downloaded <a href=\"https:\/\/github.com\/iFrogLab\/iFrogLab_F-60_UART\">here<\/a> and can be found here on <a href=\"https:\/\/github.com\/iFrogLab\/iFrogLab_F-60_UART\">Github<\/a><\/p>\n<p>&nbsp;<\/p>\n<h2>Demo<\/h2>\n<ul>\n<li>BLE F-60 UART hardware module Bluetooth 4.0, Android control Arduino pin switch Demo<\/li>\n<li>BLE F-60 UART hardware module Bluetooth 4.0, Android and Arduino through the UART data transfer Demo<\/li>\n<li>BLE F-60 UART hardware module Bluetooth 4.0 Demo, iOS and Arduino through the UART data transfer Demo<\/li>\n<li>BLE FF-60 UART hardware module Bluetooth 4.0, to provide product information store features, and can immediately order the next Demo<\/li>\n<li>Other features of the show program, please see here<\/li>\n<\/ul>\n<p>buy<\/p>\n<p>You can purchase it here online<\/p>\n<p>2014-11-09 20.02.00<\/p>\n<p>Features:<\/p>\n<p>Can iOS system, iPhone, iPad connection<br \/>\nCan Android 4.3 connection<br \/>\nCan be used in Arduino<br \/>\nCan be used in Raspberry<br \/>\nBluetooth protocol: Bluetooth Specification V4.1 BLE, send and receive no byte limit<br \/>\nOperating frequency: 2.4GHz ISM band<br \/>\nModulation: GFSK (Gaussian Frequency Shift Keying)<br \/>\nSensitivity: \u2264-84dBm at 0.1% BER<br \/>\nTransmission rate: Asynchronous: 6 kbps Synchronous: 6 kbps<br \/>\nSecurity features: Authentication and encryption<br \/>\nSupport services: Central &amp; Peripheral UUID FFE0, FFE1<br \/>\nPower consumption: Auto-sleep mode, the standby current 400uA ~ 1.5mA, transmission 8.5mA.<br \/>\nPower supply: + 3.3VDC 50mA<br \/>\nAppearance size: 26.9mm x 13mm x 2.2mm<br \/>\nBluetooth Certification: ROHS REACH BQB<br \/>\nIFrogLab Bluetooth 4.0 BLE Module F-60Uart Sample Program and Source Code:<\/p>\n<p>You can use the ios Source Code here after purchase<\/p>\n<p>IOS example program, the most streamlined iOS sample program shows all the iBeacon, video teaching see here<br \/>\nIOS example program, and display all the iBeacon where the distance, the relevant introduction to see this<br \/>\nIOS sample program, to provide product information store features, and can place orders, related to see this<br \/>\nIOS and Arduino sample program, through iFrogLAB F-60 hardware UART to transfer data. Related to see this<br \/>\nAndroid APP sample program, grab the iBeacon signal program 1, teaching videos to see this<br \/>\nAndroid APP sample program, the first two capture iBeacon signal program, APK download<br \/>\nAndroid APP and Arduino sample program, through the iFrogLAB BLE F-60 hardware UART to transmit data, teaching videos to see this<br \/>\nAndroid APP control Arduino pin switch example of the program, see the introduction of this tutorial to see this video<br \/>\nPicture IFROGLAB F-60 Teaching Example ANDROID IOS Tree Plum ARDUINO Other original programs Download video description<br \/>\nArima sent to the text data to the Android device Android RPi here<br \/>\nAndrews control tree plum GPIO light switch Android RPi here<br \/>\nIOS iBeacon sample iOS here<br \/>\nArima tree to send text data to the iOS device iOS Arduino here<br \/>\n2014-11-02 08.58.52 HDR2014-11-02 08.55.21<\/p>\n<p>Features:<\/p>\n<p>Ultra low power consumption<br \/>\n6.3mA &#8211; TX at -4dBm (3V using on-chip DC-DC)<br \/>\n8.0mA &#8211; TX at 0dBm (3V using on-chip DC-DC)<br \/>\n11.8mA &#8211; TX at + 4dBm (3V using on-chip DC-DC)<br \/>\n9.7mA &#8211; RX (3V using on-chip DC-DC)<br \/>\n13mA &#8211; RX at 1 Mbps (No DC-DC)<br \/>\n10.5mA &#8211; TX at 0dBm (No DC-DC)<br \/>\n0.6\u03bcA &#8211; SYSTEM-OFF, no RAM retention<br \/>\n1.2\u03bcA &#8211; SYSTEM-OFF, 8KB RAM retention<br \/>\n2.6\u03bcA &#8211; SYSTEM-ON, All peripherals in idle mode<br \/>\n2.4 GHz Multi-protocol Radio<\/p>\n<p>+ 4dBm to -20dBm output power in 4dBm steps<br \/>\n-30dBm output power in whisper mode<br \/>\n-96dBm RX sensitivity at 250kbs<br \/>\n-90dBm RX sensitivity at 1Mbps<br \/>\n-85dBm RX sensitivity at 2Mbps<br \/>\n2 Mbps, 1 Mbps and 250 kbs supported data rates<br \/>\nExcellent co-existence performance<br \/>\nCPU processor<\/p>\n<p>32-bit ARM\u00ae Cortex \u2122 M0 32-bit CPU<br \/>\n2.4GHz Multi-protocol CPU<br \/>\nMemory:<\/p>\n<p>256 \/ 128KB embedded flash<br \/>\n32KB \/ 16KB RAM<br \/>\nSystem Peripherals:<\/p>\n<p>3 x 16\/24-bit timers with counter mode<br \/>\n16 channel CPU independent Programmable Peripheral Interconnect (PPI)<br \/>\nEncryption -128-bit AES ECB \/ CCM \/ AAR co-processor<br \/>\nRNG<br \/>\nRTC<br \/>\nTemperature sensor<br \/>\nPin:<\/p>\n<p>UART Rx 9600bps reception<br \/>\nUART Tx 9600bps transmission<br \/>\n3.3V<br \/>\nGround<br \/>\nHDR<\/p>\n<p>&nbsp;<\/p>\n<p>Differences between module F-60Uart and module F-60IPV6:<\/p>\n<p>F-60Uart and F-60IPV6 hardware is the same, but the difference between the firmware<br \/>\nThe F-60Uart is a module for Rx \/ Tx UART data transfer.<br \/>\nThe F-60IPv6 is a module designed for the functionality of IPv6.<br \/>\nThe following books are devoted to the module F-60UART:<\/p>\n<p>&#8220;Transformers Android 5 full evolution&#8221; Boshuo Press Author: Optimus Prime<\/p>\n<p>CHAPTER 20 Android 5 Internet of things, iBeacon, Bluetooth 4.0 BLE, Bluetooth Smart<br \/>\n20.1 Bluetooth 4.0 iBeacon APP design<br \/>\n20.2 Bluetooth 4.0 BLE Internet of things APP design<\/p>\n<p>&#8220;Android real guide &#8211; smart TV, smart watches, wear equipment, Bluetooth 4.0 and peripheral design&#8221;<br \/>\nTsinghua University Press Author: Optimus Prime<\/p>\n<p>CHAPTER 20 Android 5 Internet of things, iBeacon, Bluetooth 4.0 BLE, Bluetooth Smart<br \/>\n20.1 Bluetooth 4.0 iBeacon APP design<br \/>\n20.2 Bluetooth 4.0 BLE Internet of things APP design<\/p>\n<p>Chapter 20 Android5 Internet of things, iBeacon, Bluetooth 4.0BLE and BluetoothSmart &#8230; &#8230; 247<\/p>\n<p>20.1 Bluetooth 4.0iBeaconAPP Design &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230; &#8230; 247<\/p>\n<p>20.2 Bluetooth 4.0BLE Internet of Things APP design &#8230;&#8230;&#8230;&#8230; &#8230;&#8230;&#8230;&#8230; .. &#8230;&#8230;&#8230; 253<\/p>\n<p>&#8220;Raspberry Pi Stunning Project and Full Real Second Edition&#8221;<br \/>\nAcer Peak Press Author: Optimus Prime (published in March 2016)<\/p>\n<p>CHAPTER 26 Internet of Things, Bluetooth 4.0 Connectivity with the Smartphone<\/p>\n<p>26.1 Raspberry pie iBeacon<\/p>\n<p>26.2 Bluetooth 4.0 iBeacon APP design, display product information<\/p>\n<p>26.3 Java language control Raspberry GPIO<\/p>\n<p>26.4 with Android mobile phone through the Bluetooth 4.0 BLE transmission data to the raspberry pie<\/p>\n<p>26.5 in the raspberry sent through the Bluetooth 4.0 BLE to pass information to the Android phone<\/p>\n<p>26.6 with Bluetooth 4.0 BLE let mobile phone control Raspberry send LED, mobile phone set<\/p>\n<p>26.7 with Bluetooth 4.0 BLE let the phone control the raspberry pie LED, raspberry pie settings<\/p>\n<p>Screen Shot 2016-03-30 at 8.46.32 PM<\/p>\n<p>&#8220;IOS 9 APP full practitioners combat&#8221;<br \/>\nAcer Peak Press Author: Optimus Prime (published in April 2016)<\/p>\n<p>Bluetooth 4.0 BLE iBeacon &#8211; Mobile Phone Control Peripherals APP 1<\/p>\n<p>21.1 iOS Displays all iBeacon devices 2<\/p>\n<p>21.2 Display the distance of iBeacon 9<\/p>\n<p>21.3 iOS Send and receive data to Arduino devices<\/p>\n<p>&nbsp;<\/p>\n<p>After use Jia assessment constantly<\/p>\n<p>Screen Shot 2016-03-30 at 8.43.55 PM<\/p>\n<p>Show video<\/p>\n<p>BLE F-60 hardware module Bluetooth 4.0, install, set, compile iOS original program<\/p>\n<p>IOS controls the Windows 10 IoT Core GPIO pin switch on the Raspberry Pi<br \/>\nF-60 hardware module Bluetooth 4.0, update the firmware program 2\/2<\/p>\n<p>Windows 10 IoT Core on the Raspberry Pi do iBeacon, Android<\/p>\n<p>IOS controls the relay on the GPIO pin of the Windows 10 IoT Core on the Raspberry Pi and controls the home appliance switch<\/p>\n<p>Android controls the implementation of Windows 10 IoT Core on the Raspberry Pi on the GPIO pin switch<br \/>\nAndroid controls the implementation of Windows 10 IoT Core Raspberry Pi on the GPIO pin on the relay, and to control the appliance switch<br \/>\nWindows 10 IoT Core in the Raspberry Pi do UART and iOS to pass information<br \/>\nBLE F-60 hardware module Bluetooth 4.0, install, set, compile the original Andriod program<\/p>\n<p>Windows 10 IoT Core in the Raspberry Pi do UART and Android transfer data<\/p>\n<p>Windows 10 IoT Core to do iBeacon on Raspberry Pi, iOS<br \/>\nAndroid display tempture Android mobile phone display temperature<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Q &amp; A problem set<\/p>\n<p>After using Raspberry Pi 3 connection, why will the following login text<\/p>\n<p>Unnamed<\/p>\n<p>Q:<\/p>\n<p>This is because the raspberry RX \/ TX smoothly open,<br \/>\nRaspberry system default RX \/ TX is taken with the TTL function,<br \/>\nYou need to remove the program from the system with the following settings<br \/>\nSolution, see<br \/>\nHttp:\/\/sammyherring.co.uk\/raspberry-pi-3-uart\/<br \/>\nor<br \/>\nHttps:\/\/www.abelectronics.co.uk\/kb\/article\/1035\/raspberry-pi-3-serial-port-usage<br \/>\nQ: When using the official example, the editor compiles the Android sample in Eclipse with the android-support-v7-appcompat error<\/p>\n<p>A: That is the need<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Made in Taiwan iFrog Lab Bluetooth 4.0 BLE module F-60 UART BLE-Nordic nRF51822 Bluetooth 4.0 module (Single Mode) Ultra low power consumption Supports Apple iOS \/ Android Bluetooth 4.0 and provides sample programs BLE-Nordic nRF51822 Bluetooth module configuration 256KB space, follow the V4.1 BLE Bluetooth specification. Use the latest version of Nordic Softdevice S110 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":6569,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6568","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.ifroglab.com\/en\/index.php?rest_route=\/wp\/v2\/posts\/6568","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ifroglab.com\/en\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ifroglab.com\/en\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ifroglab.com\/en\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ifroglab.com\/en\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6568"}],"version-history":[{"count":1,"href":"https:\/\/www.ifroglab.com\/en\/index.php?rest_route=\/wp\/v2\/posts\/6568\/revisions"}],"predecessor-version":[{"id":6570,"href":"https:\/\/www.ifroglab.com\/en\/index.php?rest_route=\/wp\/v2\/posts\/6568\/revisions\/6570"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ifroglab.com\/en\/index.php?rest_route=\/wp\/v2\/media\/6569"}],"wp:attachment":[{"href":"https:\/\/www.ifroglab.com\/en\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6568"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ifroglab.com\/en\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6568"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ifroglab.com\/en\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6568"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}