Code Monkey home page Code Monkey logo

badge-miropython-wemosd1mini-oledssd1306's Introduction

badge-miropython-wemosD1Mini-OledSSD1306

A fun project in Micro Python for a conference badge (hopefully an interactive badge soon) using Wemos D1 Mini developement board (esp8266) and for now 128x23 OLED I2C display (on SSD1306). Hope to add 2 PIRs : )

Connect Wemos D1 mini's +5V and GND to SSD1306's GND and VCC pins; connect Wemos's D1 and D2 pins to SSD1306's i2C Data and Clock pins.

To run install esptool, flash micropython onto your board, install AdaFruit ampy and using it put boot.py, main.py, ssd1306.py.

Adjust property files to your needs: properties.wifi.txt properties.business.card.txt and ampy them onto the board as well.

Use a serial terminal (screen, picocom, CuteCom or such) and send Ctr+D to soft reboot the board and run.

ToDo: add alternative Wifi credentials with priorities so the board can connect to one of a few defined SSID's add marching ants animation rethink architecture to accomodate growing complexity of animation with readability make use of Peter Hinch'es Micropython Async lib ( https://github.com/peterhinch/micropython-async ) or maybe create a builder or other pattern.. post some photos somewhere (?)

If I can help in anyway, please, drop me a line at: lepi a t hackerspace d o t pl

Cheers! Mike

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.