✅ c15: interface & application programming
During this week of fabacademy, we went deeper in interfaces and the different methods and tools in which we can visualize code and program interfaces and applications.
For that reason, we quickly went through Blender, and how it can be paired with Python to create some interesting interactive systems. We also went briefly over p5.js and learned how to pair that with arduino through p5 serial monitor to create a network between the two, using either USB, Bluetooth or Wifi, depending on the capabilities of electronic board we are using.
For this week’s assignment, together with Julia, we worked on creating the light measurer, a gardening companion that is connected to a database where we’d have different amounts of light values in Lux for different gardening projects. The light measurer would serve as an index to identify and compare optimal places to put plants, dehydrators, seeds, compost, etc…
For this specific task, we had already set an Arduino board with a bluetooth module (HC-06) and a photo-resistor to capture the light data and send it to the PC.
To fulfill the assignment task, we had to use an interface to visualize the data, which is why we resorted to p5.js. Below is the code.
You can find more of this completed project in the 3rd fabacademy microchallenge.