Giter Site home page Giter Site logo

bigtape's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.