Development

Start: 08/2022.

End: 12/2022.

Project description (Github)

This project was developed for my IoT class - IE321 - Tópicos em Eletrônica II, teached by prof. Fabiano Fruett. The objective of the course was to develop a meteorological station, where each student was responsible for a sensor. I developed the temperature sensor module and helped to create and standardize the code architecture for easy integration with the Raspberry Pi. In addition I worked with 3D printing to integrate the module in the final version of the weather station adding a support.

The temperature sensor project, has a 4-wire PT100 type sensor, a MAX31865 signal converter module for SPI communication with the Raspberry Pi Pico board and with data visualization on a Nokia 5110 display.

VSCode was used together with MicroPython to program the microcontroller. The main.py file executes a loop, which performs the sensor reading, and returns a set of parameters (such as the raw resistance value measured by the PT100 and the calculated temperature). The src/max31865.py file contains the conversion of the value read by the module to its respective associated temperature value, in which the number of GPIO pins used is defined as an input parameter.

In addition, the project contains the Altium files for creating the 2-sided PCB of the project and the Gerber and NC Drill files for its fabrication in the “Outputs” folder. Datasheets and reference documents are also attached in the project.

(How to use MAX31865)

(Datasheet MAX31865)

(TinkerCad Design)

Screenshot

iot iot
Final temperature module in operation

iot
3D printed support designed with TinkerCad

iot
Temperature module diagram

iot
Final IoT project board

iot
Final Weather Station board mounted

iot
Final Weather Station result

iot
Temperature module operating

Tools

  • Micropython
  • Altium
  • 3-D Printing (TinkerCad)
  • MAX31865 signal converter module
  • 4-wire PT100 SENSOR
  • Raspberry Pi
  • Nokia 5110 display