Pairing two WiPy 3.0 with BLE.
-
Hello guys !
I’m currently working on a project with two WiPy 3.0. The goal of this project is to send a voltage from the first WiPy 3.0 to the second WiPy 3.0 with Bluetooth and more particularly with BLE. Here a schematic of my project for a better understanding :

I currently know how to read the voltage, I’ve no problem with this. Here the code that I use :
adc = machine.ADC() apin1 = adc.channel(pin='P13', attn = machine.ADC.ATTN_6DB) val1 = apin1()But, I have a problem with the BLE. First I don’t know how to match the two WiPy 3.0. So here are my question :
1 - How to match the two WiPy 3.0 ? I know that there are some examples in the documentation but it didn’t work for me.
2 - Why the connection is refused when I used the fonction “bluetooth.connect(mac_addr)” ? Don’t worry I know how to get the MAC adress of the WiPy 3.0
3 - Finally, what should I put in the boot.py file ?Thank you in advance for your response.
Victor
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login