89
edits
No edit summary |
No edit summary |
||
Line 35: | Line 35: | ||
'''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 | https://i.postimg.cc/4YxZs9MZ/1.jpg | ||
https://i.postimg.cc/zLLrR18c/2.jpg | https://i.postimg.cc/zLLrR18c/2.jpg | ||
https://i.postimg.cc/8FqVRnCP/3.jpg | https://i.postimg.cc/8FqVRnCP/3.jpg | ||
https://i.postimg.cc/zy2NBfZh/4.jpg | 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. | |||
A little while later, I found a very helpful tutorial, which allowed me to communicate arduino with my set of LEDs. [https://learn.adafruit.com/rgb-led-strips/arduino-code]. I followed this tutorial and to my surprise, it really worked. | |||
This is the arduino connection I used as instructed by the tutotial: | |||
https://i.postimg.cc/KYDdxfny/led-strips-ledstripfet.gif | |||
And this is my connection: | |||
https://i.postimg.cc/XY0HqFNN/6.jpg | |||
And here you can find the video of when it first worked. | |||
{{#ev:youtube|HBzK3ENtR24|955x400}} | |||
'''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. | |||
'''[[Homeworks]]''' | '''[[Homeworks]]''' |
edits