A MicroPython library which experts have described as "framework-adjacent" and "probably not very good". Written to abstract away MicroPython board (ESP8266/ESP8285, ESP32, PyBoard, etc) specifics, and include support for all onboard hardware
Go to file
Maff d90504c205 Add functionality for automatically identifying available COM ports. 2018-07-13 20:35:30 +01:00
support Fixed flash.ps1 to work outside of Windows Powershell - for some reason Get-ChildItem returns an object with all attributes unpopulated but present 2018-06-25 23:30:36 +01:00
.gitignore make password configs be in a different file, don't publish passwords in git 2018-06-02 00:23:08 +01:00
.gitmodules Fixed flash.ps1 to work outside of Windows Powershell - for some reason Get-ChildItem returns an object with all attributes unpopulated but present 2018-06-25 23:30:36 +01:00
.micropythonrc Added micropythonrc file 2018-06-12 18:00:00 +01:00
LICENSE Initial commit 2018-05-29 09:33:00 +00:00
README.md update readme to reflect new developments 2018-06-02 00:34:32 +01:00
boot.py make password configs be in a different file, don't publish passwords in git 2018-06-02 00:23:08 +01:00
flash.ps1 Add functionality for automatically identifying available COM ports. 2018-07-13 20:35:30 +01:00
init_sample.py i keep forgetting how class declarations work in python 2018-06-11 15:33:52 +01:00
main.py add sample code for using a waveshare 1.54in WBR epaper display 2018-06-26 00:23:48 +01:00
ssd1306.py Upload files to '' 2018-05-31 14:04:58 +00:00
uJIRA.py slight amount of change lol 2018-06-13 17:58:20 +01:00
uPyConfig.py corrected a brief brainfart 2018-06-11 15:23:48 +01:00
uPySensor.py okay so now rather than having microWebSrv i just wrote my own dang webserver. 2018-06-02 00:10:33 +01:00
uPyhttpd.py Finished renaming uPyhttpd, swapped bme280 for a submodule 2018-06-19 20:11:14 +01:00
webrepl_cfg.sample.py make password configs be in a different file, don't publish passwords in git 2018-06-02 00:23:08 +01:00
wifi_cfg.sample.py make password configs be in a different file, don't publish passwords in git 2018-06-02 00:23:08 +01:00

README.md

uPyLibs

A MicroPython library which experts have described as "framework-adjacent" and "probably not very good".

Written to abstract away MicroPython board (ESP8266/ESP8285, ESP32, PyBoard, etc) specifics, and include support for all onboard hardware Currently, the library supports the following:

  • ESP8266-based boards:
    • Generic
    • Generic "arduino-compatible" D1 board (may be marked R2, may not, but it'd still be R2)
    • NodeMCU v1.0 (LOLINv3) dev boards
    • Heltec WiFi_Kit_8
    • TTGO-branded "gumstick"-style board with 128x32 SSD1306 OLED
  • ESP32-based boards:
    • Generic
    • "WeMos" LOLIN32 dev board with 128x64 SSD1306 OLED
    • Heltec WiFi_Kit_32
  • WiFi automatic setup where possible
    • Multiple wifi networks configured in a config file
  • i2c abstraction with automatic setup
  • OneWire abstraction
  • SSD1306-based OLED display setup
  • Sensor abstraction support
    • OneWire DS18B20 (Temperature)
    • i2c BME280 (Temperature, Humidity, Pressure)
    • i2c LM75A (Temperature)
    • i2c SHT21 (Temperature, Humidity)
  • Very basic webserver class supporting route definitions

Support is planned for the following:

  • nRF51-based boards supporting MicroPython:
    • BBC micro:bit
  • Expanded ESP8266-based board support
  • Expanded ESP32-based board support
    • Support for peripherals present in ESP32
      • Capacitive Touch
      • Hall-effect Sensor
      • Internal Temperature
      • Bluetooth + Bluetooth Low Energy
  • Support for LoRa/LoRaWAN
  • Improved WiFi automatic setup, possibly storing WiFi network details in flash and falling back to broadcasting AP if STA connection is impossible
  • SPI abstraction with automatic setup
  • SPI Nokia 5110/3310 LCD display setup
  • Sensors
    • TMP36
  • Peripherals/Add-on boards
    • GSM modems
      • SMS
      • Data
    • GPS
      • Time sync
      • Location
  • tinyWebServer
    • Support for method-specific route definitions
    • Support for HTTP methods other than GET
    • Support for keep-alive
    • Support for threading
    • Automatic cleanup of sockets
    • HTTP request header passthru to handler
    • HTTP response header configuration by handler