View on GitHub

Hammes Hacks

Projects designed by Emily Hammes

Temperature Monitor

Introduction

The temperature monitor is a shield for an Arduino Pro Mini or a STM32 blue pill. It can read and display information from either an analog or a digital temperatuer sensor.

Background

How a 7-segment display works:

Assembly

schmatic

Component List

Soldering together the PCB

  1. Solder the 220 ohm resistors onto R1, R2, R3, R4, R8, R9, R10 and R12.
  2. Solder the female pinheadders onto the board and trim the leads.
  3. Solder the 7 segment display onto the board.

Pluging In A Sensor and Uploading Code

Using the Pro Mini

schmatic

The shield is longer than the Arduino Pro Mini so some of the pins on the shield will not be connected to the Arduino PCB. To connect the correct pins, look at the front of the shield (the side with the 7 segment display). On the shield there is a dotted line with Arduino written in the middle of it. This is where the arduino will end. Additionally, there is an arrow with analog pins written on it. This lable notes the side where the arduino analog pins plug in.

One Wire Sensors

To use a one wire sensor such as the DS18B20sensor populate the resistor in the arduino pull up part of the board, which is labled DAT. It is size 0603 and it’s resistance should be given in the data sheet for the one wire sensor. This resistor connects the pins labled Vcc and 5. Connect the sensor to the pins labled Vcc, GND and 5.

Analog Sensors

To use an analog sensor (such as TMP36 plug the sensor into the GND, A3 and VCC pins, on the part of the board labled Arduino Sensor.

I2C Sensors

To use I2C or related protocols (such as that used by Sensirion SHT75) populate the resistor in the arduino pull up part of the board, which is labled DAT. It is size 0603 and it’s resistance should be given in the data sheet for the sensor. This resistor connects the pins labled Vcc and 5. Plug the sensor into pins A3, Vcc, GND and 5.

Using the STM32 Blue Pill

schmatic

The STM 32 blue pill is longer than the temperature shield so some of the blue pill’s pins will not be connected to the shield. To connect it correctly, locate the 5V pin on the STM 32. Additionally, locate the pin labled 32 5V PIN on the front of the shield (the side with the 7 segment display). Plug the shield into the STM 32 so that these pins are connected.

One Wire Sensors

To use a one wire sensor such as the DS18B20 sensor populate the resistor in the 32 sensor side pull up part of the board, which is labled DAT. It is size 0603 and it’s resistance should be given in the data sheet for the one wire sensor. This resistor connects the pins labled 3.3V and B4. Connect the sensor to the pins labled 3.3V, GND and B4.

Analog Sensors

To use an analog sensor (such as TMP36 plug the sensor into the GND, A7 and 3.3V pins, on the part of the board labled 32 sensor.

I2C Sensors

To use I2C or related protocols (such as that used by Sensirion SHT75) populate the resistor in the 32 sensor pull up part of the board, which is labled DAT. It is size 0603 and it’s resistance should be given in the data sheet for the sensor. This resistor connects the pins labled 3.3V and B4. The sensor will plug into the pins labled A7, 3.3V, GND and B4.