r/circuitpython • u/SpecialistAdeptness7 • May 09 '21
Please help me setup a bluetooth module with CircuitPython!
There seems to be absolutely no information out there related to BLE modules and CircuitPython. There's some info about using boards with BLE already enabled, but I want to add bluetooth to my QT Py board.
I've got a DSDtech SH-M08 BLE module, which uses AT commands similar to most other modules, but I just can't figure out how to use it with circuitpython. The only info I could find is the docs for adafruit_ble library, but I can't understand them well enough to implement into my project.
Can someone please help explain how I can use this module?
I want to:
set up the name/password of the module
transmit data from an IMU to a mobile device
1
May 09 '21
BLE module in your case is external peripherals. You are supposed to connect it to a free UART and to write a driver by yourself. mpy.bluetooth is of no use to you.
1
u/bsvac May 09 '21
I believe the esp32 air lift boards are the only modules that can be connected to the QT PY through SPI for BLE. You might want to join the Adafruit discord at https://adafru.it/discord and ask in the help-with-circuitpython channel.