# 2 off Pi Zero Communicating via Bluetooth

**URL:** <https://forum.core-electronics.com.au/t/2-off-pi-zero-communicating-via-bluetooth/17613>\
**Category:** Uncategorized\
**Created:** [18 July 2023 22:11 UTC](https://forum.core-electronics.com.au/t/2-off-pi-zero-communicating-via-bluetooth/17613 "2023-07-18T22:11:24Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bryan160034](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/bryan160034/32/8701_2.png) [@Bryan160034](https://forum.core-electronics.com.au/u/Bryan160034)\
**Post date:** [18 July 2023 22:11 UTC](https://forum.core-electronics.com.au/t/2-off-pi-zero-communicating-via-bluetooth/17613/1 "2023-07-18T22:11:24Z")

</div>

Hello. I am attempting to have 2 pi zero communicate via bluetooth however several errors occur.  
I can see the individual pi’s on my Android phone however pairing the two fails.  
_Failed to pair_ : _org.bluez.Error.AlreadyExists_ seems to be the main issue.  
I am not over experienced in these matters.  
Is there a fool proof approach.

Any offerings appreciated.

---

<div class="post-metadata">

**Author:** ![Liam](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/liam/32/3562_2.png) [@Liam](https://forum.core-electronics.com.au/u/Liam)\
**Post date:** [19 July 2023 01:54 UTC](https://forum.core-electronics.com.au/t/2-off-pi-zero-communicating-via-bluetooth/17613/2 "2023-07-19T01:54:18Z")

</div>

Hi Bryan,

I found a couple of guides that might be able to help you!

> <https://stackoverflow.com/questions/70424964/how-to-communicate-between-two-raspberry-pi-via-bluetooth-and-send-sensor-data-f>

[https://bluedot.readthedocs.io/en/latest/pairpipi.html#using-the-desktop](https://bluedot.readthedocs.io/en/latest/pairpipi.html#using-the-desktop)

Would it be possible to send through the guides you are using and we can help out!  
Liam

---

<div class="post-metadata">

**Author:** ![Bryan160034](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/bryan160034/32/8701_2.png) [@Bryan160034](https://forum.core-electronics.com.au/u/Bryan160034)\
**Post date:** [19 July 2023 02:26 UTC](https://forum.core-electronics.com.au/t/2-off-pi-zero-communicating-via-bluetooth/17613/3 "2023-07-19T02:26:38Z")

</div>

Liam,  
Just out at the moment, will get back to you later.  
Thank you for you feedback.  
Bryan

---

<div class="post-metadata">

**Author:** ![Bryan160034](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/bryan160034/32/8701_2.png) [@Bryan160034](https://forum.core-electronics.com.au/u/Bryan160034)\
**Post date:** [19 July 2023 02:29 UTC](https://forum.core-electronics.com.au/t/2-off-pi-zero-communicating-via-bluetooth/17613/4 "2023-07-19T02:29:30Z")

</div>

Liam,  
Just had a look on my phone and the first link you offered is what I have been following.  
Bryan

---

<div class="post-metadata">

**Author:** ![Bryan160034](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/bryan160034/32/8701_2.png) [@Bryan160034](https://forum.core-electronics.com.au/u/Bryan160034)\
**Post date:** [19 July 2023 02:31 UTC](https://forum.core-electronics.com.au/t/2-off-pi-zero-communicating-via-bluetooth/17613/5 "2023-07-19T02:31:30Z")

</div>

Liam,  
I have also referenced your second offering. I will get back to you later.  
Bryan

---

<div class="post-metadata">

**Author:** ![Fractal](https://avatars.discourse-cdn.com/v4/letter/f/2bfe46/32.png) [@Fractal](https://forum.core-electronics.com.au/u/Fractal)\
**Post date:** [19 July 2023 10:25 UTC](https://forum.core-electronics.com.au/t/2-off-pi-zero-communicating-via-bluetooth/17613/6 "2023-07-19T10:25:38Z")

</div>

Hi Bryan  
I followed the document from the official website “Connecting to the Internet with Raspberry Pi Pico W”.

> **[connecting-to-the-internet-with-pico-w.pdf](https://datasheets.raspberrypi.com/picow/connecting-to-the-internet-with-pico-w.pdf)**
>
> 21.80 MB

Section 4 has information about Bluetooth LE

Section 6 covers working with Bluetooth in MicroPython.

The only tricky part was copying the library ble\_advertising.py to the Pico W. After that the examples ran without error.

---

<div class="post-metadata">

**Author:** ![Fractal](https://avatars.discourse-cdn.com/v4/letter/f/2bfe46/32.png) [@Fractal](https://forum.core-electronics.com.au/u/Fractal)\
**Post date:** [22 July 2023 01:57 UTC](https://forum.core-electronics.com.au/t/2-off-pi-zero-communicating-via-bluetooth/17613/7 "2023-07-22T01:57:33Z")

</div>

Hi Bryan

Sorry, I had a seniors moment. While you were unambiguously refering to the Pi zero I responded for the Pico W.

Given the great documentation for running BLE on the Pico W it is disappointing that the same is not available for the Pi 4/zero.

---

<div class="post-metadata">

**Author:** ![Bryan160034](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/bryan160034/32/8701_2.png) [@Bryan160034](https://forum.core-electronics.com.au/u/Bryan160034)\
**Post date:** [22 July 2023 02:59 UTC](https://forum.core-electronics.com.au/t/2-off-pi-zero-communicating-via-bluetooth/17613/8 "2023-07-22T02:59:51Z")

</div>

Fractal,  
I have been busy on other things and not yet looked at what you offered. Thanks for the follow up.  
Bryan

---

<div class="post-metadata">

**Author:** ![Bryan160034](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/bryan160034/32/8701_2.png) [@Bryan160034](https://forum.core-electronics.com.au/u/Bryan160034)\
**Post date:** [11 August 2023 00:56 UTC](https://forum.core-electronics.com.au/t/2-off-pi-zero-communicating-via-bluetooth/17613/9 "2023-08-11T00:56:19Z")

</div>

Fractal and all,

After much time I have given up on communicating via Bluetooth between 2 off Pi ZERO W. It sounds easy when reviewing the various examples. I followed the following procedure to the tee without any luck.

> <https://stackoverflow.com/questions/70424964/how-to-communicate-between-two-raspberry-pi-via-bluetooth-and-send-sensor-data-f>

If anyone has 2 x ZERO W and happy to give it a go I would welcome any feedback.  
In the mean time I am working with WiFi which does work well on the ZERO’s.

Thank you. Bryan
