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

CCHS-Melbourne/swagbadge

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aiko Engine MP (microPython)

Contents

Pages

The Aiko Engine MP provides ...

git clone https://github.com/geekscape/aiko_engine_mp && cd aiko_engine_mp
workon micropython
  • Install mpfshell
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_flash.sh ./scripts/aiko.mpf

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

In this case, set a delay to sleep the program when it iss uploading the files: export AMPY_DELAY=4 will usually do the trick.

Associated open-source ESP32 hardware ...

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 85.5%
  • Shell 11.7%
  • Batchfile 2.8%