Greetings fellow roadtesters of the Panasonic Laser PM2.5 (Dust/Smoke) Sensor w/ MCU and others that might have had some experience working with this sensor. I had initially intended to use I²C as a method of reading sensor data, but the built in library for my AVR compiler (CodeVisionAVR) does not support the "Repeated Start" or an inserted delay in the query sequence, so I decided to use the UART communication method (basically a blind squirt of data once a second). While the UART data seems to work fine, it does seem to limit the range of Density values to 2,000µg/m³ (where as the I²C method states the limit in a somewhat ambiguous way as X,XXXµg/m³). Both limits seem a bit strange as the data comes from a 32bit register and can support a much wider range.
Has anyone looked at and/or tried to verify the maximum range in either the I²C or UART communication methods? I have seen that the UART method does have a limit of the Density output values at 2000 (which is supposed to represent 2.000, but the units are not described). (I see that BigG has had some success with getting data via I²C, but have you seen any densities greater than 2.000µg/m³?) I am wondering if I need to write my own I²C library so that I might get a wider range?
rscasnyhas a Panasonic representative been assigned for questions?
dwinhold, dramoz, salmanfarisvp, ddip214, karthikrajagopal any of you have any insights of the differences between I²C and UART data ranges based on your efforts working with this module?
Thanks!
Gene