Warning Light Issues
Posted: Sat May 09, 2020 12:35 pm
Hi Everyone,
First:
Platform: RPi 3
NEMS VERsion: 1.5.1
Build Number: Not sure where to find this, sorry.
I am trying to get warning light to work and so far have not had success. I can view the current status using the commands given online via ssh, but the output pins themselves do not seem to be changing state and/or are bouncing.
I have GPIO 18, 23, 24 connected to analog input pins on an Arduino Uno watching to see if the voltage is above or below a volt and a half or so. Separately grounding the pins into the Arduino produces the desired result. When connected to the RPi, the status oscillates rapidly to different states and I can confirm this when reading the voltage using a serial link.
My thought was that this may be a pull up or pull down resistor issue if the false status' were actually just being placed into a High-Z state or something and not actually driven low. I was able to install the gpio app which allows for setting pins manually. If I set pins 23, 24, and 18 manually, the arduino display changes properly based on the combination I have manually set. In addition, if I enable pull up resistors and pull down resistors between various pins, it also behaves correctly. However, after doing this, even when deliberately causing a warn or crit state, there is no change in the I/O pins.
Any thoughts or things I've missed? From what I could tell, this system is installed by default/ works out of the box; does this sound correct?
Thanks for your help,
Dallas
First:
Platform: RPi 3
NEMS VERsion: 1.5.1
Build Number: Not sure where to find this, sorry.
I am trying to get warning light to work and so far have not had success. I can view the current status using the commands given online via ssh, but the output pins themselves do not seem to be changing state and/or are bouncing.
I have GPIO 18, 23, 24 connected to analog input pins on an Arduino Uno watching to see if the voltage is above or below a volt and a half or so. Separately grounding the pins into the Arduino produces the desired result. When connected to the RPi, the status oscillates rapidly to different states and I can confirm this when reading the voltage using a serial link.
My thought was that this may be a pull up or pull down resistor issue if the false status' were actually just being placed into a High-Z state or something and not actually driven low. I was able to install the gpio app which allows for setting pins manually. If I set pins 23, 24, and 18 manually, the arduino display changes properly based on the combination I have manually set. In addition, if I enable pull up resistors and pull down resistors between various pins, it also behaves correctly. However, after doing this, even when deliberately causing a warn or crit state, there is no change in the I/O pins.
Any thoughts or things I've missed? From what I could tell, this system is installed by default/ works out of the box; does this sound correct?
Thanks for your help,
Dallas