Skip to content

OldhamMade/ESP8266-OLED-dht-micropython-seriesly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Temperature/Humidity Display using MicroPython and Seriesly

A small project to display and send temperature and humidity information to the timeseries database Seriesly for later study. Built for ESP8266/Wemos-D1 boards running MicroPython.

Example Image

Hardware

For this project, I used the following items:

Installing MicroPython

You'll need to install the correct drivers for your OS and board. You should then be able to proceed by following the MicroPython install instructions.

Installing the code

The easiest way to do this is to connect to the board using something like picocom, enable the webrepl, and use the MicroPython webrepl tool to upload the files to the board. Remember to update the settings.py file as necessary with network and pin settings before uploading.

I can also recomment using adafruit-ampy if you prefer transferring files directly over your wired connection.

Once you've installed the dependencies, rebooting the board should kick things off and you should immediately see an ONLINE message on your OLED display, followed by some temperature/humidity readings, and entries should start appearing in your Seriesly server.

Dependencies

Before the code will run, you'll need to install the dependencies below by accessing the MicroPython REPL and running the following commands:

>>> import upip
>>> upip.install('micropython-logging')

About

Temperature/Humidity OLED display using MicroPython and Seriesly

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages