Difference between revisions of "Cutipy-MicroPython Bluetooth LE demo"

From wiki.emacinc.com
Jump to: navigation, search
Line 11: Line 11:
 
===Steps===
 
===Steps===
  
''''ON YOUR PC:''''
+
'''ON YOUR PC:'''  
 
<cl>
 
<cl>
 
1. Connect your CutiPy to your personal computer (Steps covered here)
 
1. Connect your CutiPy to your personal computer (Steps covered here)
 
* Copy blechat.py into the CutiPy drive
 
* Copy blechat.py into the CutiPy drive
 +
* Reset your CutiPy board to update the file system
 +
 +
 +
'''ON YOUR ANDROID DEVICE:''' <br/>
 +
* Download the BLE Scanner App from the Google '''Play Store'''
 +
* Open the app
 +
* Find the '''EMAC Demo''' entry. It will have the Alias ''cutipy''
 +
 +
 +
</cl>

Revision as of 16:50, 18 October 2019

Intro

Here we will demonstrate basic Bluetooth LE (low energy) connectivity between an android device and a CutiPy running MicroPython. The application will connect to the CutiPy via the onboard RS9116 radio module, once connected the user can 'wirelessly' toggle an led and send text messages to the LCD.

Required Materials

  1. Android device (Smartphone)

  2. CutiPy device running MicroPython

  3. A personal computer

Steps

ON YOUR PC:

  1. Connect your CutiPy to your personal computer (Steps covered here)

  2. Copy blechat.py into the CutiPy drive

  3. Reset your CutiPy board to update the file system


    ON YOUR ANDROID DEVICE:

  4. Download the BLE Scanner App from the Google Play Store

  5. Open the app

  6. Find the EMAC Demo entry. It will have the Alias cutipy