# Bluetooth HC-05/06 simple setup?

**URL:** https://forum.xod.io/t/bluetooth-hc-05-06-simple-setup/1372
**Category:** Uncategorized
**Created:** [November 15, 2018, 4:33pm UTC](https://forum.xod.io/t/bluetooth-hc-05-06-simple-setup/1372 "2018-11-15T16:33:31Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![marty](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@marty](https://forum.xod.io/u/marty)
#### Post date: [November 15, 2018, 4:33pm UTC](https://forum.xod.io/t/bluetooth-hc-05-06-simple-setup/1372/1 "2018-11-15T16:33:31Z")

</div>

Anyone has a “manual” for a simple setup of a Bluetooth module HC-05 or 06 how the Arduino receives Text strings from a paired device ?  
Searched everywere - found one for a BLE - but still way to complicated for me as a “newbie” 😉  
Thanks already in advance

---

<div class="post-metadata">

### Author: ![marty](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@marty](https://forum.xod.io/u/marty)
#### Post date: [November 15, 2018, 11:56pm UTC](https://forum.xod.io/t/bluetooth-hc-05-06-simple-setup/1372/2 "2018-11-15T23:56:15Z")

</div>

ok was trying a bit and got some progress  
BUT  
does anyone know how to “map” a certain text coming from an device via bluetooth to a certain output/pin of an arduino ?

---

<div class="post-metadata">

### Author: ![cesars](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@cesars](https://forum.xod.io/u/cesars)
#### Post date: [November 16, 2018, 3:14am UTC](https://forum.xod.io/t/bluetooth-hc-05-06-simple-setup/1372/3 "2018-11-16T03:14:47Z")

</div>

I recommend you read the following article is excellent,  
It can be useful.  
To send strings you must convert them to byte and then from byte to string

> **[Simple UART communication protocol in XOD – Max Danilin – Medium](https://medium.com/@gpeople/simple-uart-communication-protocol-in-xod-9ce67cc69d3c)**
>
> You can use this library to create own simple byte communication protocols. Using own protocol you can transfer byte packets of data from one device to another without fear of breakage or loss. You…

---

<div class="post-metadata">

### Author: ![marty](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@marty](https://forum.xod.io/u/marty)
#### Post date: [November 16, 2018, 10:09am UTC](https://forum.xod.io/t/bluetooth-hc-05-06-simple-setup/1372/4 "2018-11-16T10:09:19Z")

</div>

Thanks for the tip - Ill play around with it 😉

---

<div class="post-metadata">

### Author: ![vanilord](https://avatars.discourse-cdn.com/v4/letter/v/71c47a/32.png) [@vanilord](https://forum.xod.io/u/vanilord)
#### Post date: [February 5, 2019, 8:37am UTC](https://forum.xod.io/t/bluetooth-hc-05-06-simple-setup/1372/5 "2019-02-05T08:37:30Z")

</div>

Did you manage to get your HC-05 working ? And if so, how ?

---

<div class="post-metadata">

### Author: ![marty](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@marty](https://forum.xod.io/u/marty)
#### Post date: [February 5, 2019, 11:19am UTC](https://forum.xod.io/t/bluetooth-hc-05-06-simple-setup/1372/6 "2019-02-05T11:19:24Z")

</div>

Sort of - doesnt work perfect but good enough for this project  
I used the standard soft-uart and read-byte node the receive the incoming bytes via the HC-05 and then converted the bytes via u8-to-number and processed it accordingly.  
Instead of text I just let the programm send numbers via Bluetooth - therefore its easier to work with.  
Cheers

---

<div class="post-metadata">

### Author: ![vanilord](https://avatars.discourse-cdn.com/v4/letter/v/71c47a/32.png) [@vanilord](https://forum.xod.io/u/vanilord)
#### Post date: [February 6, 2019, 2:52pm UTC](https://forum.xod.io/t/bluetooth-hc-05-06-simple-setup/1372/7 "2019-02-06T14:52:08Z")

</div>

Thanks for the reply ! Could you take a screenshot of the project if you still have it ?

---

<div class="post-metadata">

### Author: ![marty](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@marty](https://forum.xod.io/u/marty)
#### Post date: [February 8, 2019, 6:20pm UTC](https://forum.xod.io/t/bluetooth-hc-05-06-simple-setup/1372/8 "2019-02-08T18:20:25Z")

</div>

sorry - I dont have it here at the moment and its really more or less just the soft-uart node.
