Python Forum
Adding Bluetooth Help - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Adding Bluetooth Help (/thread-13259.html)



Adding Bluetooth Help - Tylersuard - Oct-07-2018

Hello. I've heard this forum is full of helpful, nice people.

I have the Google AIY Vision kit. I am using the Joy Detector Demo (https://github.com/google/aiyprojects-raspbian/blob/aiyprojects/src/examples/vision/joy/joy_detection_demo.py) which assigns a joy score depending on how much I am smiling.

I would like to have the AIY kit(Pi Zero W) send a bluetooth message to my phone whenever my "joy" score drops below the minimum (see lines 317-318 of the above code).

I've been trying for about a week to figure out how to do this, no dice. I can send and receive UART BTLE messages using a separate script (https://github.com/adafruit/Adafruit_Python_BluefruitLE/blob/master/examples/uart_service.py) but I cannot integrate the two scripts.

Any help would be very, very much appreciated.