Posts | Comments

Planet Arduino

Archive for the ‘matrix’ Category

[Mike Clifford] of [Modustrial Maker] had not one, not two, but five friends call him to announce that their first children were on the way, and he was inspired to build them a Bluetooth speaker with a unique LED matrix display as a fitting gift. Meant to not only entertain guests, but to audio-visually stimulate each of their children to promote neurological development.

Picking up and planing down rough maple planks, [Clifford] built a mitered box to house the components before applying wood finish. The brain inside the box is an Arduino Mega — or a suitable clone — controlling a Dayton Bluetooth audio and 2x15W amp board. In addition to the 19.7V power supply, there’s a step down converter for the Mega, and a mic to make the LED matrix sound-reactive. The LED matrix is on a moveable baffle to adjust the distance between it and a semi-transparent acrylic light diffuser. This shifts the light between sharp points or a softer, blended look — perfect for the scrolling Matrix text and fireplace effects! Check it out!

[Clifford]’s Arduino code is up on GitHub for anyone else out there with friends who are expecting. You never know when your own childhood Fisher-Price cassette players from back in the day might come in handy.

Filed under: Arduino Hacks, Musical Hacks

Working with CAD programs involves focusing on the task at hand and keyboard shortcuts can be very handy. Most software packages allow the user to customize these shortcuts but eventually, certain complex key combination can become a distraction.

[awende] over at Sparkfun has created a Cherry MX Keyboard which incorporates all of the Autodesk Eagle Shortcuts to a single 4×4 matrix. The project exploits the Arduino Pro Mini’s ability to mimic an HID device over USB thereby enabling the DIY keyboard. Pushbuttons connected to the GPIOs are read by the Arduino and corresponding shortcut key presses are sent to the host machine.

Additional functionality is implemented using two rotary encoders and the Teensy encoder library. The first knob functions as a volume control with the push-button working as a mute button. The encoder is used to control the grid spacing and the embedded button is used to switch between imperial and metric units. The entire code, as well as the schematic, is available on GitHub for your hacking pleasure. It’s a polished project just ready for you to adapt.

The project can be extended to be used with other computer software such as Gimp and the keys may be replaced by capacitive touch sensors making it more sturdy. Bluetooth can be added to make things wireless and you can check out the Double Action Keyboard to extend functionality further.

Filed under: Arduino Hacks, peripherals hacks

Well all know cellular automata from Conway’s Game of Life which simulates cellular evolution using rules based on the state of all eight adjacent cells. [Gavin] has been having fun playing with elementary cellular automata in his spare time. Unlike Conway’s Game, elementary automata uses just the left and right neighbors of a cell to determine the next cell ahead in the row. Despite this comparative simplicity, some really complex patterns emerge, including a Turing-complete one.

[Gavin] started off doing the calculations by hand for fun. He made some nice worksheets for this. As we can easily imagine, doing the calculations by hand got boring fast. It wasn’t long before his thoughts turned to automating his cellular automata. So, he put together an automatic cellular automator. (We admit, we are having a bit of fun with this.)

This could have been a quick software project but half the fun is seeing the simulations on a purpose-built ecosystem. The files to build the device are hosted on Thingiverse. Like other cellular automata projects, it uses LED matrices to display the data. An Arduino acts as the brain and some really cool retro switches from the world’s most ridiculously organized electronics collection finish the look of the project.

To use, enter the starting condition with the switches at the bottom. The code on the Arduino then computes and displays the pattern on the matrix. Pretty cool and way faster than doing it by hand.

Filed under: Arduino Hacks, misc hacks

[Stef Cohen] decided to combine three different artistic mediums for her latest project. Those are painting, electronics, and software. The end goal was to recreate the aurora borealis, also known as the northern lights, in a painting.

The first step was to make the painting. [Stef] began with a shadow box. A shadow box is sort of like a picture frame that is extra deep. A snowy scene was painted directly onto the front side of the glass plate of the shadow box using acrylic paint. [Stef] painted the white, snowy ground along with some pine trees. The sky was left unpainted, in order to allow light to shine through from inside of the shadow box. A sheet of vellum paper was fixed to the inside of the glass pane. This serves to diffuse the light from the LEDs that would eventually be placed inside the box.

Next it was time to install the electronics. [Stef] used an off-the-shelf RGB LED matrix from Adafruit. The matrix is configured with 16 rows of 32 LEDs each. This was controlled with an Arduino Uno. The LED matrix was mounted inside the shadow box, behind the vellum paper. The Arduino code was easily written using Adafruit’s RGB Matrix Panel library.

To get the aurora effect just right, [Stef] used a clever trick. She took real world photographs of the aurora and pixelated them using Photoshop. She could then sample the color of each pixel to ensure that each LED was the appropriate color. Various functions from the Adafruit library were used to digitally paint the aurora into the LED matrix. Some subtle animations were also included to give it an extra kick.

Filed under: Arduino Hacks, led hacks

64×16 RED LED Marquee

arduino, LED, matrix Commenti disabilitati su 64×16 RED LED Marquee 


by Tustin High T-Tech @

The purpose of this small scale LED marquee is to display messages to our classroom in a more modern and centralized way. In the classroom, this construction would save white board space and is convenient because it can store a large amount of information. It is also fairly simple to program and has a mount, making it easy to place anywhere within the classroom setting.

64×16 RED LED Marquee – [Link]


LED Graphic Equaliser from the 80s

arduino, arduino uno, equaliser, LED, matrix Commenti disabilitati su LED Graphic Equaliser from the 80s 


by SteveQuinn @

For those of you who remember the eighties, this will no doubt bring back fond memories when every piece of audio equipment in the known universe was at the time equipped with a plethora of LEDs.

More specifically the ubiquitous Graphic Equaliser or ‘Graphic EQ’.

This Instructable is centred around the MSGEQ7 to create a simple 2 Channel Graphic EQ and documents my first, poor attempt at using the Arduino Uno R3, the Arduino development environment and coding in ‘C’ for well over a decade.

LED Graphic Equaliser from the 80s - [Link]


Make a Custom Membrane Keypad for Arduino

arduino, keypad, matrix Commenti disabilitati su Make a Custom Membrane Keypad for Arduino 



My son got one of these Leap Frog toys a few years ago as a gift. He enjoys playing with it very much. I am not sure how much counting and learning he is doing but it makes funny noises and sings to him so its a lot of fun.

Recently the unthinkable happened. It died. Not the batteries but something else. I took the back off to look at what might be wrong (which was very easy for a toy). Unfortunately, other than the speaker, a switch, battery compartment, and a ribbon cable to the front, there wasn’t much to investigate. A couple of glop tops and nothing else. I fiddled a bit more with it but everything “external” seemed fine.

Make a Custom Membrane Keypad for Arduino - [Link]

[Alex] needed a project for his microcomputer circuits class. He wanted something that would challenge him on both the electronics side of things, as well as the programming side. He ended up designing an 8 by 16 grid of LED’s that was turned into a game of Tetris.

He arranged all 128 LED’s into the grid on a piece of perfboard. All of the anodes were bent over and connected together into rows of 8 LED’s. The cathodes were bent perpendicularly and forms columns of 16 LED’s. This way, if power is applied to one row and a single column is grounded, one LED will light up at the intersection. This method only works reliably to light up a single LED at a time. With that in mind, [Alex] needed to have a very high “refresh rate” for his display. He only ever lights up one LED at a time, but he scans through the 128 LED’s so fast that persistence of vision prevents you from noticing. To the human eye, it looks like multiple LED’s are lit up simultaneously.

[Alex] planned to use an Arduino to control this display, but it doesn’t have enough outputs on its own to control all of those lights. He ended up using multiple 74138 decoder/multiplexer IC’s to control the LED’s. Since the columns have inverted outputs, he couldn’t just hook them straight up to the LED’s. Instead he had to run the signals through a set of PNP transistors to flip the logic. This setup allowed [Alex] to control all 128 LED’s with just seven bits, but it was too slow for him.

His solution was to control the multiplexers with counter IC’s. The Arduino can just increment the counter up to the appropriate LED. The Arduino then controls the state of the LED using the active high enable line from the column multiplexer chip.

[Alex] wanted more than just a static image to show off on his new display, so he programmed in a version of Tetris. The controller is just a piece of perfboard with four push buttons. He had to work out all of the programming to ensure the game ran smoothly while properly updating the screen and simultaneously reading the controller for new input. All of this ran on the Arduino.

Can’t get enough Tetris hacks? Try these on for size.

Filed under: Arduino Hacks, led hacks

We’re surprised we haven’t seen this kind of clock before, or maybe we have, but forgot about it in the dark filing cabinets of our minds. The above picture of [danjhamer’s] Matrix Clock doesn’t quite do it justice, because this is a clock that doesn’t just tick away and idly update the minutes/hours.

matrix clock

Instead, a familiar Matrix-esque rain animation swoops in from above, exchanging old numbers for new. For the most part, the build is what you would expect: a 16×8 LED Matrix display driven by a TLC5920 LED driver, with an Arduino that uses a DS1307 RTC (real-time clock) with a coin cell battery to keep track of time when not powered through USB. [danjhamer] has also created a 3D-printed enclosure as well as added a piezo speaker to allow the clock to chime off customizable musical alarms.

You can find schematics and other details on his project page, but first, swing down below the jump to see more of the clock’s simple but awesome animations.


Filed under: Arduino Hacks, clock hacks

DIY LED Matrix Display with Bluetooth support

arduino, bluetooth, HC-06, LED, matrix Commenti disabilitati su DIY LED Matrix Display with Bluetooth support 


LED matrices are a popular mean of displaying text, graphics, and animated information at gas stations, convenient stores, and many other public places. Raj’s new project is about making a Bluetooth-enabled 8×64 LED matrix display, where you can send the text messages through a smartphone over a Bluetooth connection. He used Arduino as the main controller and an HC-06 Bluetooth adapter to receive data from the smartphone. He has shared all of his design files and Arduino firmware on his blog.

DIY LED Matrix Display with Bluetooth support - [Link]

  • Newsletter

    Sign up for the PlanetArduino Newsletter, which delivers the most popular articles via e-mail to your inbox every week. Just fill in the information below and submit.

  • Like Us on Facebook