[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
-
💬 Temperature-Humidity-Pressure Sensor
OpenHardware.io • 11 Jan 2019, 07:19 • openhardware.io 14 Jan 2019, 13:25 -
Sonoff and Vera
Vera • 30 Dec 2016, 21:16 • nicomedia 10 Oct 2017, 15:10 -
Battery level don't show up
Troubleshooting • 10 Dec 2014, 20:06 • cheesepower 14 Dec 2014, 19:21 -
First sensor ... so close but no temp reading
Vera • 15 Mar 2015, 14:04 • phate1 28 Apr 2015, 01:32 -
Using an UNO for Sensor With Negative Results
Troubleshooting • 23 Oct 2014, 14:48 • Adam Mikolajczyk 29 Nov 2014, 10:39 -
Mysensors, Vera and UI7
Vera • 15 Feb 2015, 02:20 • Dean 24 Feb 2015, 08:48