Connecting BBGW Analog to Dashboard

I am running the latest version of Debian on a BBGW and am trying to create a dashboard showing analog pin A0 (P9-39) input- An analog temperature sensor. I haven't been able to get Node red to recognize the pin or display outputs. I have even tried something super simple; using a POT to regulate known voltage at pin 39 and I can't see data outputs on any of the dashboard displays or the debugger. Please help.

and just what is a BBGW?
What version of NR, node.js and dashboard> (see the log at startup)

Hi Paul,

Thank you for responding.

  1. BBGW is BeagleBone Green Wireless

  2. 16 May 15:24:44 - [info] Node-RED version: v0.19.6
    16 May 15:24:44 - [info] Node.js version: v6.17.0

Dashboard version 2.14.0 started at /ui

Respectfully,
Phillip Bogdanovich
Co-Founder & CEO|CIPHER SKIN
512-947-4365
Phillip@cipherskin.com
www.cipherskin.com

Node-red is now at v0.20.4(I think it’s 4) so you might want to upgrade

What node are you using to attempt to access the Gipson pins?

I have tried to use the beagle bone specific palettes- sometimes they load and sometimes they don’t. I have also tried using the Johnny-Five palettes and with demo code I get a stream of output in cloud 9/SSH terminal but nothing in node red debugger or a connected dashboard node (I’ve tried gauge, chart and text).

Respectfully,
Phillip Bogdanovich

I just attempted to upgrade:

root@beaglebone:~# sudo apt upgrade

Reading package lists... Done

Building dependency tree

Reading state information... Done

Calculating upgrade... Done

The following packages have been kept back:

chromium gpiod

0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

root@beaglebone:~# sudo apt-get upgrade

Reading package lists... Done

Building dependency tree

Reading state information... Done

Calculating upgrade... Done

The following packages have been kept back:

chromium gpiod

0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

root@beaglebone:~# sudo apt upgrade nodejs bb-node-red-installer

Reading package lists... Done

Building dependency tree

Reading state information... Done

bb-node-red-installer is already the newest version (0.19.6-0rcnee0~stretch+20190228).

nodejs is already the newest version (6.17.0-0rcnee0~stretch+20190228).

Calculating upgrade... Done

The following packages have been kept back:

chromium gpiod

0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

root@beaglebone:~# sudo apt-get upgrade nodejs bb-node-red-installer

Reading package lists... Done

Building dependency tree

Reading state information... Done

bb-node-red-installer is already the newest version (0.19.6-0rcnee0~stretch+20190228).

nodejs is already the newest version (6.17.0-0rcnee0~stretch+20190228).

Calculating upgrade... Done

The following packages have been kept back:

chromium gpiod

0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

root@beaglebone:~#

Respectfully,
Phillip Bogdanovich

Not having a BB I’m out of ideas for you, sorry

We’ve also tried connecting through a Raspberry PI using an ADC with no luck.
Respectfully,
Phillip Bogdanovich

@zenofmud you can’t install node red 0.20 on node 6 so upgrading is NOT advised.

1 Like

@dceejay that may be part of the problem. I’ve been upgrading node red before running it. Still having issues reading an analog pin from a beaglebone

Phillip Bogdanovich
Co-Founder & CEO|Cipher Skin
(720) 892-6243
CipherSkin.com
Phillip@cipherskin.com

The Jessie build comes with node6 and Node-RED pre-installed and apt-get update / upgrade should be all you need as they pre-package a load of extra nodes for BBB in there. I don't have a Green so have no idea if the analogue functions work - but they probably should as they used to on a Black I had a while back. Not sure did those extra nodes - but worth trying to track them down via github and maybe ask direct.

(I think the next release of Debian for BB (Buster ???) will include node 10 and then they will also include Node-RED 20 +.)