Coder Social home page Coder Social logo

carolchau / emotional-clothing Goto Github PK

View Code? Open in Web Editor NEW

This project forked from igorgee/emotional-clothing

0.0 1.0 0.0 8.06 MB

Embedded system that analyzes the color of clothing and plays music to corresponding to the emotion of that color.

License: MIT License

C++ 43.61% Arduino 56.39%

emotional-clothing's Introduction

Emotional Clothing

Have you ever looked at someone's shirt and wondered, "What would that shirt sound like?". Of course you have. Well now you can with this product. By simply hovering this device over someone's shirt or any article of clothing, you too can listen to the hidden melodies in our clothing.

We may not realize it but people often associate certain colors with specific feelings as numerous studies have shown. It's also no secret that music has incredible impact on our current state of emotions as well. So why not combine these two factors to enhance the vibes they give off?

The colors and songs played will target emitting various emotions such as:

emotions table

How it works

Every shirt will give off a specific HSL value. Based on that value, the device will play a specific song that will give off an atmospheric mood similar to what the color gives off. And LCD Screen will display the Song & Artist, the Mood, and the corresponding HSL value.

The HSL value that the sensor picks up will be classified into one of at least 8 ranges of colors. Depending on the range that HSL value falls under, it will play the corresponding song mapped to that range.

Because the color sensor I have will record RGB values, I will be using a formula to convert the RGB values into their corresponding HSL values.

This device is only intended to be used for solid colored shirts.

Demo

video

Materials

materials

Note: Despite it being shown in most pictures, I will not be using the RGB LED due to compatibility issues and limited resources available to me given the devices I'm working with. I'm too lazy to resolder things and take the pictures again, so just pretend like the LED isn't there :)

Assembly

Construct the Wave Shield

wave shield

  • This is probably the most difficult part of this project. Set aside an hour or two to solder this thing and put it together.
  • I highly recommend you test out some songs before moving forward.

Construct and Attach the RGB Sensor

rgb sensor

  • This part is not difficult at all. Just make sure you read the instructions from Adafruit.
  • Again, be sure to test this component individually.

Attach the LCD Screen

lcd

  • If you need help assembling this, you can refer to the schematic in this repository, or google your lcd model.

Attach the button

button

  • Again, this is fairly straight forward.
  • You can't get much information about the wiring from the pictures anymore, so be sure to refer to the schematic.

Final Product

finished

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.