Introduction: IDress: Digital Fashionista

Picture of IDress: Digital Fashionista

The 8-ball has transformed into the unimaginable. With the same concept as this famed icon, I have created a device that will help you get dressed for the day by giving you a complete outfit with a simple shake of the cube. With modification, the possibilities for this project are endless. By simply changing phrases and other sets of code, this could become anything YOU want it to be.

Here's a link to the video:

Step 1: What You Need

MY INSPIRATION/HELP:

Step 2: LCD Prep

Picture of  LCD Prep

Look at the lcd screen for reference. Solder headers to the first 6 and last 6 pins on the lcd as shown. Attach hookup wire (the yellow wire) to the headers. Since both ends of this hookup wire have female connections, I cut the wires in half and soldered and shrink-wrapped regular hookup wire to the other end.

Step 3: LCD Hookup

Picture of  LCD Hookup

I closely followed this image from alecnotalex on Instructables for my lcd hookup. Follow the hookup wires from the lcd to the potentiometer to the Arduino as followed, ignoring everything else on the board as this was an older project example from alecnotalex.

NOTE: Since you used hookup wire from the lcd itself as opposed to hooking up the lcd directly to the board, just attach the wire from the lcd to where you see the lcd attached in the image.

Step 4: Accelerometer Hookup

First, you will need to solder on breakaway headers in the same fashion you did with the lcd.
  1. Place accelerometer on the breadboard
  2. Hook up VCC on accelerometer to 3.3V on Arduino with hookup wire.
  3. Hook up GND on accelerometer to any of the grounds on the Arduino.
  4. Hook up Z-OUT on accelerometer to A0 on Arduino.
  5. Hook up SLP on accelerometer to 3.3 V on Arduino.
NOTE: Do you notice that you are hooking up 2 entities to 3.3V on the Arduino? Because of this, you will need to strip both hookup wires coming from VCC and SLP and solder, shrink-wrap them to 1 breakaway header, and then attach this to the 3.3V supply


Step 5: CODE!

This is probably the easiest part of the Instructable (believe it or not). Download the code into some sort of word processor, and simply copy and paste into your arduino software.

The base of this code came from alecnotalex on Instructables. I modified it to where data is randomly pulled from not only one but two datasets, one for each row on the lcd. Of course, this is completely editable. You could change the phrases into anything you wanted.

REMEMBER, if you do change the amount of phrases for any row, make sure the correct number is there next to "int numberofphrases = ". ALSO, you may find that playing with the z values will be necessary, depending on the orientation of your device. For instance, I found that my data would continuously scroll while no motion was being detected in the beginning. Open up the serial monitor in the Arduino software and watch the data as you shake your device. With trial and error, you will come up with a correct variation.


Step 6: House the Hardware

Picture of House the Hardware

This is completely up to you. I used a clear acrylic cube with a pop-off top (found at many arts and crafts stores, Hobby Lobby for me) that I spray-painted. Once opened, I placed the arduino on one side, the lcd across from that, and the breadboard on the bottom. All of this was attached by using the ever-so-useful hot glue gun. I'm sure you will find more professional ways of mounting your device.

NOTE: Unless you solder everything to a solder board, it may be necessary to dab hot glue on any loose connections on your breadboard. I did this to ensure that nothing got unplugged while mounting my device.

As stated in the beginning of this Instructable, this is only just the beginning. Make something cool! Can't wait to see what you create.

Comments

wilgubeast (author)2013-12-13

That's awesome and full of opportunities for adaptation. Great job, and kudos to you for making something fun from alecnotalex's code.

About This Instructable

7,352views

67favorites

License:

More by dmmMaster:iDress: Digital Fashionista
Add instructable to: