[SOLVED] Pressure Sensor Will Not Add to Vera
-
Whenever I try and add my pressure sensor to Vera, nothing seems to happen. I can add other sensors to vera without issue, but when I try and add the pressure sensor, Vera detects nothing.
I have verified wiring with the BMP085 test program and I see pressure and temperature. When I run the PressureSensor.ino, upload it and then check serial output, I see nothing.
Any suggestions?
I am running on a Mini Pro (3.3v) with a serial gateway. Thanks.
-
@RyanAHolland
MySensor Version?If you have debugging turned on (it's on by default in 1.4) and you're not seeing anything in the serial, then I would think that you have a hardware problem (as long as you have the serial monitor setup correctly)
Well I guess you could still have a software problem, but.....
I would add some debugging code directly to the sketch and see if that shows up in the serial monitor.
Can you easily swap out the Mini with a different one?
-
@ServiceXp I am on 1.4.
I can try a different Mini, but I have verified that the pressure sensor works, by using the included test sketch. Does the pressure sensor sketch output anything to the serial when debugging is enabled? Sorry, I am a newbie when it comes to Arduino.
-
@RyanAHolland
I took a quick look at the sketch and it appears it does..Serial.print("Temperature = "); Serial.print(temperature); Serial.println(metric?" *C":" *F"); Serial.print("Pressure = "); Serial.print(pressure); Serial.println(" Pa"); Serial.println(weather[forecast]);
-
I solved the issue, it turns out you have to have debug disabled for the program to execute. I believe I saw someone else mention it in another thread and that is what lead me there. Thanks for the help!
-
Could you perhaps try to introduce a few delays and see if that fixes the problem?
Would be good if the sketch works without debug enabled.
Suggested Topics
-
3 Way Switch with Relay Sensor
Vera • 28 Sept 2014, 16:22 • rafael.brasilia 24 Oct 2019, 13:18 -
Pressure sensor - arduino low memory (SOLVED)
Troubleshooting • 23 Nov 2014, 07:31 • niccodemi 17 Jun 2016, 08:22 -
💬 Temperature-Humidity-Pressure Sensor
OpenHardware.io • 11 Jan 2019, 07:19 • openhardware.io 14 Jan 2019, 13:25 -
Sketch presentation / Vera inclusion
Development • 3 Aug 2016, 18:43 • ejtbpublic 5 Aug 2016, 18:18 -
Report relay state back to the controller
Development • 3 Jan 2017, 13:18 • nicomedia 3 Jan 2017, 13:18 -
Send RelayActuator state back to gateway
Development • 12 Jan 2017, 19:16 • nicomedia 13 Jan 2017, 13:28 -
pool/spa temperature sensor for VeraLite???
Vera • 28 Oct 2014, 07:57 • callagga 31 Oct 2014, 06:30