Hey All,
I've been working on a little pet project for a while. It's an STM32 based LED controller PCB that triggers animations on addressable LEDS through CAN bus for the FIRST robotics competition. I have a lot of experience with Arduino, FPV drones, and EE in general, but I've hit a wall with certain parts of this project. When it comes to the hardware, I think I have most things figured out, except for two things. First, I want to be able to program the animations to be cued somehow. My plan is to write a desktop or web application that allows you to design your animations and then write them through USB. My first headache came with the USB-C connector. There are so many different ways I can seemingly implement this, I want it do be simple, while keeping the advantages of USB-C. I really don't need high speed, only reversibility and the ability to put said animations on the chip.
My second problem is really about storing the animations. The STM32 has plenty of space, but the more I look at how to use its non-volatile memory, the more intimidating and hard to use it seems. I've thought about using an external EEPROM, but I can't really find many that are as big as I want in the price range I'm looking for. So, I've been toying with the idea of using an SD card or other flash card instead. I've looked at the application notes for using the STM32 with an SD card, and it doesn't look terribly difficult electrically speaking, but I just wanted to get some external opinions on the idea. It makes the board more complicated, but it makes the programming theoretically simpler.
I've also attached a screenshot of my initial schematic if you spot any egregious issues.
Thanks,
Zach
https://6502.team