Skip to content

โœจ Arduino library for HT1632 LED Matrix displays. Simple scrolling text, animations & custom graphics! ๐Ÿ”†

Notifications You must be signed in to change notification settings

milesburton/HT1632

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

โœจ HT1632 ๐Ÿ”† Arduino Library for Sure/HT1632(C) LED Driver

License: MIT Arduino Library GitHub Stars GitHub Issues

Control Sure Electronics LED Matrix displays with ease! Perfect for scrolling messages, custom animations, and interactive displays. ๐Ÿš€

๐ŸŽฏ Features at a Glance

  • ๐Ÿ“ Simple text display and scrolling
  • ๐ŸŽจ Custom graphics support
  • ๐Ÿ’ก 16 brightness levels
  • โšก Fast refresh rates
  • ๐Ÿ”ค Custom font support
  • ๐Ÿ”„ Multiple rotation options
  • ๐Ÿ“ฆ Straightforward installation

๐Ÿš€ Quick Start

// This is all you need to get started!
#include <HT1632.h>

HT1632LEDMatrix display(8, 9, 10, 11); // data, wr, cs, clk

void setup() {
  display.begin();
  display.print("Hello!"); // That's it! ๐ŸŽ‰
}

๐Ÿ“Š Why HT1632?

Feature HT1632 Other Libraries
Easy setup โœ… โŒ
Scrolling text โœ… โŒ
Custom fonts โœ… Limited
Memory efficient โœ… Varies
Active maintenance โœ… Varies

๐ŸŽจ Show Your Projects

Built something brilliant with HT1632? Share it:

  • Open a PR with your project added to SHOWCASE.md
  • Tag your projects with #HT1632Arduino
  • Join our community discussions in the Issues section

๐Ÿค Compatibility

Board Tested Notes
Arduino Uno โœ… Full support
Arduino Mega โœ… Full support
ESP8266 โœ… May require level shifter
ESP32 โœ… May require level shifter
Raspberry Pi โŒ Not currently supported

๐Ÿ›ฃ๏ธ Roadmap

  • Basic text display
  • Scrolling support
  • Animation support
  • Additional fonts
  • WiFi control example
  • Web configuration interface

๐ŸŒŸ What Can You Build?

  • ๐Ÿ“Š Real-time data displays
  • ๐ŸŽฎ Retro gaming displays
  • ๐Ÿ“ฑ IoT notification boards
  • ๐ŸŽต Audio visualisers
  • ๐ŸŒก๏ธ Environmental monitors
  • ๐Ÿ•’ Custom clocks

โšก Performance Tips

  • Utilise setBuffer() for faster updates
  • Batch multiple pixel changes
  • Optimise text scrolling speed
  • Consider using hardware SPI

๐Ÿ“š Documentation

Installation

  1. In Arduino IDE:

    • Go to Sketch -> Include Library -> Manage Libraries
    • Search for "HT1632"
    • Click Install
  2. Manual Installation:

    • Download this repository
    • Extract to your Arduino libraries folder
    • Restart Arduino IDE

Basic Usage

#include <HT1632.h>

const int DATA_PIN = 8;
const int CLK_PIN = 9;
const int WR_PIN = 10;
const int CS_PIN = 11;

HT1632LEDMatrix display(DATA_PIN, WR_PIN, CS_PIN, CLK_PIN);

void setup() {
  display.begin();
  display.brightness(15);  // 0-15
  display.clear();
}

void loop() {
  // Display scrolling text
  display.print("Hello, World!");
  display.scrollLeft();
  delay(100);
}

Key Functions

  • begin() - Initialise the display
  • clear() - Clear the display
  • brightness(level) - Set brightness (0-15)
  • setPixel(x, y, colour) - Control individual pixels
  • print(text) - Display text
  • scrollLeft/Right/Up/Down() - Scroll content
  • setRotation() - Rotate display

๐Ÿ”ง Troubleshooting

  1. Display not working?

    • Check wire connections
    • Verify power supply
    • Confirm chip type (HT1632/HT1632C)
  2. Text not scrolling?

    • Check scroll delay settings
    • Verify display initialisation
    • Ensure proper pin connections
  3. Dim display?

    • Check brightness settings
    • Verify power supply capacity
    • Check for loose connections

๐Ÿ“œ Licence

This project is licensed under the MIT Licence. See https://opensource.org/licenses/MIT for details.

๐Ÿ‘ค Author

Miles Burton - Developer

Miles is a software engineer with extensive experience in embedded systems and IoT development. His work focuses on creating accessible and efficient libraries for the Arduino community. This library represents part of his ongoing commitment to open-source development and electronic education.

๐Ÿ™ Acknowledgements

  • Sure Electronics for their excellent LED matrices
  • The Arduino community for their continued support
  • All contributors who have helped improve this library

About

โœจ Arduino library for HT1632 LED Matrix displays. Simple scrolling text, animations & custom graphics! ๐Ÿ”†

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published