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.

Step 5Connecting and programming

Connecting and programming
«
  • 2251924622_baa73737fc.jpg
  • 2251127669_313d0b5fce.jpg
  • 2251925240_4b89651759.jpg
  • 2251129227_a12afd889a.jpg
  • 2251925804_c33db23670.jpg
  • 2251131131_8485ea6112.jpg
  • 2251130611_f5112de08d.jpg
Now all that's left to do it to wire it up, and connect it to an Arduino. Since I'm using Cat5, I'm going to go with that color scheme. Here is as best I can describe it from the view of the first picture.

Orange - top middle
Orange w - bottom middle
Blue - inner left C shape
Blue w - outer left C shape
Green - inner right C shape
Green - outer right C shape

You are going to want to test the connections from the other side of the cable. This makes it easy to touch random combinations to the 3v batteries.

Here is a spreadsheet I created to track the connections. If yours are different for some reason then make notes, as changes will have to be made when you load the software.

When I started out, I used a number scheme based on the columns. There were a total of 5, with the outer ones having 6 each (65556). Ignore that for programming, go with the 1-27 one, as it is much easier to address in the program. However, it is still useful while testing, as trying to remember which one is 16 can be crazy, but finding the 3rd one in column 4 (43) is easy. Both are there for you.

Here is the source code that I used for the two animations in the videos. Remember to put a resistor between your Arduino pins and your wires!!

Unfortunately there is a limitation on the Arduino's array size. I'm not sure what it is, which is why I made an array of bytes to save space. Basically you can have any two of the animations, but not all of them. If the Arduino doesn't respond, comment out some lines of the animation, and then send that over.

This is only the first version. I've already written something in process that I can use to plan the animations, and once I've got it generating code to work with my program, then I'll release that too. I'm also working on a second version of the software with multiple animations and interactive controls. I'll make sure to update once I've got some of that working. Subscribe to my blog for any updates.
« Previous StepDownload PDFView All StepsNext Step »

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]