# Arduindo Firmata Digital Pin Sensor Payload

**URL:** <https://discourse.nodered.org/t/arduindo-firmata-digital-pin-sensor-payload/5599>\
**Category:** General\
**Created:** [9 December 2018 08:59 UTC](https://discourse.nodered.org/t/arduindo-firmata-digital-pin-sensor-payload/5599 "2018-12-09T08:59:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SeanT](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@SeanT](https://discourse.nodered.org/u/SeanT)\
**Post date:** [9 December 2018 08:59 UTC](https://discourse.nodered.org/t/arduindo-firmata-digital-pin-sensor-payload/5599/1 "2018-12-09T08:59:03Z")

</div>

I fairly new at this.

I am using an Arduino Uno, running 2 sensors: 1 analogue (soil moisture) and 1 digital (temperature).

When running the Arduino IDE with self written sketch, the console results are fine, i.e. I get accurate readings.

When I switch to Node Red using the Firmata sketch, I get accurate readings from the Adruino-In (analogue) node, but on the digital node, the payload only returns a 1.

What have I overlooked? Thanks in advance.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/a/abe73687978117bf790088ff48fa8401abdde660.png)

---

<div class="post-metadata">

**Author:** ![Exit2Studios](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/exit2studios/32/10998_2.png) [@Exit2Studios](https://discourse.nodered.org/u/Exit2Studios)\
**Post date:** [28 August 2019 22:59 UTC](https://discourse.nodered.org/t/arduindo-firmata-digital-pin-sensor-payload/5599/2 "2019-08-28T22:59:05Z")

</div>

Fairly old thread, but I would be interested to know if/how you can pull sensor data (analog/digital) using Firmata.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [29 August 2019 06:15 UTC](https://discourse.nodered.org/t/arduindo-firmata-digital-pin-sensor-payload/5599/3 "2019-08-29T06:15:40Z")

</div>

Yes the arduino node will send data when it changes
