# Node-Red and DAC

**URL:** <https://discourse.nodered.org/t/node-red-and-dac/6146>\
**Category:** General\
**Created:** [27 December 2018 00:23 UTC](https://discourse.nodered.org/t/node-red-and-dac/6146 "2018-12-27T00:23:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MurrayR](https://avatars.discourse-cdn.com/v4/letter/m/9f8e36/32.png) [@MurrayR](https://discourse.nodered.org/u/MurrayR)\
**Post date:** [27 December 2018 00:23 UTC](https://discourse.nodered.org/t/node-red-and-dac/6146/1 "2018-12-27T00:23:49Z")

</div>

I would like to control my water heater element with a power controller. The controller requires 0-5V DC to control the element output.

I was hoping to use a Click analog output module (ADAC Click) atop my raspberry Pi 3 but am struggling to work out how to control the output module.

Information provided is here: [https://www.mikroe.com/adac-click-click](https://www.mikroe.com/adac-click-click)

I am struggling to communicate with the ADAC click using the i2c input and output nodes.  
I get the the address back when I use the i2c scan node.

The issue is interpreting the information relating to the AD5593R [http://www.analog.com/media/en/technical-documentation/data-sheets/AD5593R.pdf](http://www.analog.com/media/en/technical-documentation/data-sheets/AD5593R.pdf)

Thanks,  
Murray

---

<div class="post-metadata">

**Author:** ![WillWelker](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/willwelker/32/771_2.png) [@WillWelker](https://discourse.nodered.org/u/WillWelker)\
**Post date:** [27 December 2018 08:51 UTC](https://discourse.nodered.org/t/node-red-and-dac/6146/2 "2018-12-27T08:51:10Z")

</div>

It looks to me like you would need to write your own low level library just to communicate with this thing.  
I have had good success controlling high amperage loads with this IOT relay plug:  
[http://a.co/d/cyh5COk](http://a.co/d/cyh5COk)  
Just a simple high and low will turn it on and off. For simple projects, I just use a normal relay board but for a high amp load like a heater, I want to be sure my hacked project does not burn down my house.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [27 December 2018 09:13 UTC](https://discourse.nodered.org/t/node-red-and-dac/6146/3 "2018-12-27T09:13:03Z")

</div>

> [@MurrayR](#):
>
> I was hoping to use a Click analog output module (ADAC Click) atop my raspberry Pi 3

Google suggests that there is little support for this for the Pi, unless I missed it. You might be better to find a DAC that is well supported and use that.
