Brandon Roots
  • FILM
  • INTERACTIVE
  • ABOUT
  • CONTACT
March 14, 2021

Simulation Project

broots Energy, ITP, Nature of Code

For my midterm project in The Nature of Code I set out to create an interface to display data representing my electricity use at home. I have been thinking about how my actions, like driving a car or leaving on a home appliance, have consequences in the environment through carbon emissions, however the connection often feels so abstract to be almost impossible to sense. How big is the impact of leaving on a light? Or running the air conditioning?

As part of a parallel project in the course Energy I reprogrammed a number of IoT Smart Plugs that are capable of measuring and reporting power draw for connected devices and with the modification are able to report wattage minute by minute. My idea for this simulation project was to create an interface and visual representation for that data and decode the numbers into tangible terms for the resources consumed and waste produced.

In terms of the design of the interface I wanted to make something that visually connects my power use to the impact on the environment. While the sketch runs it calculates the amount of coal that would be used to supply the current consumed and C02 generated by the process.

While I had hoped to utilize realtime data from my smart plugs I ran into an issue with the Blynk.io API I was using as a backend which is currently only functioning over HTTP and not HTTPS. Calling Fetch() in Chrome and Safari both returned errors I believe due to CORS involving a non secure URL.

In further iterations I would like to add options for other sources of energy, such as natural gas, nuclear, oil, wind, solar, and biomass. With more time I would also develop my own backend, moving away from Blynk.io, to make the visualizations represent realtime data. Link to the P5 sketch here.

Kinetic Project Solar and Free Form Project Ideas

Related Posts

Fractal Plant – Foiled by  Registers

Homemade Hardware, ITP

Fractal Plant – Foiled by Registers

Since receiving the PCBs and successfully soldering the board together I have been trying to rewrite code for the I2C port expander. This has been immensely difficult! The Inkplate Arduino Library makes considerable use of an “Mcp” class, which is written to work with the MCP23017 GPIO expander IC. These chips are quite difficult to […]

Fractal Plant – Beta Build

Homemade Hardware, ITP

Fractal Plant – Beta Build

The boards arrived! Amazingly within an hour of one another. Based on the experience I think that JLCPCB is a better value. With shipping OSHPark was $55.50 for 3 boards. JLCPCB was $26.36 for 10 boards. Aside from a higher cost OSHPark also left sharp bits of tabs around the edges of the boards which […]

Fractal Plant – Boards Ordered

Homemade Hardware, ITP

Fractal Plant – Boards Ordered

Over the last week I rerouted the traces in my PCB design. Following feedback during class that the auto-router feature in Eagle isn’t very smart I did manage to make some cleaner routing manually. As part of the process I went through each component and made sure they were placed a closely as possible to […]

Recent Posts

  • Fractal Plant – Foiled by  RegistersFractal Plant – Foiled by Registers
    May 9, 2022
  • Fractal Plant – Beta BuildFractal Plant – Beta Build
    April 24, 2022
  • Fractal Plant – Boards OrderedFractal Plant – Boards Ordered
    April 18, 2022
Brandon Roots
Accessibility by WAH