Hiiiii guys.
Guess who forgor to update the thread again π₯Ί (It's me, hi, I'm the problem, it's me)
I'm really bad at keeping this updated. At least you all get a condensed version of events this way.
Let's hop in the time machine and zip back to December last year~
@cheppy44 was over here and we decided to take a crack at the custom VESC. We prepped another cheap foccer 2 as the transplant patient provided by Quinn π (thank you again)

Taking the parts off was made easier by the big hot plate I got but by the end of it this PCB was cooked.

We got everything moved over and just needed a few special components. Compared to a can of Pepsi it's absolutely tiny π₯°

A broken pint was used as a donor for the mosfets. When designing the board I thought it'd be funny to use actual FM parts in the build where I could.

Other than a bodge wire on the IMU which took way too many attempts than I'm willing to admit the PCB was perfect.
But no like seriously we spent days trying to get the IMU to work π
My resistor sample book somehow managed to package 51k resistors where 1k ones should have been so that's what the resistor is off to the side. I didn't have any others spare at the time to swap >.> But once it was in the LEDs worked fine too.
Head and tail lights needed testing so during Christmas we got it to demo itself being festive π₯°
The white LEDs are not lit in these with how I set it up. The first LED in each headlight are sent to a ws2811 chip that on the blue pin goes to all the white LEDs. With this I can control the high beam by setting that LED in the chain to anything including a blue signal and it will light up. This way when front and rear swap so will the main beam without any additional code since red has no blue but white does. In code I can then pull the main beam LEDs to 0 if I want to toggle them off which I will do with a custom version of refloat I'll get to once this is mostly together.
At some point in adding the daughterboard a single lil solderball managed to kill the main STM chip. It booted up and then upon trying to hold the motor sent like 29v to the chip down one of the sense pins. Oops. Cooked it :( After some tears I did manage to pull off the old one and put a fresh chip there then used an STLink to flash it.
With a bit more faffing we had it running. There was another mistake on the daughterboard where the pins were mapped backwards so we had to run it using more bodge wires while waiting for the new ones to show up.
Nick had to leave mid January and things took a brief hiatus while I readjusted to being here on my bill. But eventually I got back into the swing with the arrival of the new parts.


It was however time to stop faffing and get on with the battery. We tried it before Nick left but my 2x3s LiPos were out of commission and some 6s ones I got were too much for the KWeld. Instead with a new Turnigy battery I got the welder working an was ready to get the 7s1p pack made.

Balance leads were a bit thick but I didn't want to re-crimp and pin the header so used the one that came with the BMS and used a little bit of hotsnot to hold it in place before putting the blue goodness around the pack.

I don't know why but the pack just feels unsafe until the blue stuff is wrapped around it. Before I'd tentatively pick it up but now I'll throw and twirl it about without a care. Might say more about me personally. Out of sight out of mind... definitely out of my mind!

I still needed some stuff to make the harness so I instead moved to cutting the motor cable to length. Risky step and I don't like it. Too much cut off and it won't reach. Too much and you have to do it again >.> But I managed to nail it so we good π₯°

However when I went to test it I got an error I wasn't expecting. Apparently phase 3 was drawing current no matter what the board was doing.

Long story short Phase 3 doesn't get monitored by the DRV chip but instead via U3. This appeared to have cooked itself so if you have a cheap foccer 2 and get HIGH_OFFSET_CURRENT_SENSOR_3 remove U3 and replace it. Funnily enough Nick also had this happen to a VESC he was using and the same fix was needed so seems to be a common enough fault.
No more fault light and a happy lil VESC. Didn't bother recording it spinning as it's the same as previous and I needed my phone to control it and record so wasn't gonna happen. Just have to trust me it works π
