mcauser / awesome-micropython

A curated list of awesome MicroPython libraries, frameworks, software and resources.
https://awesome-micropython.com
Creative Commons Zero v1.0 Universal
1.38k stars 175 forks source link

Add micropython-gy33 driver #120

Closed QuirkyCort closed 8 months ago

QuirkyCort commented 1 year ago

This is a pair of UART and I2C driver for the GY-33 color sensor.

https://github.com/QuirkyCort/micropython-gy33

The GY-33 uses a TCS3472, but does not expose it by default. Instead, it has an onboard micro-controller (STM32F030F4) that handles reading of the sensor and provides a UART and I2C interface. The I2C interface is not compatible with drivers written for the TCS3472, so a separate driver is required.

I couldn't find any detailed English documentation for the GY33, so I've also provided documentation for it in the repository based on the Chinese docs and my own tests.

mcauser commented 1 year ago

Nice one.

I found this in English - is that the same module? http://wiki.sunfounder.cc/index.php?title=GY-33_Color_Recognition_Sensor_Module

QuirkyCort commented 1 year ago

Yes. That's the module, but that document is very light on details (eg. no info on uart mode).

The document here https://pan.baidu.com/s/1kVq51dl is far more detailed, but it's in chinese...

mcauser commented 8 months ago

Added in 2b79a93a56ec3d1bf2cf53e256407577a567204e