Found: Plantower PMS3003, PMS5003, PMS7003 Connectors

I’ve been working on an air quality monitoring project using the Plantower PMS5003 particle detector. It’s a cool little device that uses a laser to count particles of various sizes (1.0mm, 2.5mm and 10mm). It won’t tell you what kind of chemicals are in the air but it will give you a good idea of what size and how many particles the sensor is seeing.


The Plantower PMS3003/PMS5003/PMS7003 particle sensors usually come with an 8 wire cable with male plugs on each end. The cable needs a Molex 053261-0871 female connector, which has a 1.25mm pitch “PicoBlade” header. You can find it at Digikey, Mouser, eBay (but don’t, the prices on eBay were ridiculous last time I looked) and even Amazon.

The toughest thing about using it isn’t the software or hardware, it’s mechanical – I had a very difficult time finding a compatible connector. The sensor ships with a short 8 wire cable with two male ends. I ended up just cutting the wires in two and soldering them to a perfboard, but this is a less flexible and more permanent solution than I was happy with.


November Roast: Timor-based Coffee Blend

I roast my own coffee.

When I lived in New England, roasting my own coffee meant we could have delicious coffee at home (really good because it was freshly roasted, not because I have any magical coffee powers beyond being lucky enough to have a small coffee roaster). When I started roasting, freshly roasted coffee was a rarity.

Now that I live in Portland, good coffee is never more than a couple of blocks away. Coffee roasting is now a big yawn, but I enjoy roasting my own and still do it as much as I can. I roast outside because my roaster throws off a lot of smoke, so once the weather gets too wet or too cold I stop, but Portland’s winter is mild enough that there are usually still a few good days when I can get a few roasts in, even in January. More

Stop The loop() Insanity!

The simplest Arduino program looks like this:

This does nothing beyond build and run.

The setup() function is used for one time, well, setup. This is where you initialize a sensor or connect to Wifi or set the speed of your serial port.

The loop() function is where you do the work. This is intended for repetitive tasks, like reading from a sensor or uploading some information or blinking lights. More

Please License Your Code

Dear Lupo:

I ran across your public repository of Arduino code on Github today. It’s nicely written and does almost exactly what I need. I would like to have used it in a project. I would have forked it, added a little functionality and contributed that back in case you’d like to integrate the changes. I might also have called it “George”. This would have saved me some time and let me add a bit of functionality to it that others might find useful.

Unfortunately it had no license – none at all. And you don’t have any links to social media or list any contact info in your profile so I can’t easily reach you to ask about it. More