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

Solar Fractal Plant: Update

broots Energy, ITP, Nature of Code

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

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