# Homeyduino basic sketch

**URL:** <https://community.homey.app/t/homeyduino-basic-sketch/53959>\
**Category:** Questions & Help\
**Created:** [October 29, 2021, 11:08pm UTC](https://community.homey.app/t/homeyduino-basic-sketch/53959 "2021-10-29T23:08:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tds](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tds/32/13157_2.png) [@Tds](https://community.homey.app/u/Tds)\
**Post date:** [October 29, 2021, 11:08pm UTC](https://community.homey.app/t/homeyduino-basic-sketch/53959/1 "2021-10-29T23:08:31Z")

</div>

Can I use DS18b20 temp sensors with homeyduino?  
I am new to programming with arduino (programming in general). And I have tried to follow the [Sensor example](https://github.com/athombv/homey-arduino-library/blob/master/examples/Example%20projects/dht11/README.md)  
But when I try to translate this over to DS18b20 I am stuck and I can not find an example of how this is done online. Could someone please help me in with an example?

Thank you.

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [October 29, 2021, 11:19pm UTC](https://community.homey.app/t/homeyduino-basic-sketch/53959/2 "2021-10-29T23:19:35Z")

</div>

Have a look at [https://randomnerdtutorials.com/](https://randomnerdtutorials.com/)  
Many examples for all kind of sensors.

---

<div class="post-metadata">

**Author:** ![Tds](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tds/32/13157_2.png) [@Tds](https://community.homey.app/u/Tds)\
**Post date:** [October 29, 2021, 11:48pm UTC](https://community.homey.app/t/homeyduino-basic-sketch/53959/3 "2021-10-29T23:48:58Z")

</div>

Thanks for the link. However, it confirms that arduino can be used for many sensors, but not if ds18b12 can be used with homeyduino or how this is done.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [October 30, 2021, 5:16am UTC](https://community.homey.app/t/homeyduino-basic-sketch/53959/4 "2021-10-30T05:16:09Z")

</div>

Do you have the DS18B20 sensor working _without_ Homeyduino already, just as a regular Arduino sketch?
