How-to Tuesday: Hacking a MAKE gift subscription card


This week I am going to show you how to hack a MAKE gift subscription card. Actually, it's showing you how to interface a 7-segment display with an Arduino. I just happened to make it into a gift card subscription.

My idea was to give a MAKE subscription and an Arduino to a friend. What a great combination! As a final part of the gift, I am making a post about how to program the 7-segment display to help them get started.

It may be too late to order the 7-Segament display and Arduino for the Holidays, but it's never too late to get a MAKE gift subscription or Maker SHED Gift Certificate.

What you need:
IMG_6621.JPG
Here is a list of the components that you will need for this build.

  • Arduino - Available in the Maker Shed
  • A HC4LED Display - Available here
  • Gift Card - Download one from here
  • MAKE gift subscription - Available in the Maker SHED
  • 9V Battery Backpack - Available here
  • Double sided tape

Tools you need:

Step 1: Print the card
IMG_6633.JPG
Print the MAKE Gift Subscription card. You can download one here. I modified mine a bit, but you don't have to, just find a spot that it will fit on any of the cards. Next, Cut an opening 1 5/8" x 5/8" where you want the display.

Step 2: Prepare the display
IMG_6626.JPG
The display comes wired with connectors. Start by cutting off the wire connector that isn't connected to the display.

IMG_6631.JPG
Next, "tin" the wires so they are easier to insert into the Arduino header pins.

IMG_6625.JPG
Now it's time to remove the red bezel that is around the 7-segment displays. Carefully cut all the red plastic off. It may be easier to drill out the holes where the plastic attaches to the board.

IMG_6628.jpg
Connect the data wire to pin 4 on the Arduino. Next, connect the clock wire to pin 5 on the Arduino. Then, connect the (+) wire to the +5 volt pin of the Arduino. Finally, add the (2) ground wires to the ground pins of the Arduino

IMG_6635.JPG
It's really easy, just 5 wires, and you are done.

3114334555_cf36b2587a_b.jpg
Now you can attach the display to the Arduino with double-sided tape. You only need 2 small pieces on each side. Next, attach the card to the display with double-sided tape. You might need to add more to one side so the card is parallel to the board. Finally, add one more piece of double-sided tape to the battery backpack and attach it to the Arduino.

Step 3: Upload the code


// HCLED Code for How-to Tuesday
// Makezine.com
// Marc de Vinck 2008 CC Share alike


#include <HC4LED.h>

#define DISP_DATA_PIN 4 //cdefine data pin
#define DISP_CLOCK_PIN 5 //cdefine click pin
#define DISP_BLANK_PIN 7 //required by library, not hooked up on the display

HC4LED disp(DISP_CLOCK_PIN, DISP_DATA_PIN, DISP_BLANK_PIN, true);

void setup(){ // nothing to setup!
}

void loop() // do this over and over again
{
disp.scroll_text("happy holidays ", 100); //scroll text
disp.display_text("2008", 2500); //static text
}

The display has a library that is available here. This makes it really easy to work with. Download the folder and place it in the "hardware" library of the Arduino application.

Now you can upload this code to your Arduino. Simple! If you aren't sure how to use an Arduino, check out this link.

Step 4: Enjoy
IMG_6638.JPG
Now all you have to do is turn on the Arduino and you are ready to give your card away.

In the Maker Shed:
Makershedsmall
Arduino Family
Make: Arduino


Recent Entries

Leave a comment


Subscribe to MAKE!Subscribe to MAKE Magazine!

Subscribe today, save 42% and get web access to MAKE free. MAKE Digital Edition is available only to subscribers.

$34.95 / 1 year
(4 Quarterly Issues)

Subscribe now


Void your warranty, violate a user agreement, fry a circuit, blow a fuse, poke an eye out. Make: The risk-takers, the doers, the makers of things... Welcome to Make: Online!


CRAFT Maker Shed Maker Faire MAKE television




Check out more videos from MAKE.

Maker SHED

Connect with MAKE

Be a MAKE fan on Facebook MAKE on Facebook
Visit our Facebook page and become a fan of MAKE!
MAKE on Twitter MAKE on Twitter
Follow our MAKE tweets!
MAKE Flickr Pool MAKE on Flickr
Join our MAKE Flickr Pool!
    make_tips on Twitter



    MAKE Archives

    Make: Money

    Make: Science Room
    Subscribe to MAKE Magazine!

    Make: Online editors and authors!

    Gareth BranwynGareth Branwyn
    Editor-in-Chief


    Phillip TorronePhillip Torrone
    Senior Editor
    | Web | Twitter


    Becky SternBecky Stern
    Associate Editor
    | AIM | Twitter


    Marc de VinckMarc de Vinck
    Contributing Writer
    | AIM | Twitter


    John ParkJohn Park
    Contributing Writer
    | Twitter


    Sean RaganSean Ragan
    Contributing Writer
    | Twitter


    Matt MetsMatt Mets
    Contributing Writer
    | AIM | Twitter


    Dale DoughertyDale Dougherty
    Editor & Publisher
    | Twitter


    Shawn ConnallyShawn Connally
    Managing Editor
    | Twitter


    Goli MohammadiGoli Mohammadi
    Associate Managing Editor

    Kip KayKip Kay
    Weekend Projects
    | AIM | Twitter


    Collin CunninghamCollin Cunningham
    Contributing Writer
    | AIM | Twitter

    Adam FlahertyAdam Flaherty
    Contributing Writer
    | AIM | Twitter


    John BaichtalJohn Baichtal
    Contributing Writer
    | AIM | Twitter



    More contributors: Mark Frauenfelder (Editor-in-Chief, MAKE magazine), Kipp Bradford (Technical Consultant/Writer), Chris Connors (Education), Diana Eng (Guest Author), Peter Horvath (Intern), Brian Jepson (O'Reilly Media), Robert Bruce Thompson (Science Room)

    Suggest a Site!

    Advertise here with FM.

    Why advertise on MAKE?
    Read what folks are saying about us!

    Click here to advertise on MAKE!



    Current Podcast

    itunesdl.gif Behind the Scenes at MAKE and CRAFT In January, many of the remote MAKE/CRAFT team members (myself included) convened at the Maker Media headquarters at O'Reilly Media in Sebastopol, California. Take a look behind the scenes of your favorite DIY publications as Goli Mohammadi gives us... More...

    Get the Make: Online sent via email
    Enter your email to receive Make: Online each day:



    Sign up for the Make: Newsletter

    Our Make: Newsletter covers news from maker Media, has original columns, Shed deals, and more! You can also read the archives of past issues.


     



    MAKE Fascination video series brought to you by Dow

    Make: Education
    MAKE: en EspaƱol MAKE: Japan
    Important please read


    Subscribe to MAKE Magazine!

    Recent Posts from the Craft: Blog