r/MicroPythonDev • • 3d ago

Dual platform MicroPython/full Python driver for the MAX31760 fan speed controller

Dual platform Micropython/full Python driver for the MAX31760 fan speed controller. Runs on both MicroPython and full Python on an SBC such as a Raspberry Pi. Fully end-to-end testing on Raspberry Pi Pico W 1, ESP32-S3 and Raspberry Pi 3A+. Tested MicroPython versions: v1.19.0, v1.29.0 (latest available at release time). Full API layer implemented as oulined in MAX31760 datasheet. Every API tested with hardware verification feedback.

https://github.com/mecworks/max31760-fan-speed-controller-python-driver

3 Upvotes

2 comments sorted by

1

u/neuromonkey 3d ago

Huh. Not bad. An $18 board with a slew of input and output logic. It does look like it's designed for temp & tach input, and control of PWM, 3-, and 4-wire fans, but I'm guessing that you're finding more general uses for it.

Is the microcontroller based on AVR, ESP32, or RP2040, or is it entirely their own?

1

u/Mecworks 3d ago

It's their own chip. There's no dedicated MCU on the board, but an I2C connection is required for initial programming of the LUTs and runtime changes or manual control of the fans. Both fans can be controlled independently. I'm using it in this project to cool a couple ASUS Ascent GX10 computers:

https://forums.developer.nvidia.com/t/dual-spark-ducted-cooling-cage/365302/355?u=mecworks