# Node-red Orange-Pi One stepper/analog/1wire hats

**URL:** https://discourse.nodered.org/t/node-red-orange-pi-one-stepper-analog-1wire-hats/38441
**Category:** Hardware
**Created:** [3 January 2021 06:24 UTC](https://discourse.nodered.org/t/node-red-orange-pi-one-stepper-analog-1wire-hats/38441 "2021-01-03T06:24:17Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![m\_elias](https://avatars.discourse-cdn.com/v4/letter/m/94ad74/32.png) [@m\_elias](https://discourse.nodered.org/u/m_elias)
#### Post date: [3 January 2021 06:24 UTC](https://discourse.nodered.org/t/node-red-orange-pi-one-stepper-analog-1wire-hats/38441/1 "2021-01-03T06:24:17Z")

</div>

I'm looking for Orange-Pi One hats with well supported Node-red integration for reading four 1wire buses with several sensors on each bus, drive two stepper motors, read at least 4 analog inputs (10 bit of higher) and read four 24vac inputs (a few outputs wouldn't hurt either).

The reason for the Orange-Pi one is that I already have one running Node-red nicely, it seems quick enough but I don't know yet what Raspberry-Pi hats are all compatible so I could also buy a Pi 2 or 3 if that makes finding hats easier/better.

Tindie has an interesting 1wire & analog input hat.

> **[1-Wire plus 12-Bit ADC HAT for Raspberry Pi by BurgessWorld Custom...](https://www.tindie.com/products/cburgess129/1-wire-plus-12-bit-adc-hat-for-raspberry-pi/)**
>
> Ultimate sensor HAT for Raspberry Pi with I2C OLED display. (8) 1-wire inputs plus (8) 12-bit ADC inputs

Robotshop has a few interesting hats too.

> **[1 Wire Pi Plus HAT](https://www.robotshop.com/ca/en/1-wire-pi-plus-hat.html)**
>
> 1 Wire Pi Plus HAT
> Features an interface with ESD protection diode
> Is stackable with other Raspberry Pi accessory boards
> Offers a buffered 5V I2C port for 1-Wire interface
> Provides I2C address selection via solder jumpers

> **[DC & Stepper Motor Driver HAT Kit for Raspberry Pi](https://www.robotshop.com/ca/en/dc--stepper-motor-driver-hat-kit-raspberry-pi.html)**
>
> 1.2A per channel and 3A peak current capability
> Fully-dedicated PWM driver chip for excellent performance 
> Can efficiently run on motors ranging from 4.5VDC to 13.5VDC
> Huge terminal block connectors included to hook up wires with power
> Easily...

> **[8 Channel 18-bit Analog to Digital Differential Converter for Raspberry Pi](https://www.robotshop.com/ca/en/8-channel-18-bit-analog-to-digital-differential-converter-raspberry-pi.html)**
>
> 8 x 18-bit differential inputs
> Control via the Raspberry Pi I2C port
> Stack up to 4 ADC Differential Pi boards on a single Raspberry Pi
> Jumper selectable I2C addresses
> Buffered 5V I2C port

---

<div class="post-metadata">

### Author: ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)
#### Post date: [3 January 2021 08:11 UTC](https://discourse.nodered.org/t/node-red-orange-pi-one-stepper-analog-1wire-hats/38441/2 "2021-01-03T08:11:59Z")

</div>

Several issues I'm afraid

1. There isn't much support for physical hardware on the OrangePi boards in Node-RED

2. Even if you switched to a Raspberry Pi, unless the HATs are sourced from one manufacturer, there is a very big chance that they will conflict with which pins they want to use if you stack them.

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [3 January 2021 16:15 UTC](https://discourse.nodered.org/t/node-red-orange-pi-one-stepper-analog-1wire-hats/38441/3 "2021-01-03T16:15:44Z")

</div>

Yes, the only real active support for Pi GPIO seems to come from the education area (Python, and Wiring, to a lesser extend Scratch).

For serious use, most people seem to use an attached Arduino (or similar) or a remote ESP. Mainly because if you mess up, you only have to replace a cheap microprocessor rather than the rather more expensive Pi. But also because you can easily expand the GPIO capabilities as well as offloading the realtime aspect of your code to a platform that is designed for it.

---

<div class="post-metadata">

### Author: ![m\_elias](https://avatars.discourse-cdn.com/v4/letter/m/94ad74/32.png) [@m\_elias](https://discourse.nodered.org/u/m_elias)
#### Post date: [3 January 2021 19:23 UTC](https://discourse.nodered.org/t/node-red-orange-pi-one-stepper-analog-1wire-hats/38441/4 "2021-01-03T19:23:00Z")

</div>

Well three of the hats I listed are i2c, some with selectable addresses so I thought stacking those should be fine but I haven't looked close enough to know whether the oPi One's pinout is 100% compatible.

I do have a modified firmata sketch on an Uno communicating with Node-red on the oPi. So far it can do the digital & analog io, and I've added onewire support by reporting the temperature readings via the firmata String support. I would just need to add support for the steppers in a similar way. I also have all the necessary hardware for the Arduino to interface with my project so that's what I'll probably use but I thought I should at least look at the option of doing it without the Arduino.

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [3 January 2021 20:39 UTC](https://discourse.nodered.org/t/node-red-orange-pi-one-stepper-analog-1wire-hats/38441/5 "2021-01-03T20:39:05Z")

</div>

You might also consider your own code on the Arduino. I don't believe that Firmata has been updated in a long time and I don't think it is going anywhere.

Library support for Arduino is so good that even if you don't know C/C++ it is pretty easy to create custom code.

---

<div class="post-metadata">

### Author: ![m\_elias](https://avatars.discourse-cdn.com/v4/letter/m/94ad74/32.png) [@m\_elias](https://discourse.nodered.org/u/m_elias)
#### Post date: [4 January 2021 18:37 UTC](https://discourse.nodered.org/t/node-red-orange-pi-one-stepper-analog-1wire-hats/38441/6 "2021-01-04T18:37:45Z")

</div>

I have no problem coding for an Arduino but the purpose of this is to move an existing project to Node-Red on my oPi where I can host influxdb, grafana & mosquitto locally instead of relying on a dodgy internet connection.

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [4 January 2021 21:17 UTC](https://discourse.nodered.org/t/node-red-orange-pi-one-stepper-analog-1wire-hats/38441/7 "2021-01-04T21:17:04Z")

</div>

Most of us do things this way 😄 One of the reasons for us using Node-RED is to avoid internet-facing services of uncertain security and longevity.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [5 March 2021 21:17 UTC](https://discourse.nodered.org/t/node-red-orange-pi-one-stepper-analog-1wire-hats/38441/8 "2021-03-05T21:17:10Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
