Skip to content

microPython event based engine supporting network messages (MQTT), times and various hardware drivers

License

Notifications You must be signed in to change notification settings

garthk/aiko_engine_mp

 
 

Repository files navigation

Aiko Engine MP (microPython)

Contents

Pages

The Aiko Engine MP provides ...

  • Modular microPython based framework
  • Abstractions for event handling, networking and timers
  • End user Wi-Fi configuration via a Wi-Fi Access Port and web server
  • Application firmware OTA (Over The Air) upgrader
  • Low-level LED panel graphics functions
  • Multiple OLED screens
  • Integrates MQTT and distributed services
  • Supports LCA2021 SwagBadge project
  • Supports LCA2018 LoliBot robotics project
  • Supports LCA2017 IoTuz project
  • Tested on a range of ESP32 development boards
    git clone https://github.com/geekscape/aiko_engine_mp
    cd aiko_engine_mp
    workon micropython
  • Install mpfshell
    pip install esptool
    pip install -U mpfshell
  • Plug in your ESP32 device and make sure you can see it, e.g ls /dev/tty.* provides e.g /dev/tty.wchserial1410
  • Export the serial port to an environment variable, so mpfshell can use it, e.g export AMPY_PORT=<port> where port is the device address shown by the ls command above
  • Download latest microPython
  • Flash microPython
    ./scripts/flash_micropython.sh
  • Run the Aiko Engine MP flash script
    ./scripts/mpf_script.sh ./scripts/aiko.mpf

Note: For Lolin32-Lite boards, the serial port can be notoriously problematic and requires a slight delay in order for the connection to occur properly. If you're seeing errors that look like Could not enter raw repl then this is probably related.

For mpfshell (version v0.9.1 and earlier) on Mac OS X or Windows, this problem may be fixed via this patch

Associated open-source ESP32 hardware projects ...

About

microPython event based engine supporting network messages (MQTT), times and various hardware drivers

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 89.4%
  • Shell 9.4%
  • Batchfile 1.2%