The PMS5003 comes with a breadboard adapter for you to easily hook the sensor up to a microcontroller with UART.
While you could use a female/female header adaptor, wires can easily disconnect. You'll want to solder cables from the FeatherWing Doubler to the breadboard adaptor for a stronger hold.
Let's begin by removing the pins from the breadboard adaptor.
Place the breadboard adaptor into a vise and flip the board over.
Using a pair of flush diagonal cutters, snip between the pins of the plastic header. Make sure to snip the plastic between each pin. This will make it easier to pull the pins from the adaptor when you de-solder them.
Tin the tip of your soldering iron. Then, press the edge of your soldering iron against a solder-blob on the adaptor to heat and liquify the solder.
While heating the pin, use a pair of tweezers (or needle-nose pliers), wiggle the pin out of the hole in the PCB until it's removed.
Cut a long piece of silicone stranded-core ribbon cable from the 1M of cable. It's always better to have more cable then less!
Then, peel four cables off the silicone stranded-core ribbon cable. Strip a small amount of the silicone sheath from each wire and tin the end of it.
Solder a length of wire to each of the VCC, GND, TXD, and RST pins on the adaptor. Your final adaptor should look like the following:
Cut a new length of silicone stranded-core ribbon cable and repeat this process for the BME280 breakout. Both breakouts should now have cables attached.
Wiring
Next, you'll need to connect the BME280 and PM2.5 adaptor to the FeatherWing Doubler. We suggest using one of the two prototyping spots on the front of the FeatherWing Doubler.
Make the following connections between the BME280 and the FeatherWing:
- Board 3V to sensor VIN
- Board 3V to sensor CS
- Board GND to sensor GND
- Board SCL to sensor SCK
- Board SDA to sensor SDI
Then, make the following connections between the PM2.5 adaptor and the FeatherWing:
- Sensor VCC to board 5V
- Sensor GND to board GND
-
Sensor TX to board RX
- Remember: RX does not connect to RX!
After making the connections above, your FeatherWing should look like the following.
Let's move on to assembling the enclosure.
Page last edited March 08, 2024
Text editor powered by tinymce.