GMU:Connecting Max to the World/Gracia Quintero: Difference between revisions

From Medien Wiki
No edit summary
No edit summary
Line 3: Line 3:
[https://www.youtube.com/watch?v=cMRaSeVFEiQ Christmas light show]
[https://www.youtube.com/watch?v=cMRaSeVFEiQ Christmas light show]


'''IDEA'''
==IDEA==


My idea is to control a small set of Christmas Lights alongside with the music I program using MSP in order to create a visual sequence. In the previous video, you can see a huge display where the whole house is decorated with Christmas lights, but my project won't go that big. I plan on building a small structure which is illuminated with a LED light strip smoothly alongside with the rhythm of the music, like you can see in the following videos:
My idea is to control a small set of Christmas Lights alongside with the music I program using MSP in order to create a visual sequence. In the previous video, you can see a huge display where the whole house is decorated with Christmas lights, but my project won't go that big. I plan on building a small structure which is illuminated with a LED light strip smoothly alongside with the rhythm of the music, like you can see in the following videos:
Line 12: Line 12:




'''ESTRUCTURE'''
==ESTRUCTURE==


I am still undecided between two external designs.  
I am still undecided between two external designs.  
Line 23: Line 23:


   
   
'''INITIAL DEVELOPMENT'''
==INITIAL DEVELOPMENT==


I have been following two main tutorials, in order to create a hybrid code with the instructions of the reference projects and my final idea. The main projects I follow are:
I have been following two main tutorials, in order to create a hybrid code with the instructions of the reference projects and my final idea. The main projects I follow are:
Line 33: Line 33:
With these examples, and tutorials, I am starting to merge the sections of the codes that might help me start controlling the light. Once I have this, I will decide in which design direction must I choose.
With these examples, and tutorials, I am starting to merge the sections of the codes that might help me start controlling the light. Once I have this, I will decide in which design direction must I choose.


'''FIRST ATTEMPT'''
==FIRST ATTEMPT==
In the first attempt, I tried using the 16 channel Relay Module and using the Christmas light tutorial. I was able to upload a code to it, but it wasn't being transmitted to the LED light installation.  
In the first attempt, I tried using the 16 channel Relay Module and using the Christmas light tutorial. I was able to upload a code to it, but it wasn't being transmitted to the LED light installation.  


https://i.postimg.cc/4YxZs9MZ/1.jpg
<gallery>
 
File:Gracia1.jpg
https://i.postimg.cc/zLLrR18c/2.jpg
File:Gracia2.jpg
 
File:Gracia3.jpg
https://i.postimg.cc/8FqVRnCP/3.jpg
File:Gracia4.jpg
 
</gallery>
https://i.postimg.cc/zy2NBfZh/4.jpg


It was a little frustrating, as it was the winter break and couldn't really move forward with this technique. I kept looking online for an easier way for me to be able to communicate Max and Arduino with the LED lights.  
It was a little frustrating, as it was the winter break and couldn't really move forward with this technique. I kept looking online for an easier way for me to be able to communicate Max and Arduino with the LED lights.  

Revision as of 21:52, 2 April 2019

In this festive time of the year, Christmas lights are also a main character. We have Christmas lights surrounding us everywhere from the beginning of December, and it is always interesting to see the new ideas of people everywhere. Lately, it has become very popular to have light shows alongside with popular songs, and synchronize the rhythm to the movement of the lights.

Christmas light show

IDEA

My idea is to control a small set of Christmas Lights alongside with the music I program using MSP in order to create a visual sequence. In the previous video, you can see a huge display where the whole house is decorated with Christmas lights, but my project won't go that big. I plan on building a small structure which is illuminated with a LED light strip smoothly alongside with the rhythm of the music, like you can see in the following videos:

Color LED light bulb In this reference, the developer used a microphone in order to alternate the change of colors according to the information received by the microphone.

This is a much more simpler example of installation with only three LED lights, in the original video, the lights dance to the music. Bottle LED light


ESTRUCTURE

I am still undecided between two external designs.

-My first idea, is to light a cylindrical container. My main inspiration is the device ALEXA from amazon, but in my case, it would be a transparent cylinder where you can see the light changed.

Alexa-Family-Shot-trans-Nv-BQz-QNjv4-Bq-Wa-Cvw-Bu-Rm4zisdt-G6jk8nm6-BELm.jpg

-The second idea, is to create a rectangular exoskeleton with Christmas lights, or LED light stripes hanging from it as a waterfall. In the video, we can see a huge cube with the LED lights on the sides of the cube, I want my lights to be hanging from top to bottom. LED light cube


INITIAL DEVELOPMENT

I have been following two main tutorials, in order to create a hybrid code with the instructions of the reference projects and my final idea. The main projects I follow are:

-Christmas Light show with Arduino This is the main tutorial for the first video of this imput. Here is a step by step of the developer's project. The code is also available.

-Arduino rhythm LED light box This is the second part of my tutorials.

With these examples, and tutorials, I am starting to merge the sections of the codes that might help me start controlling the light. Once I have this, I will decide in which design direction must I choose.

FIRST ATTEMPT

In the first attempt, I tried using the 16 channel Relay Module and using the Christmas light tutorial. I was able to upload a code to it, but it wasn't being transmitted to the LED light installation.

It was a little frustrating, as it was the winter break and couldn't really move forward with this technique. I kept looking online for an easier way for me to be able to communicate Max and Arduino with the LED lights.

A little while later, I found a very helpful tutorial, which allowed me to communicate arduino with my set of LEDs. [1]. I followed this tutorial and to my surprise, it really worked.

This is the arduino connection I used as instructed by the tutotial: led-strips-ledstripfet.gif

And this is my connection: 6.jpg

And here you can find the video of when it first worked.

CONNECTING THE CODE TO MAX

In this point, I talked to my teacher Miga, and he gave me a little clue to try to use the old patch I had used in a previous exercise and try to connect it to the new code I had in the arduino software. I tried several ways, until I realized that the easiest way was exactly modifying the code I had already programed a while before.

So, here you have it: Max code, arduino code, and a video of the LED lights synchronized to any audio source the Computer's microphone detects.

Arduino code: File:sketch_mar12a.ino MAx code: File:FINAL PATCH.maxpat

Final Connection: a.jpg

b.jpg

c.jpg

d.jpg

Videos: https://drive.google.com/open?id=15kt2OARi4K42cJ0nSlw96H0r6gP7PsFT



Homeworks