# Connect Arduino to an app

**URL:** <https://community.thunkable.com/t/connect-arduino-to-an-app/2623474>\
**Category:** BLE / BlueTooth\
**Created:** [October 2, 2023, 8:12am UTC](https://community.thunkable.com/t/connect-arduino-to-an-app/2623474 "2023-10-02T08:12:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jrmonsefsh9i9o3](https://avatars.discourse-cdn.com/v4/letter/j/eb8c5e/32.png) [@jrmonsefsh9i9o3](https://community.thunkable.com/u/jrmonsefsh9i9o3)\
**Post date:** [October 2, 2023, 8:12am UTC](https://community.thunkable.com/t/connect-arduino-to-an-app/2623474/1 "2023-10-02T08:12:20Z")

</div>

I want to make an app that controls my Arduino uno which controls a relay. There’ll be two buttons, one to signal it on and one to signal it off. I want it to connect automatically, without needing to manually select device ID/Name. I’m using the HM-10 bluetooth module.  
Is this possible? Thanks in advance!

---

<div class="post-metadata">

**Author:** ![matt\_conroy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/matt_conroy/32/150843_2.png) [@matt\_conroy](https://community.thunkable.com/u/matt_conroy)\
**Post date:** [October 2, 2023, 2:42pm UTC](https://community.thunkable.com/t/connect-arduino-to-an-app/2623474/2 "2023-10-02T14:42:10Z")

</div>

Sure, you can store the device ID as a variable and use it in the Connect block or just enter it manually so that when you press a button, it’ll connect to just that device.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/6/160e330c010fae62d67310c88f2f30173321da4b.png)

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 1:33pm UTC](https://community.thunkable.com/t/connect-arduino-to-an-app/2623474/3 "2024-11-08T13:33:22Z")

</div>


