ricki-z / SDS011

Arduino library for SDS011 dust sensor
GNU General Public License v3.0
81 stars 53 forks source link

Add sleep, make usable on Arduino #1

Closed ubergesundheit closed 7 years ago

ubergesundheit commented 7 years ago

This pull requests makes the following changes:

michaelshmitty commented 7 years ago

Thanks @ricki-z for this library and @ubergesundheit for your addition.

Regarding this pull request, where did you get the information to compose the sleep command byte buffer? Is there a reference somewhere to the control interface protocol for this sensor? I looked up the datasheet, but there is no serial command reference (byte buffer structure) in there. Are there any resources to this sensor that I've missed? Thanks!

ricki-z commented 7 years ago

I will send you the documentation of the control interface by mail.