Thanks to everyone for their help. I got an A- for the project, which given how much of a mess it ended up is pretty good.
My next project involves me needing to learn motors, piezoelectric materials, photovoltaics and RLC circuits. I never realised how dumb I was before undertaking this. Fortunately, this will be the last one before I can return to getting paid.