Cloth Color Choice Maker!!

by AmandaWang3333 in Circuits > Arduino

104 Views, 0 Favorites, 0 Comments

Cloth Color Choice Maker!!

B13639F7-74B8-4F65-8D26-7E4F15217026.jpg
S__22012057.jpg
Arduino project - Cloth Color Choice maker!

Inspiration and Objective

This tutorial will be introducing the Cloth Color Choice Maker, meaning the product will randomly choose a number from 1 to 6, helping you to decide your cloth's color for today!

Prior to this project, I made a dice chooser (feel free to follow this link to see my other projects https://www.instructables.com/Arduino-Dice-Choose... ). However, this time, I would like to make the product more useful, helping me to make my clothing decision. Since I am troubled with decision making, I would like to use this product to help me choose my clothes color. This tutorial will be introducing the self-made cloth color choice maker with a thorough method! Hope you enjoy this!

Supplies

Materials for circuit and coding

  • Arduino board
  • MicroUSB-USB Cable
  • Arduino programming application
  • Several jumper wires / DuPont wires
  • 6 LEDs, White color
  • 6x220 ohm resistors
  • 1x1k ohm resistors
  • A push-button

Box making

  • Shoebox
  • Tape
  • Glue
  • Ruler
  • Scissors
  • Marker
  • a colored paper that can cover the shoebox (optional)

Preparation

IMG_0881.png
IMG_0894.png
color.jpg
截圖 2021-05-14 下午9.41.37.png

Prepare all the materials listed above.

The clothes are designed in different colors, the image of clothes can be found on the internet. 1

Coding

截圖 2021-05-14 下午9.01.35.png

Please follow this link:

https://create.arduino.cc/editor/amandawang333/7c2...

Press "Download sketch" on the code website

When the file is attached, press upload while the computer is connected with the Arduino board.

*There are footnotes for every line of code.

Installation

ezgif-3-8b402a21ac2a.png
IMG_0510.png
IMG_0887.png
  • The first picture shows the installation of the LED lights and button.
  • However, please be aware that my product changes the push button into a bigger one, there will be a little different. Therefore, the last picture shows how the button will be installed if you use the same button as mine.

Put all the wires, LEDs, push-button, and materials accordingly on the Arduino board. Then connect the LED’s negative terminal to the 220ohm resistors and the positive terminal to the Arduino's digital pins from 2 to 7. Resistors should be connected to the GND pin.

*There may be a slight difference between the models and your own output so the connection may vary. *Make sure to check before connecting to the computer.

*The rest of the connection please follow the circuit diagram above

**The first picture was taken from the website: https://www.instructables.com/Electronic-Dice-4/.

Blueprint for Boxes

D1DBCF9E-EC28-45E0-AE80-300FA32D5C38.jpg
S__22012109.jpg
截圖 2021-05-14 下午9.59.23.png
S__22012117.jpg

Before making the actual box, I would suggest drawing out the blueprint of the box’s dimensions clearly. This not only enhances the speed of the process but also makes the whole design more accurate. I will first measure the Arduino board because it is the largest object among all. By leaving at least 2 to 3 cm, it ensures the box will not be too small that didn’t fit the board.

This last photo shows the layout of the clothes for six different colors. These colors help to determine your color clothes, feel free to choose any color you like or colors your clothes have the most.

Prepare the Box / Cut the Holes / Stick the Clothes

IMG_0884.png
S__22012115.jpg

In order to make the appearance more beautiful, I suggest decorating a box to conceal the wire and circuit.

Find a shoebox that was made of softer material so it is easier to cut. Then prepare a cutter or knife to cut it into a suitable size for the button and the whole Arduino board. When cutting six holes for LEDs, be careful not to cut too much space because the light might fall out. Moreover, when cutting a hole for the button, be aware the size should be precise and exact so the button won’t fall. If the whole was cut accidentally too big, you can use tape to stick the object with the box together.

Lastly, remember to stick six different colors of clothes onto the box.

Optional: Prepare a paper that is at least A3 size to cover the box with your favorite color.

Combine It All Together!

S__22012057.jpg
S__22012110.jpg
B13639F7-74B8-4F65-8D26-7E4F15217026.jpg

Put the Arduino board into the box carefully and connect it to the computer. Thus, you can cut a hole at the side which helps to connect the board with the computer.

Done!!

Final product of Cloth Color Choice Maker!

The video above shows how the project works.

Have fun and enjoy it!!!