Fab Academy 12

Interface and application programming

Interface and Application programming:

For this week, we needed to design an Interface or an APP to control some outputs in our board, or to be controlled by some inputs in our boards. An interface in basically the visualization in a screen that lets you control something or gather some information from something, that which you can actuate with through some buttons, sliders and more, or visualice what you are sensing through different kind of graphs.

From the plattforms we learnd, I experimented a little bit with the MIT APP inventor by creatting and APP to turn ON and OFF the R-G-B leds from and RGB single catod led. Then downloaded the APP in my phone and tablet and tried to control my NodeMCU with it.

I´m not going to go to much into deep in that one, because I basically followed Edus tutorial, and then twisted it a little bit to add more buttons, but I´m going to highlight some of the most important learnings I had from It.

I also tried to generate a visual interface that was controlled with a light sensor connected to my arduino or my mouse through the Processing APP, but what I did find more itneresting about this was the ammount of possibilities that processing gives you to do some creative coding and digital art. I really liked this APP a lot.

And my third experiment, which I´m going to talk more in deep in the Networking week, was designing a Dashboard through Node-RED, in which I can visualize and control some inputs and outputs, and is the one I think I might use for my final project.

* http://server_ip/rgb/rrggbb/
* where rr is the value set RED
* where gg is the value set GREEN
* where bb is the value set BLUE
* then terminate with '/'

So if I would go to:

http://My_IP/rgb/990000/
(Red Led Will be turned On)

http://My_IP/rgb/000000/
(All LEDs would be turned Off)

MY CODE:

Voltio