atmo-monitor

Public

@gpgreen

Download board files

Files for version 1. Pick what you came for.

Share atmo-monitor

Check access before sharing the link.

Who can open this board

Anyone can open this board. No sign-in is required.

This link opens the latest version. Copying it does not grant additional access.

Loading 3D model… large boards can take a moment.

README

atmo-monitor

KiCad design for a atmospheric measurement board. The MCU is a stm32f103cbt6. There are 2 main sensors. One is the PMS2007, which measures particulates, ie PM2.5. The other sensor is a BME680, which measures temperature, pressure, and organic compounds. The measurements are output on an E-Ink tri-color display.

This design is a continuation of a project that I did using a nucleo dev board and a perfboard pcb. The main goals used for this design:

- Use smd devices that I had already for the project, instead of a dev board
- Use an [Adafruit power supply breakout](https://www.adafruit.com/product/1944) that allows the use of a lithium battery. I didn't
want to implement this on the PCB for this project, and I don't have those types of devices on hand.
- Hand soldering for the pcb instead of my usual hot-plate reflow technique. This means
using 1206 size components instead of 0603, and SO footprint parts. This also helps with
the previous goal of using parts I had already, as my newer designs use TQFP footprints. I have successfully
hand soldered the smaller parts, but it is very tedious.

I was able to finish the design using those goals and the only part I needed to purchase was the adafruit power breakout. It is a 2-layer PCB that I have shared at Oshpark.

Changes

  • Rev A Original

Firmware

Firmware

Connections to Segger JTAG

I have put test points on the board, so that pogo pins can be used to program the MCU.

jlink web page

**** 20 Pin connector for JTAG
                -------
    VTref      1|*   *|2 NC
    nTRST      3|*   *|4 GND
    TDI        5|*   *|6 GND
    TMS        7|*   *|8 GND
    TCK        9|*   *|10 GND
    RTCK      11|*   *|12 GND
    TDO       13|*   *|14 GND
    RESET     15|*   *|16 GND*
    DBGRQ     17|*   *|18 GND*
    5V Supply 19|*   *|20 GND*
                -------

From a 20pin JTAG connector, run wires to the following test pads to connect a debugger:

VTRef 1  <-> 3V3
SWDIO 7  <-> SWD
SWCLK 9  <-> SWC
RESET 15 <-> RST
GND   4  <-> GND

Run the JLink GDB server via the following:

JLinkGDBServer -if SWD -device STM32F103CB

GDB can be connected via the following:

gdb-multiarch --command=jlink-stm32.gdb target/thumbv7m/debug/main

Running ocd

openocd -f interface/stlink-v3.cfg -f target/stm32f1x.cfg

Credits

as always, thanks for the good work

License

Licensed under

Comments

No comments yet. Be the first to ask about this board.

Ask about this board

Sign in to BoardRepo

New here? Signing in creates your account; there is no separate sign-up.