Skip to content

mraess/micropython_public

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Micropython tinkering

  1. Tempreader project
  • This folder contains micropython files for a temp-reader project that uses uasyncio widely.
  • It runs on an ESP32, and includes BME280 temp, humidity, and pressure sensor (via I2C), Adafruit MAX 31855 thermocouple aplifier (via SPI), neo pixel, rotrary encoder, 1602 LCD display (via I2C)
  • Notably, it also uses the aswitch library by Peter Hinch. The pushbutton on the rotary encoder lets you switch (toggle) between two different display states:
  • (1) showing the output of the BME280 and (2) showing the output (current) temp of the thermocouple as well as the temperature set via the rotary encoder, as well as the delta and on the neopixel (as an alert of sorts) of how close you are getting to the set temp.

This is my first bigger micropython project with uasyncio and it works wonderfully, thanks in large part due to Peter Hinch's help. It is a little messy I'm sure and there are certainly ways to implement this more elegantly. Feedback is welcome!

Schematic on EasyEDA here

Additional resources:

  • Dave Hylands' LCD info - especially to create characters here
  • Adafruit SPI MAX 31855 thermo reader based on this doc.
  • Rotary encoder lib here

About

Public micropython code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages