Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

RBG LED Button Matrix 4x4

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
3,466
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 10, 2009

This demonstrates a 4x4 button matrix. I went through several designs and like this one the best for its low pin count and easy expandibility. It's a cross between the Peggy 2 and Sparkfun button board, with my own hack for scanning the buttons. An AVR atmega16 controls a STP16DP05 chip and twelve transistors to read the buttons and animate the LEDs. An atmega168 (like in the Arduino) would be suited as well, as 15 digital outputs and 4 inputs pins are needed. The matrix can be expanded to 8x8 (192 LED elements, 64 buttons) without any extra components or pins used. The STP16 works both as a constant current sink for the LEDs and as a voltage output for the AVR to scan the buttons. With this hack, only 4 pins are used on the microcontroller to read up to an 8x8 matrix.

In this video there's 8 colors (green, blue, cyan, red, yellow, purple, white, off), but more are possible with software PWM.

Schematic will be posted on commonsound.com soon...

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (4mspedals)

  • It can be 8x8 without any extra chips or hardware... but i have a new version that can go bigger than that (am waiting for my boards to test it!) Parts cost is around $50, and MIDI in/out is simple. I'll post more!!

see all

All Comments (5)

Sign In or Sign Up now to post a comment!
  • Make a rubix cube!!!!!!!!

  • i want to make something like this. is it hard, and is it expensive. How do i start?

    thanks

  • Hey man, I'm making a multiphonic cube that requires one face with a 4x4 led push button matrix to trigger samples and sequencers in Max. This is just the sort of stuff I've been looking for, where might I be able to get the materials/components to make your style of button matrix?

  • hi, i love this! you say you can read the button presses, so it should be possible to expand this using multiplexers,right? then you would have a monome without spending the $500 or the waiting list. how much would something like this cost, as in parts?

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more