# BLUETOOTH

### <span style="color: rgb(22, 145, 121);">**Reto**</span>

{{@3000#bkmrk-controlar-nuestra-ca}}

{{@3000#bkmrk-comando-voz-dato-des}}

{{@3000#bkmrk-lo-tienes-que-hacer-}}

##### <span style="color: rgb(22, 145, 121);">**Solución conexiones eléctricas**</span>

{{@3000#bkmrk-conectaremos-vcc-y-g}}

##### <span style="color: rgb(22, 145, 121);">**Solución vídeo**</span>

<iframe allowfullscreen="allowfullscreen" height="314" src="https://www.youtube.com/embed/UGP6Oq95dfE" width="100%"></iframe>

##### **<span style="color: rgb(22, 145, 121);">Solución programa</span>**

El programa lo tienes aquí : [https://planet.mblock.cc/project/3259600](https://planet.mblock.cc/project/3259600)

Todo este código, si lo pongo en un bloque, NO FUNCIONA, no sé por qué, así que a lo bruto en el bloque principal

[![DOMOTICA-BLUETOOTH4.png](https://libros.catedu.es/uploads/images/gallery/2023-12/scaled-1680-/domotica-bluetooth4.png)](https://libros.catedu.es/uploads/images/gallery/2023-12/domotica-bluetooth4.png)

Total que el programa del <span style="text-decoration: underline;">dispositivo Arduino </span>queda bastante monstruoso

[![DOMOTICA-BLUETOOTH5.png](https://libros.catedu.es/uploads/images/gallery/2023-12/scaled-1680-/domotica-bluetooth5.png)](https://libros.catedu.es/uploads/images/gallery/2023-12/domotica-bluetooth5.png)

<span style="text-decoration: underline;"><span style="color: rgb(0, 0, 0); text-decoration: underline;">Objeto puerta</span></span>

[![DOMOTICA-BLUETOOTH6.png](https://libros.catedu.es/uploads/images/gallery/2023-12/scaled-1680-/domotica-bluetooth6.png)](https://libros.catedu.es/uploads/images/gallery/2023-12/domotica-bluetooth6.png)

<span style="text-decoration: underline;">Objeto gotera</span>

[![DOMOTICA-BLUETOOTH7.png](https://libros.catedu.es/uploads/images/gallery/2023-12/scaled-1680-/domotica-bluetooth7.png)](https://libros.catedu.es/uploads/images/gallery/2023-12/domotica-bluetooth7.png)

<span style="text-decoration: underline;">Objeto policia</span>

[![DOMOTICA-BLUETOOTH8.png](https://libros.catedu.es/uploads/images/gallery/2023-12/scaled-1680-/45ydomotica-bluetooth8.png)](https://libros.catedu.es/uploads/images/gallery/2023-12/45ydomotica-bluetooth8.png)