Brandon Roots
  • INTERACTIVE
  • FILM
  • ABOUT
  • CONTACT
May 9, 2022

Fractal Plant – Foiled by Registers

broots Homemade Hardware, ITP, Solar Plant

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 locate, I imagine due to the ongoing supply chain issues from COVID.

Mouser tantalizingly shows 100,000 of these chips on order scheduled to arrive starting in 2023! This is not soon enough!

So to make use of available parts I have been trying to rewrite the Mcp class to work with the part that I do have: the TCA9555.

These chips are very similar! Both operate over I2C, share the same address, and add 16 GPIO pins. But as I have learned they do not operate identically. To control the function of the pins both chips use registers that are written and read over I2C, and the mapping for the registers of these two chips are VERY different.

I have been fortunate to find a library for the TCA9555 from Rob Tillaart and between this and lots of referencing to the datasheets of these two chips can see a path forward. Unfortunately to rewrite the Mcp class to work with the TCA chip will take more attention and time than I currently have available.

For now I have been foiled by the registers. Hopefully this is something I will be able to sort out over the summer.

“Handling” Playtest Week

Related Posts

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

“Handling” Final Project Update

Handling, ITP

“Handling” Final Project Update

Over the last week I made progress fabricating my arcade cabinet.  After finishing the design in Fusion360 I separated out which panels to CNC mill, such as the side panels, monitor frame, and leap motion controller holder. The other panels were rectangular and easy to cut by hand. Following our class workshop last week I […]

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