Anyway, I had a look at the other board (the hat) and for some reason he’s decided to use a variable voltage buck converter to drive the field current. Everyone else uses an electronic switch, the inductance of the windings, and a freewheel diode. I can’t see any advantage in using a buck converter and it means that every iota of how the thing works has to be programmed. How many catastrophic bugs will be lurking in there?
Same for the Wakespeed. This is just reinventing the wheel and making life very difficult when there are already loads of very cheap off the shelf chips that do the whole thing, have been exposed to a huge amount of testing both in the lab and in the field. IMO it is crazy not to take advantage of that. Why not just whip yourself with nettles, it would be cheaper?
But you end up with a lump of a thing that is designed to be used in a classroom, a bedroom or whatever as a play thing. It is not designed to be a component in a professional device. In the days when it was difficult and expensive to get a custom pcb made, perhaps this was fair enough for development and/or proof of concept. But now with the sub-£10 top notch custom PCBs available, it is just clunky.
Anyway, the Arduino IDE is utterly rubbish.