element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
RoadTests & Reviews
  • Products
  • More
RoadTests & Reviews
Review Blogs Panasonic Laser PM2.5 (Dust/Smoke) Sensor w/ MCU question
  • Blogs
  • RoadTest Forum
  • Documents
  • RoadTests
  • Reviews
  • Polls
  • Files
  • Members
  • Sub-Groups
  • More
  • Cancel
  • New
Join RoadTests & Reviews to participate - click to join for free!
  • Share
  • More
  • Cancel
  • Author Author: genebren
  • Date Created: 8 Jan 2022 6:49 PM Date Created
  • Views 1010 views
  • Likes 6 likes
  • Comments 5 comments
Related
Recommended
  • i2c
  • SN-GCJA5

Panasonic Laser PM2.5 (Dust/Smoke) Sensor w/ MCU question

genebren
genebren
8 Jan 2022

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

  • Sign in to reply
  • rscasny
    rscasny over 3 years ago

    Gene, this is the response Panasonic provided me:

    Please see the below feedback from our engineer.

     

    the maximum concentration that can be read out through I2C is 9.999 ug / m3 (this is what X.XXX ug / m3 stands for). However, the accuracy is guaranteed from 35 to 1.000 (in words: thousand) only.

    This is the Arduino code used by the factory evaluation kit. It’s intended for internal use only. It’s a basic implementation of the I2C communication protocol that reads the sensor’s registers and writes their contents to the console. We have used it to write application examples for Arduino and MBED.

    Using electronic cigarettes and solder flux fumes we managed to get readings in the range of 2.000 to 7.000 ug / m3.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • rscasny
    rscasny over 3 years ago

    Gene,

    I'll pass on your question to Panasonic.

    Randall

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • BigG
    BigG over 3 years ago

    I've not evaluated as yet.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • karthikrajagopal
    karthikrajagopal over 3 years ago

    I had the same issue while testing it. Only after experimenting , I found out that the lower byte represents concertation values from 0 to 255..anything above that value will be added in the higher byte. Mathematically it can be expressed as (255* Higher Byte) + Lower Byte. The Lower and higher byte I refer to here are the LH and LL. HH and HL won't have any significance (As of UART) as it would result in values that are greater than 2000 ug/m3.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dwinhold
    dwinhold over 3 years ago

    I’ve been using I2C and receiving numbers between 1200 to 3700 and higher. I’ll upload everything tomorrow in detail.

    Dale

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube