Giter Site home page Giter Site logo

gitter-badger / ulnoiot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ulno/ulnoiot-upy

0.0 0.0 0.0 1.57 MB

Ulno's Micropython iot libraries facilitating quick iot deployment with wireless microcontrollers.

License: MIT License

Shell 24.76% Python 75.24%

ulnoiot's Introduction

ulnoiot

Here, your find extensions to micropython enabling IoT classes and easy getting started using micropython. To support this start, we are using our own development kits as well as supporting very simple selections of devices usually including one ESP8266 board.

1st supported development kit: ulno's devkit1

For a start, the original author Ulno (http://ulno.net) has desigened some shields (little electronic parts you can just plug together) to plug into a Wemos D1 mini. This is now called the devkit1. You can also find manuals to build different parts of the devkit and the links to youtube videos using and soldering them on ulno's youtube channel.

devkit1 envisions the following shields:

  • devel: a shield with two leds and 3 buttons, pressing the right one when booting up, will delete the wifi configuration file and prevent the user_boot.py to be started
  • display: supports using an i2c-based 128x64 LCD (ssd1306) on d5 and d2
  • ht: a shield employing a DHT11 temperature and humidity sensor (connected to d1)
  • mpr121: this is a shield using the mpr121 multi touch and gpio chip over i2c
  • relay: supporting the default relay shield for the wemos d1 mini attached to d1

Tool support

Other tools allow an easy way to deploy the Micropython firmware and also adding the present libraries to allow writing really simple software for these devices and integrate them in an mqtt-based IoT environment.

To setup wifi connect to the wireless network of the esp8266, when in access point mode and use webrepl or your own local copy of it from https://github.com/micropython/webrepl to get a command line. You can also connect to the command line via a serial terminal.

The webrepl password is hardcoded to "ulnoiot". You can change it later in the webrepl_cfg.py file (just re-upload the file with a different password and reconnect. Attention, the password can't be too complex, so stick with something around 8 characters and not too many special things in it. I haven't figured out why, seems to be a webrepl thing - or just stick with the default.

Try typing help and check the small manual. You can setup the wifi with wifi( "network-name", "password" ). You can scan the existing wifi networks with wscan and when the wifi is configured, you can see the current ip with typing wip.

If you create a user_boot.py file with your own context, this will be started automatically, when the system boots.

External resources

This project would not have been possible without a thriving open source community around the Internet of Things. We make a lot of use of the following tools:

ulnoiot's People

Contributors

ulno avatar waltino 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.