Git Product home page Git Product logo

upy-segclock's Introduction

upy-segclock

NTP clock with Adafruit 1.2" I2C display on ESP8266 in Micropython

This project uses submodules. Clone with git clone --recurse-submodules or git submodule init in each submodule directory.

BOM

  • 1x esp8266 development board with USB - I used a nodemcuv2 variant
  • 1x Adafruit 1.2" 4-Digit 7-Segment Display with I2C Backpack - there are a few color choices. Based on HT16K33 controller.
  • 1x DHT-22 Temperature and Humidity Sensor
  • 3x 10K resistors for pullups
  • 1x old phone USB charger - to power it when it is on the wall

Wiring

Pins are currently hardcoded

Adafruit I2C Backpack

  1. IO → 3V3
  2. + → VIN (5V)
  3. - → GND
  4. D → D1 (Pin 5) + pullup resistor to IO or 3V3
  5. C → D2 (Pin 4) + pullup resistor to IO or 3V3

DHT22

  1. VDD → 3V3
  2. Data → D5 (Pin 14) + pullup resistor to VDD or 3V3
  3. NC
  4. GND → GND

Getting Started

TODO

  • Configurable I/O Pins
  • Improve MQTT configurability
  • Improve DHT-22 configurability
  • Make DHT-22 optional
  • Improve localization (Timezone and DST offsetting)

upy-segclock's People

Contributors

tlied2 avatar

Stargazers

Simon Law avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.