Skip to content

Alive24/BigTape

Repository files navigation

BigTape

This is the archive for code used for the project BigTape installed in PingShan Art Museum.


update: I uploaded a video here: https://www.youtube.com/watch?v=SyM3ul_wpzs

Highlights

  • Running on three ESP32 modules with MicroPython, and communicate through HTTP on the local network.
  • Async PID control based on position with MicroPython simple-pid
  • Absolute Rotatory Encoder through RS485 and ModBus RTU Serial with MicroPython Modbus library
    • See specs of the absolute encoder here
    • In the actual project, a LoRa Transmission Module is used for remote communication in RS485 and Modbus RTU Serial. See specs here.
  • DC Motors driven by H-Bridge with PWM.
    • See specs for the H-Bridge here
  • Dynamically setting PID position through HTTP server with MicroDot
  • Triggerable by human movement based on Xiaomi Human Body sensor

Notes for Reproduction

  • Most of the third-party modules used in this project has been "frozen" into the firmware:
    • PID
    • umodbus
    • copy
    • urequests
    • microdot_asyncio
  • Just for reference, utility.py contains some deprecated code from the unsuccessful usage of incremental rotatory encoder as the ESP32 used in this project fails to register every steps.
  • The repo has been substantially purged for succinctness with only the working code left, which might lead to confusion should there be any mistakes. If necessary, open an issue.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages