Brandon Roots
  • INTERACTIVE
  • FILM
  • ABOUT
  • CONTACT
April 19, 2021

Solar Fractal Plant: Update

broots Energy, ITP, Nature of Code, Solar Plant

For my final project in The Nature of Code and Energy I am constructing a fractal plant, running on Arduino, that will reside on an e-paper display and be powered by the sun.

Over the last few weeks I have made progress sourcing components and getting the basic circuitry assembled following my previous post with a BOM and energy budget.

Using outputs from the Adafruit 1.5A USB/DC/Solar LiPo Charger breakout board I have setup a voltage divider circuit to read the battery voltage through one of the Arduino Nano 33 IoT analog input pins. Because the Arduino is a 3.3V board a voltage divider is necessary to drop the maximum 4v+ battery voltage below 3.3V.

My work relating to The Nature of Code will involve coding growth and variation for the plant. Like biological plants I would like the fractal plant to respond to the sun, extending its “leaves” during the day and relaxing them at night. The charge of the battery over time will impact the growth of the plant. Too little sun and the plant will be thin and leggy. Plenty of sun and it will have lots of branches and perhaps even blossom.

The style of the project will be simple line art due to the limitations of the Adafruit GFX library I am using, but there will be plenty of room for expression through colors and shapes.

One reference shared from Dan Shiffman that I hope to implement is an L-System for the fractal growth. These examples by Paul Bourke have beautiful and naturalistic variety to them and I will likely need to implement a stack data structure on the Arduino to run this kind of code.

L-System Plant Fractals by Paul Bourke
Genetic Algorithms Solar Fractal Plant: Update 2

Related Posts

Fractal Plant – Foiled by  Registers

Homemade Hardware, ITP, Solar Plant

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 […]

“Handling” Playtest Week

Handling, ITP

“Handling” Playtest Week

Last week we attended “Playtest Thursday” on the second floor of 370 Jay St with our games. I came away from the experience with some very specific feedback. Seeing a number of people play the game showed me things I didn’t anticipate. Some folks approached the cabinet and immediately treated it as a touch screen. […]

Fractal Plant – Beta Build

Homemade Hardware, ITP, Solar Plant

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 […]

Recent Posts

  • Fractal Plant – Foiled by  RegistersFractal Plant – Foiled by Registers
    May 9, 2022
  • “Handling” Playtest Week“Handling” Playtest Week
    May 5, 2022
  • Fractal Plant – Beta BuildFractal Plant – Beta Build
    April 24, 2022
Brandon Roots