Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cfrankb/esp32-tm1637plus-cpp
TM1637 4 digits 7-Segment LED Module driver for the ESP-IDF
https://github.com/cfrankb/esp32-tm1637plus-cpp
cpp esp-idf esp32 tm1637 tm1637display
Last synced: about 1 month ago
JSON representation
TM1637 4 digits 7-Segment LED Module driver for the ESP-IDF
- Host: GitHub
- URL: https://github.com/cfrankb/esp32-tm1637plus-cpp
- Owner: cfrankb
- Created: 2024-09-11T08:01:05.000Z (2 months ago)
- Default Branch: master
- Last Pushed: 2024-09-12T17:11:22.000Z (2 months ago)
- Last Synced: 2024-09-30T09:21:53.311Z (about 1 month ago)
- Topics: cpp, esp-idf, esp32, tm1637, tm1637display
- Language: C++
- Homepage:
- Size: 239 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Demo Project: ESP-32 tm1637 driver LED library for the ESP-IDF
## Introduction
This is a demo project for a library to control TM1637 LED 7-segment display using the ESP-32 IDF toolchain [ESP-IDF](https://github.com/espressif/esp-idf).
Please note that this is actually a demo project. The library is in the components folder.
![Image](images/20240911_025121-crop.jpg "icon")
## Features
* Display numbers
* Display raw segment data
* Scrolling text
* Simplified interface
* C++ Implementation## Software required
esp-idf v5.1.2 or later.
# Installation
```Shell
git clone https://github.com/cfrankb/esp32-tm1637plus-cpp
cd esp32-tm1637plus-cpp/
idf.py set-target {esp32/esp32s2/esp32s3/esp32c3}
idf.py menuconfig
idf.py flash
```## Suggested wiring for the TM1637 LED display
| TM1637 | wirecolor | GPIO Pin |
| -------- | --------- | ---------- |
| CLK | white | 18 |
| DIO | yellow | 19 |
| GRN | black | GRN |
| VCC | red | 3.3v or 5v |## Tested hardware
| Part # | Size | Pins |
| -------- | --------- | ---------- |
| 5643BS-1 | 0.56" | 12 |
| 8041BS-1 | 0.80" | 12 |
| 8401BS-1F| 0.80" | 14 |## Source Code
The source is available from [GitHub cfrankb/esp32-tm1637plus-cpp](https://github.com/cfrankb/esp32-tm1637plus-cpp).
## License / acknowledgement
The code in this project is licensed under the MIT license - see LICENSE for details.
Initial idea based on the Micropython implementation library, written by Mike Causer Copyright (c) 2016
https://github.com/mcauser/micropython-tm1637The project is also based in part on this ESP-32 ESP-IDF library: https://github.com/petrows/esp-32-tm1637