Build instructions – BME280 ESP32 (WiFi & BT)

Please note this version is slightly more expensive than the Wifi-only version (~£38 vs £22). This version (with BT) can require no soldering.

Instruction outline

Click to jump to section:


1. Preparation

1a. Sign up to OpenScienceMethods

  1. Register your logger’s MAC
  2. Sign up for API access

1b. Buy required equipment

Core components:

  • Qwiic connector (i.e. 4-pin male JST 1mm pitch cable ~£1)
  • BME280 (~£12 for cable version, e.g. eBay, ~£2 for generic version)

If using on the go:

Recommended tools:

  • Soldering iron
  • Electric tape
  • Multimeter
  • USB-C cable
  • A drill

2. Solder connections

Solder the QWIIC cable connections to your BME280

  • 3.3V → 3V3
  • GND → GND (recommend nearest the “boot” button)
  • SDA → SDA
  • SCL → SCL

3. Upload firmware and test connection

Connect the logger to a computer via USB then upload the firmware using the web uploader below (requires Google Chrome or Microsoft Edge browser)

Check sensor data over Serial

Connect the sensors (remember to unplug before connecting the sensors!) then reconnect the USB

You will then need to programme the loggers settings by entering the commands and sending to the device



  




4. Prepare enclosure

Disclaimer: the below demonstrates how we prepare our own enclosures and does not constitute recommendation or advice. We take no responsibility for any injury or damage. Please ensure you adopt an approach in-keeping with your/your students’ age and skill level and ensure that you are using the appropriate Personal Protective Equipment (PPE) and taking the appropriate precautions. If you have any doubt, do not continue!

Position your cable gland where you might like the cable to enter your enclosure and mark.

Drill a hole for the cable gland using a drill and appropriate drill bit (we use a conical drill bit, taking care to measure the whole against the gland every so often)

Once complete, you can thread the gland through and tighten the nut from the inside.

You can then thread your BME280 cable through, and connect to your ESP32

Connect your battery, close your enclosure (being careful not to trap wires) then you’re ready to get researching!


5. Get researching!

Use the Open Science BME280 logger to measure and report air quality in the environment.