DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

How are you handling the data revolution? We want your take on what's real, what's hype, and what's next in the world of data engineering.

Generative AI has transformed nearly every industry. How can you leverage GenAI to improve your productivity and efficiency?

SBOMs are essential to circumventing software supply chain attacks, and they provide visibility into various software components.

Related

  • Architecture and Code Design, Pt. 2: Polyglot Persistence Insights To Use Today and in the Upcoming Years
  • How to Build Your Exchange Server Recovery Strategy to Overcome Ransomware Attacks
  • Build a Java Microservice With AuraDB Free
  • How to Build a Full-Stack App With Next.js, Prisma, Postgres, and Fastify

Trending

  • Microservice Madness: Debunking Myths and Exposing Pitfalls
  • The Evolution of Software Integration: How MCP Is Reshaping AI Development Beyond Traditional APIs
  • Docker Model Runner: Running AI Models Locally Made Simple
  • Spring Cloud LoadBalancer vs Netflix Ribbon
  1. DZone
  2. Data Engineering
  3. Data
  4. ESP8266-Based E-Paper Wi-Fi Weather Station

ESP8266-Based E-Paper Wi-Fi Weather Station

With an ESP8266, some e-paper, magnets, and a display, see how to build a low power weather station you can put on the fridge!

By 
Erich Styger user avatar
Erich Styger
·
Oct. 24, 17 · Tutorial
Likes (1)
Comment
Save
Tweet
Share
18.8K Views

Join the DZone community and get the full member experience.

Join For Free

I’m a fan of all kind of weather stations. When Daniel Eichhorn tweeted about his new version using an e-paper display module, I immediately preordered one. I decided to build a station with a custom enclosure, so here is my version of a 3D-printed version featuring magnets so it can be attached to the fridge:

E-Paper Weather Station

E-paper weather station

Using e-paper for a weather station is an ideal solution, as the data does not need to be updated often. By default, the station reaches out every 20 minutes for new data over Wi-Fi and then updates the display. Daniel Eichhorn already has published kits for the OLED (see Wi-Fi OLED Mini Weather Station with ESP8266) and touch display (see Wi-Fi TFT Touch LCD Weather Station with ESP8266). I like them both, but the TFT one is especially power-hungry and not really designed to work from batteries. What I would like is a station that can run for weeks.

The e-paper weather station from Squix/Daniel Eichhorn is available in two versions:

  • As a kit, with programmer, enclosure, and battery: https://blog.squix.org/product/2-9-espaper-plus-kit
  • Or the ‘lite’ kit with the display module: https://blog.squix.org/product/2-9-espaper-lite-kit

Features:

  • Waveshare 2.9″ E-Paper 296×128 (black, white)
  • ESP8266 Wi-Fi module
  • JST LiPo connector and charging circuit (100 mA/h)
  • 3 user buttons
e-paper module front

e-paper module front

Because the ‘lite’ kit was supposed to be available earlier, I ordered that version. I wanted to build custom enclosure anyway.

Setup

Daniel provides extensive and well-documented software for the module on GitHub. The setup guide is available at https://blog.squix.org/espaper-setup-guide.

Because I was familiar with his other weather stations, I had the module up and running in less than 30 minutes.

Because the ‘lite’ kit does not include a programmer (actually a USB to Serial Converter), I ordered a CP2102 module.

mini USB-2-UART converter

Mini USB-2-UART converter

And I did not need to build an adapter cable:

programming the ESP8266

Programming the ESP8266

Display

The display is attached to the PCB with double-sided tape, but I noticed that in the factory, it had been slightly misaligned:

Misaligned Display

Misaligned Display

After consulting Daniel Eichhorn, I was able to carefully remove the display with a razor knife:

Warning: This can easily break the display, do this only on your own risk!

Removed Display

Removed display

According to the label on the backside of the display, it must be the https://www.waveshare.com/2.9inch-e-paper.htm

Enclosure

I considered creating an enclosure with acrylic and the laser cutter, but then I decided to do a 3D printed one for greater flexibility.

E-Paper Enclosure

E-paper enclosure

The design includes a table stand as an option, a front, and a back part.

Weather Station on Table Stand

Weather station on a table stand

The battery fits into the back part of the enclosure:

Battery attached

Battery attached

No screws or glue is needed to keep the front and the back part together. The back part has two round holders for magnets so it can stick to metal objects:

Using Magnets to attach to metal

Using Magnets to attach to the fridge

Summary

I’m happy with the design and the functionality: I have a very low power weather station in the kitchen, which I can use on a stand or attach to metal surfaces. The station has run for nearly two weeks on the same battery with only a 10 mV drop so far — with an update of data over Wi-Fi every 20 minutes. The gray color is fine, but maybe I will try another version with a different color. Or do another one with the laser cutter. I think I might build up a few more of these…

Happy weathering!

Links

  • Waveshare 296×128 E-Ink Display: https://www.waveshare.com/2.9inch-e-paper.htm
  • USB to Serial Converter: https://www.banggood.com/CJMCU-CP2102-USB-To-TTLSerial-Module-UART-STC-Downloader-p-970993.html
  • Setup Guide: https://blog.squix.org/espaper-setup-guide
  • 3D Design Files on Thingiverse: https://www.thingiverse.com/thing:2598580
Build (game engine) Data (computing) Design USB Programmer (hardware) Database Factory (object-oriented programming) GLUE (uncertainty assessment) GitHub

Published at DZone with permission of Erich Styger, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Architecture and Code Design, Pt. 2: Polyglot Persistence Insights To Use Today and in the Upcoming Years
  • How to Build Your Exchange Server Recovery Strategy to Overcome Ransomware Attacks
  • Build a Java Microservice With AuraDB Free
  • How to Build a Full-Stack App With Next.js, Prisma, Postgres, and Fastify

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • [email protected]

Let's be friends: