3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Arduino Charliplexed Heart, just in time for Valentines Day.

Arduino Charliplexed Heart, just in time for Valentines Day.
«
  • 2251925240_4b89651759.jpg
  • 2251129227_a12afd889a.jpg
  • 2251127669_313d0b5fce.jpg
Here is an Arduino controlled Charliplexed LED heart just in time for Valentine's Day. It uses a total of 6 wires to controll the 27 LEDs. A PIC or AVR could easily be used for this, but I have Arduinos lying around and they are easy to program. Plus I want to be able to have input options later when I have time to write them.

Go here for a great explination of Charliplexing.

Update 5/20/08:
I've actually made a kit for this, and I'm now taking pre-orders on my website. I also created a flash-based animation programmer. Check them out and let me know what you think. The programmer generates the newest version of the code, so it will still be a useful tool if you make your own heart. You will just need to change out the LED array with one that maps to your own.

Update 2/12/08:
I've updated the software to v 1.3. I found a function called PROGMEM in the avr/pgmspace.h library (included with Arduino software) that allows you to write directly to the Flash ROM. That now gives about 500+ frames of animation, and is an extremely easy thing to implement. You can check out the new software here.

Two of my friends are currently working on getting a bitmath version that should increase this even further (to around 4,500 frames), but while working, it is not very easy to work with in creating animations. I'll release that once I have my Processing program up and generating the animation codes.

Update 2/11/08:
I've put the schematic on step 1. There is a direct link to it on my flickr as well.

First Animation


Second Animation

 
Remove these adsRemove these ads by Signing Up
 

Step 1Required materials

Required materials
«
  • 2251119347_f1e2599a77.jpg
  • 2251120055_300e54823a.jpg
  • open heart schematic.gif
- 27 LEDs I would suggest red, but these would be cool too.
- 6 resistors to match your LEDs I used 100R, but go here to figure it out yourself.
- 6+ wire cable, I used Cat5 because I had it lying around
- soldering setup
- some type of prototype PCB, I used this one from Radioshack and it fits the heart perfectly.

Update 2/11/08:
Here is the schematic as viewed from the top. You will want to review that before, during, and after building. Once it is built, you will need to test thoroughly. Each 2 wire combination to a battery should light up one, and only one, LED. If 2 light up, then something is wrong. There will be 3 combinations that won't light anything up, so don't worry, and just make a note. If more than 3 combinations fail to light up, then you probably have a short, or a fried LED.
« Previous StepDownload PDFView All StepsNext Step »
22 comments
Aug 20, 2010. 4:52 AMdgs says:

Aug 20, 2010. 4:47 AMdgs says:
Made one of my own on PIC12F675 (coz i'm into PIC mcu world :] ). Driving 16 LEDs on 5 pins. Take a look here: http://www.youtube.com/watch?v=FPcJ-hUoD-0
Aug 14, 2010. 2:31 PMmertaxoy says:
hello jaypee 4227 are you sure that your schemantic is correct ?? i have built the same and something is wrong :-/
Mar 3, 2009. 7:16 PMmoosebumps says:
Fun project! I built this for my valentine and it dazzled her so. Turns out she's a demanding ladyfriend and wanted to see the project go further. So as per her request it now pulses along to the music. Soon it will all get stuffed into a yo gabba gabba plex doll. Your polished code was quite an asset. Thank you! flickr vid: www.¡.ws/õ
Mar 4, 2009. 9:12 AMmoosebumps says:
Wow! thanks for the blog feature and fixing my poor link. I will get the code posted this evening and drop you a comment. Thanks again.
Jan 24, 2009. 3:36 AMDavidRobertson says:
(removed by author or community request)
Feb 6, 2009. 8:52 AMakatsuki666 says:
and for your answer i used his improved program he has listed above with a breadbord so i can put as many leds as a want hope that answers your question
Feb 6, 2009. 8:05 AMakatsuki666 says:
finaly i found a program that works with no errors ty vm!
Nov 12, 2008. 6:13 AMManiacy says:
Great project. I don't really see the C shapes, could you mark the positions somehow on the schematic or give the numbers of the LEDs with pin to which to solder?
Nov 9, 2008. 7:59 AMjchord says:
what size are the leds you used?
Oct 18, 2008. 1:18 AMrandName says:
I suggest using the I/O port registers for setting the state of the pin. It uses less cycles and would be faster, thus improving the quality of animation.

http://www.arduino.cc/en/Reference/PortManipulation
Feb 14, 2008. 7:46 PMGorillazMiko says:
Really cool Instructable! Very nicely done, it's really cool. And awesome job winning the random prize! :P
Feb 9, 2008. 2:23 AMBongmaster says:
looks kool.. got a schematic? the photos are a little confusing on thier own :)
Feb 9, 2008. 2:45 AMcraig3 says:
you could add this to a nice box with an on/off switch as well, instead of the normal gray project box, why not try to put it inside of a jewelry box lid
Feb 10, 2008. 10:04 AMChris Tucker says:
I've actually got a plan to make a PBC for this, so that it could function as a broach, or be pined onto a bag easily enough.

Avoid Logan Airport here in Boston. The natives are a simple and ignorant people, easily frightened by glowing lights on one's clothing.

See: http://www.boston.com/news/globe/city_region/breaking_news/2007/09/mit_student_arr.html
Feb 10, 2008. 1:43 PMChris Tucker says:
I'm in Mattapan myself. I was listening to the police scanner, and I heard the following on one of the media feedback channels: "Aqua Teen Hunger Force? What the hell is that?" I then knew instantly what was going on. My only regret was that the weather had been so filthy for a while, that I wasn't doing my usual walking about the city. My usual routes lead me past two or three of the sites where these things were. It would have been easy to snag one!. BTW, nice job with the thing! The videos are impressive.
Feb 9, 2008. 11:09 PMcr0ybot says:
Added to the Arduino Group! ;D

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
3
Followers
1
Author:jaypee4227
My name is Jimmie Rodgers, and I like to dabble with hobby electronics for fun. Visit my project blog for more things I've done: [http://blog.jimmieprodgers.com blog.jimmieprodgers.com]