Xadow Tutorial - Communicate via BLE


Have you ever thought this scene: Open phone, I can see the current barometric pressure or motion acceleration. the Xadow module can help you achieve this.

For this demo, you need to use the

  • Xadow Main Board

  • Xadow OLED

  • Xadow Accelerometer

  • Xadow BLE Slave

If you have learned to achieve Demo 1 and Demo 2, you just need to connect the Xadow Main Board, Xadow OLED, Xadow Accelerometer and Xadow BLE Slave modules and download the code:BLE_Slave.

Now you can open BLE_Slave INO file, compile and upload.

If you are just starting to use, please install Xadow driver referring to here. And ready to download the library:DigitalAccelerometer_ADX345 and sleep_FromArduino and put them on the libraries file of Arduino IDE by the path: ..\arduino-1.0.1\libraries after unzip._ Now you can open your phone’s bluetooth for observing data. When the accelerometer value is changed, then the bluetooth serial will display real-time data. Note that your phone’s bluetooth should be bluetooth 4.0 (iphone4S or above)and you need to download bluetooth serial tools. For more information, please refer to the usage of Xadow BLE Slave.

You can see there are two commands(ledon and ledoff) in the phone screen. They are used to control the GREEN indicator state. Have a try!


Demo3 BLESlave Code

Help us make it better

Thank you for choosing Seeed. A couple of months ago we initiated a project to improve our documentation system. What you are looking at now is the first edition of the new documentation system. Comparing to the old one, here is the progresses that we made:

  • Replaced the old documentation system with a new one that was developed from Mkdocs, a more widely used and cooler tool to develop documentation system.
  • Integrated the documentation system with our official website, now you can go to Bazaar and other section like Forum and Community more conveniently.
  • Reviewed and rewrote documents for hundreds of products for the system’s first edition, and will continue migrate documents from old wiki to the new one.

An easy-to-use instruction is as important as the product itself. We are expecting this new system will improve your experience when using Seeed’s products. However since this is the first edition, there are still many things need to improve, if you have any suggestions or findings, you are most welcome to submit the amended version as our contributor or give us suggestions in the survey below, Please don’t forget to leave your email address so that we can reply.

Happy hacking