[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
-
Using an UNO for Sensor With Negative Results
Troubleshooting • 23 Oct 2014, 14:48 • Adam Mikolajczyk 29 Nov 2014, 10:39 -
Battery level don't show up
Troubleshooting • 10 Dec 2014, 20:06 • cheesepower 14 Dec 2014, 19:21 -
Gateway not working on VeraLite + UI6 - No Serial Port configuration available
Vera • 22 Feb 2015, 04:23 • cdrum 28 Feb 2015, 01:17 -
Ethernet Gateway and Vera 3 on UI7
Troubleshooting • 20 Sept 2014, 03:34 • Homer 21 Sept 2014, 08:20 -
💬 Temperature-Humidity-Pressure Sensor
OpenHardware.io • 11 Jan 2019, 07:19 • openhardware.io 14 Jan 2019, 13:25 -
openLuup - a Vera emulator for all platforms
openLuup • 15 Aug 2015, 17:51 • akbooer 8 Sept 2017, 14:41 -
Home Security Motion Trigger Monitor
My Project • 7 Jan 2015, 08:16 • griffinsaic 8 Jan 2015, 09:42 -
all the gear, no idea
General Discussion • 5 Mar 2015, 17:51 • baldsi 2 Apr 2015, 07:28