2018-05-29 10:33:00 +01:00
|
|
|
# uPyLibs
|
|
|
|
|
2018-05-31 17:00:11 +01:00
|
|
|
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:
|
2018-05-31 17:35:51 +01:00
|
|
|
* 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
|
2018-05-31 17:00:11 +01:00
|
|
|
* ESP32-based boards:
|
2018-05-31 17:35:51 +01:00
|
|
|
* Generic
|
|
|
|
* "WeMos" LOLIN32 dev board with 128x64 SSD1306 OLED
|
|
|
|
* Heltec WiFi_Kit_32
|
2018-05-31 17:00:11 +01:00
|
|
|
* WiFi automatic setup where possible
|
|
|
|
* i2c abstraction with automatic setup
|
|
|
|
* SSD1306-based OLED display setup
|
|
|
|
* Sensor abstraction support
|
2018-05-31 17:35:51 +01:00
|
|
|
* OneWire DS18B20 (Temperature)
|
|
|
|
* i2c SHT21 (Temperature, Humidity)
|
|
|
|
* i2c LM75A (Temperature)
|
2018-05-31 17:00:11 +01:00
|
|
|
|
|
|
|
Support is planned for the following:
|
|
|
|
* nRF51-based boards supporting MicroPython:
|
2018-05-31 17:35:51 +01:00
|
|
|
* BBC micro:bit
|
2018-05-31 17:00:11 +01:00
|
|
|
* Expanded ESP8266-based board support
|
|
|
|
* Expanded ESP32-based board support
|
2018-05-31 17:35:51 +01:00
|
|
|
* Support for peripherals present in ESP32
|
|
|
|
* Capacitive Touch
|
|
|
|
* Hall-effect Sensor
|
|
|
|
* Internal Temperature
|
|
|
|
* Bluetooth + Bluetooth Low Energy
|
2018-05-31 17:00:11 +01:00
|
|
|
* 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
|
2018-05-31 17:35:51 +01:00
|
|
|
* i2c BME280 (Temperature, Humidity, Barometric Pressure)
|
|
|
|
* TMP37
|
2018-05-31 17:03:49 +01:00
|
|
|
* Peripherals/Add-on boards
|
2018-05-31 17:35:51 +01:00
|
|
|
* GSM modems
|
|
|
|
* SMS
|
|
|
|
* Data
|
|
|
|
* GPS
|
|
|
|
* Time sync
|
|
|
|
* Location
|