Skip to content

Python Library for interfacing with the HT1632c LED Matrix

Notifications You must be signed in to change notification settings

hebertpalomino/HT1632C-Python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HT1632C Python Library

A library used to interface with the RaspberryPi and a set of HT1632c Sure Electronic LED Boards.

Connection

Using a Raspberry PI model B2, you need to connect some GPIO pins to the LED BR1 port, the input port, like this:

RPI Label Pin SURE Label Pin
GND 6 GND 8
5V 4 5V 16
GPIO 10 (MOSI) 19 DATA 7
GPIO 11 (SCLK) 23 WR 5
GPIO 8 (CE0) 24 CLK 2
GPIO 7 (CE1) 26 CS 1

Installation

On your Raspberry PI open a shell, or connect to it by ssh. First you need to install the python development package and the wiringPi library

Prerequisites

Execute the following commands to have an updated package database, and to install python-dev and git-core:

sudo apt-get update
sudo apt-get install python-dev
sudo apt-get install git-core

You are now ready to install the wiringPi library. You may have a look at http://wiringpi.com/ for further information and documentation. Inside the shell execute these commands, to download the source code with git, build and install the library.

git clone git://git.drogon.net/wiringPi
cd wiringPi
git pull origin
./build

Enable SPI on Board

gpio load spi

Install

sudo python setup.py install

Examples

Once you have done the above, try out one of the examples.

About

Python Library for interfacing with the HT1632c LED Matrix

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 96.5%
  • Python 3.5%