Skip to content

augustweinbren/air-cycle

Repository files navigation

Table of Contents

Description

This directory contains everything needed to develop a BLE-enabled particulate matter monitor and 3D print a case and mount for a bicycle.

Items Needed

Electronic parts

Hand Tools

Enclosure

  • 3D Printer + PLA Filament
  • 3 cable ties
  • Rubber bands for additional support

Installations and Software Setups

  1. Download and install Arduino IDE
  2. Set up a GitHub repo for the project
  3. Install the ESP32 module for Arduino IDE
  4. Install the following Arduino libraries:
  5. Set up your 3D modelling and printing software--this will depend on the particular modelling and printing software you are using
  6. Download LightBlue
  7. Set up Adafruit IO

Recommended order of Arduino deployments

The following order of software uploads via the Arduino IDE is recommended:

  1. pm25Bluetooth
  2. Blink_ESP32
  3. pm25_neopixel_esp32
  4. pm25_neopixel_esp32_eeprom
  5. pm25_neopixel_esp32_bt_eeprom

Enclosure

Note: it is not suggested to create an enclosure until a stripboard prototype is tried and tested. A step-by-step guide can be found in the pm25_neopixel_esp32 directory.

  1. Plug the prototype into the power bank using a USB cable, and confirm that the NeoPixel LEDs are at least partially lit up.
  2. Position the power bank atop the PMS5003.
  3. Measure the width, height, and depth of the prototype + power bank, ideally with a digital caliper for added precision.
  4. Add 3 mm to each dimension to ensure adequate space is available and note these dimensions for the inside of a 3d-printed box. Add another 2 mm for the dimensions of the outside of the box.
  5. Design a box in Fusion 360
  6. Make one side meshed to allow air to flow into the Plantower. This side will be faced towards the cyclist to reduce distortion induced by the PMS5003's fan.
  7. 3D Print this box, and ensure that your powered device fits inside of it with the power bank closest to the opening.
  8. If the device fits in the box, take measurements for your mount. The mount I printed in this project has three points of support: one at the middle of the stem, and two on the handlebar. A gap needs to be left for the stem's handlebar mount. Take the following measurements:
    • Length and width of the stem's handlebar mount
    • Height difference between the top of the handlebar mount and the tops of both stem and the handlebar at its lowest point (if your handlebar has curvature). Note down whichever height difference is greater.
    • Width of the stem at the approximate point of support
    • Width of the handlebar at the approximate points of support
  9. Return to your 3D Modelling software and produce the base with the following considerations:
    • To fit the boxed device securely, the base will need a .3 mm larger width and length than that of the outer dimensions of the box
    • Vault the edges of the supports slightly for added stability
    • Create a hole within each of the three supports to fit cable ties to create three supports in two axes of rotation
  10. Once the base is fully printed, it can be mounted on the bicycle with the cable ties.
  11. Carefully place the box upside-down on the mount, preventing the contents from falling out
  12. Rubber bands were additionally used during test rides to secure the mount to the base.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages