aily-blockly-libraries

repository·main·Indexed 17 days ago

https://github.com/ailyproject/aily-blockly-libraries

A collection of Blockly-based libraries and specification detection tools for hardware control and sensor integration, specifically designed for the Xiaomi MiMo AI ecosystem. It includes drivers for the 74HC595 shift register, AccelStepper, and various Adafruit sensors including ADS122C04, ADXL345, AHTX0, BME280, BMP280, BMP3XX, DHT, fingerprint recognition, GFX color displays, and INA219 power meters. Compatible with Arduino UNO, MEGA, ESP8266, ESP32, and other Arduino-compatible boards.

Tokens
574.6K
Snippets
1.8K
Records
3.9K
Agent score
68%

What's inside aily-blockly-libraries

  1. Overview of the @aily-project/lib-rtc library

    main

    The @aily-project/lib-rtc library provides support for various Real-Time Clock (RTC) chips, allowing for time reading, setting, and formatting. It is designed to work with specific hardware chips and provides chip-specific functions for advanced control.

    Supported RTC Chips:

    • DS3231
    • DS1307
    • DS1302
    • PCF8563

    Supported Hardware Boards:

    • Arduino AVR
    • Arduino SAMD
    • ESP32
    • RP2040
  2. Overview of @aily-project/lib-cubic-robot

    main

    The @aily-project/lib-cubic-robot library is designed for the Cubic CoreV2 (ESP32) and the Cubic Motor expansion board.

    It provides high-level abstractions for robot control, specifically leveraging:

    • Motor Control: Directly reuses @aily-project/lib-encoder-motor (em::EncoderMotor) for precision movement.
    • Servo Control: Uses built-in ESP32Servo functionality.

    This library is ideal for developers building competition robots using Cubic hardware that require motor speed control, differential driving, and servo manipulation.

  3. Overview of @aily-project/lib-esp32-sd

    main
    The @aily-project/lib-esp32-sd library provides SPI-mode SD card blocks for the ESP32 family. It is designed to be compatible with the Arduino-ESP32 Core 3.3.10 SD.h and FS.h libraries. This package allows for file system operations including mounting, reading, writing, and directory management on an SD card via the SPI protocol.