Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

AQ monitor_odd reading
#11

(10-02-2018, 05:31)dormani Wrote:  I am having a similar experience using AQ software 7.0 b007. I started experiencing this when I moved the monitor outside and placed under our pergola. It has been extremely hot here over the last month so I am wondering if this may be the cause. The pergola is partially enclosed and runs a couple of degrees hotter than outside.
Regards
Ian

I Ian,

If you already have upgraded your RX unit to v5.xx software, you could try the latest AQM software (v7.1_b004) which solves the NaN error.

Reply
#12

(10-02-2018, 23:54)Werk_AG Wrote:  Thanks Jim,
Things improve with the users feedback.
Now, any PM2.5 reading equal to zero, will not cause the NaN error anymore.
Werk,
Just uploaded b 004 and I am getting a zero reading for PM2.5 and PM10 and no NaN error but I don't believe the readings are zero; have never seen a zero reading in my location.


Code:
   WeatherDuino 4Pro
Air Quality Monitor v7.10 b004

Please wait...


Waking up the PMS7003 dust sensor (40s)
Reading PMS7003 dust sensor...

PMS7003 readings:
PM2.5: 0.00 ug/m3
PM10 : 0.00 ug/m3
PM2.5_1H_Avg : 0.00
PM2.5_NowCast: 0.00
Regards
Jim
Reply
#13

Hi Jim,

I also had never seen a zero reading, this is why I haven't prevented that possibility before.

Unfortunatelly I haven't any PMS7003 at hand. If I had, I would have written a simple test software for the PMS7003, that will try to read the sensor at each 10 seconds, reporting the successful and failed attempts. That could help in you to understand those zero readings.
Anyway, even without the sensor I will try to write it.

Reply
#14

Hi Jim,

Perhaps the attached software will help.
It tries to read to PMS7003 every 15 seconds. Output on the serial monitor.


Attached Files
.rar PM7003_Simple_Test.rar Size: 1,7 KB  Downloads: 226

Reply
#15

(11-02-2018, 03:10)Werk_AG Wrote:  Hi Jim,

Perhaps the attached software will help.
It tries to read to PMS7003 every 15 seconds. Output on the serial monitor.

Werk,
Thanks, how do I run it
Jim
Reply
#16

(11-02-2018, 04:08)Barrow4491 Wrote:  
(11-02-2018, 03:10)Werk_AG Wrote:  Hi Jim,

Perhaps the attached software will help.
It tries to read to PMS7003 every 15 seconds. Output on the serial monitor.

Werk,
Thanks, how do I run it
Jim

Code:
Arduino: 1.8.5 (Windows 10), Board: "Arduino Nano, ATmega328P"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\JBA\Documents\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10805 -build-path C:\Users\JBA\AppData\Local\Temp\arduino_build_82709 -warnings=none -build-cache C:\Users\JBA\AppData\Local\Temp\arduino_cache_989261 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\JBA\Documents\Arduino\PM7003_Simple_Test\PM7003_Simple_Test\PM7003_Simple_Test\PM7003_Simple_Test.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\JBA\Documents\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10805 -build-path C:\Users\JBA\AppData\Local\Temp\arduino_build_82709 -warnings=none -build-cache C:\Users\JBA\AppData\Local\Temp\arduino_cache_989261 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\JBA\Documents\Arduino\PM7003_Simple_Test\PM7003_Simple_Test\PM7003_Simple_Test\PM7003_Simple_Test.ino
Using board 'nano' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Detecting libraries used...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Users\JBA\AppData\Local\Temp\arduino_build_82709\sketch\PM7003_Simple_Test.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "C:\Users\JBA\AppData\Local\Temp\arduino_build_82709\sketch\PM7003_Simple_Test.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src\SoftwareSerial.cpp" -o "nul"
Generating function prototypes...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "C:\Users\JBA\AppData\Local\Temp\arduino_build_82709\sketch\PM7003_Simple_Test.ino.cpp" -o "C:\Users\JBA\AppData\Local\Temp\arduino_build_82709\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\JBA\AppData\Local\Temp\arduino_build_82709\preproc\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "C:\Users\JBA\AppData\Local\Temp\arduino_build_82709\sketch\PM7003_Simple_Test.ino.cpp" -o "C:\Users\JBA\AppData\Local\Temp\arduino_build_82709\sketch\PM7003_Simple_Test.ino.cpp.o"
C:\Users\JBA\Documents\Arduino\PM7003_Simple_Test\PM7003_Simple_Test\PM7003_Simple_Test\PM7003_Simple_Test.ino: In function 'void setup()':

PM7003_Simple_Test:44: error: 'PMS7003_SetPin' was not declared in this scope

  pinMode(PMS7003_SetPin, OUTPUT);

          ^

C:\Users\JBA\Documents\Arduino\PM7003_Simple_Test\PM7003_Simple_Test\PM7003_Simple_Test\PM7003_Simple_Test.ino: In function 'void loop()':

PM7003_Simple_Test:50: error: 'PMS7003_SetPin' was not declared in this scope

 digitalWrite(PMS7003_SetPin, HIGH);  // Activate the PMS7003

              ^

Using library SoftwareSerial at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial
exit status 1
'PMS7003_SetPin' was not declared in this scope
Werk,
I get the error above
Jim
Reply
#17

Hi Jim,

If you give a look at the code you will see that just one line of code need to be uncommented.  Anyway I updated the software posted two topics above... now it should work without any editing.

Reply
#18

(11-02-2018, 15:38)Werk_AG Wrote:  Hi Jim,

If you give a look at the code you will see that just one line of code need to be uncommented.  Anyway I updated the software posted two topics above... now it should work without any editing.

Werk,
Thanks I will run it again later.
Jim
Reply
#19

(12-02-2018, 03:47)Barrow4491 Wrote:  
(11-02-2018, 15:38)Werk_AG Wrote:  Hi Jim,

If you give a look at the code you will see that just one line of code need to be uncommented.  Anyway I updated the software posted two topics above... now it should work without any editing.

Werk,
Thanks I will run it again later.
Jim


i Guys,
I am now having the same problem in that my sensor when running in the AQM is reporting zero values. When i run the test software i do get readings from 2 to 6. Any ideas ??

Steve D
Reply




Users browsing this thread: 1 Guest(s)