Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vrialland/micropython-ht1632c
Micropython driver for Sure Electronics' HT1632C bicolor led matrix
https://github.com/vrialland/micropython-ht1632c
esp8266 micropython
Last synced: about 1 month ago
JSON representation
Micropython driver for Sure Electronics' HT1632C bicolor led matrix
- Host: GitHub
- URL: https://github.com/vrialland/micropython-ht1632c
- Owner: vrialland
- License: mit
- Created: 2018-01-03T19:15:11.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-10T08:12:29.000Z (almost 7 years ago)
- Last Synced: 2024-04-22T12:34:15.822Z (8 months ago)
- Topics: esp8266, micropython
- Language: Python
- Size: 38.1 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mpython - micropython-ht1632c - Driver for HT1632C 32x16 bicolor led matrix. (精选驱动库 / 显示类)
- awesome-micropython - micropython-ht1632c - Driver for HT1632C 32x16 bicolor LED matrix. (Libraries / Display)
README
# MicroPython lib for HT1632C led matrix from Sure Electronics
This library was written to control the Sure Electronics 32x16 bicolor led
matrix from MicroPython. It has only been tested with an ESP8266 and the 32x16
bicolor matrix, using it on the 24x16 or 32x8 versions probably won't work as
is. If you can help providing support for them, please be welcome :)## Wiring
This is the default pin layout to control the matrix:
| ESP8266 | HT1632C | Color | GPIO |
|---------|---------|--------|------|
| D5 | DATA | Blue | 14 |
| D6 | CS | Green | 12 |
| D7 | WR | Yellow | 13 |
| D8 | CLK | Orange | 15 |This can be easily overriden using the `*_pin` params in the constructor:
```python
HT1632C(clk_pin=15, cs_pin=12, data_pin=14, wr_pin=13, intensity=PWM_10_16)
```## Special thanks
This library is heavily inspired from these C and C++ libraries:
- https://github.com/redgick/Redgick_GFX
- https://github.com/gauravmm/HT1632-for-Arduino
- https://github.com/wildstray/ht1632cKudos to their authors!