Light and Interactivity : Apple Lamp with Apple Image Classification 🍎

Aiming to control a hue hub at ITP with ML5, I was continuing from last week by learning to use ML5 and Image Classification with an apple to send a serial to my Arduino to turn on the LED.

After that I tried to change the hue of the LED strip at ITP with the ML5 via Arduino and p5 serial control.

Here is the like to the sketch : https://editor.p5js.org/Jay_a_n/sketches/oPHAvT_5D
Anyway, after running the code, Arduino mentioned that the port was error ( Port busy ) and I realized that it might use the same port to receive serial from p5 at the same time?

apple_Image_lassification.png
Screen Shot 2020-05-06 at 3.03.14 PM.png

Getting pretty lost after that, especially after checking Tianjun’s block, I escaped a bit and went back to find Neopixel that Tom gave us for candle project to see if I can play with hue or dim with Neopixel instead. Unfortunately, when I ran the basic sample bink with it the Neopixel didn’t work anymore…and even though, I still got the 12V bulb but got no ac adaptor to play with it.

BUT with my strong will of getting something done for this week! I gathered some materials to see what I have that could at lease finish the little LED as a lamp. I’m actually love origami and used to do it a lot before so I got back and make one small origami cover for my LED.

Screen Shot 2020-05-06 at 2.46.38 PM.png
Screen Shot 2020-05-06 at 2.46.23 PM.png
Screen Shot 2020-05-06 at 4.11.59 PM.png

Desperate times call for desperate measures!

Here is the video of me using an apple to light my apple lamp

.

.

.

Also my lighting moment :)

Screen Shot 2020-05-06 at 3.49.46 PM.png
Screen Shot 2020-05-06 at 3.22.27 PM.png

My next step after this is I will check on Tianjun project to try to write my script in all Javascript or html. I also want to try more sensor that can help me to track better movements like Kinect to control HUE/DMX light and try TouchDesigner or MaxMSP.