GithubHelp home page GithubHelp logo

jameshagerman / rpi-tcl-server-p9813 Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 1.0 91 KB

Playing around with the raspberry pi's spi port and node.js

C 1.28% Makefile 0.25% Processing 0.30% HTML 0.71% JavaScript 97.47%

rpi-tcl-server-p9813's Introduction

Raspberry Pi SPI based RGB LED network server

This app was written by James Hagerman.

This project is a socket server that takes space delimitated strings of 24 bit hex colors and dumps those colors out over the raspberry pi's SPI bus to the Total Control Lighting addressable LED chains.

Also included is a Processing app that will connect to the raspberry pi and cycle through HSB colors as quickly as it can based on the Hue cycling from 0-360 degrees.

This project depends on the wiringPi libraries by Gordon Drogon. Thanks Gordon!

Some of the code was also ripped from the Total Control Lighting Arduino TCL library. Since TCL doesn't tell it's customers what chipset is being used in their products, this was the only sure way to get the code working correctly.

Build

Build on the Pi itself:

make

Transfer all files to the Pi using SCP THEN build on the pi via SSH:

make -f Makefile.scp

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.