Step one of rebuilding the e-bike my co-worker gave me is grafting a different battery management board onto the battery pack.
Transplant complete!

I still need to figure out how to wire up the charger plug. They used an XLR connector with four pins, and the charger doesn't turn the power on until it senses something (maybe a temperature sensor?)

Edit: i just needed to check the back of the charger for the pinout

@MLE_online "50V can bite really badly please be careful"

what did the old circuit have? Disability scooters have a pin on the charger to disable the controller so people dont drive away with the charger plugged in.

@RueNahcMohr I'm going to ignore your first sentence

It's not clear what the old circuit had. The wiring for that plug is somewhat confusing. And it's not to keep the bike from turning on while charging. It's to keep the charger from outputting 52V unless it's plugged into the battery

@MLE_online

I would guess that 'T' is the temperature of the battery pack for two reasons, one it doesn't want to charge batteries that are 'hot' (fire hazard) and batteries start heating "faster" when they are fully charged. (I had a NiMh charger that used this to trigger the 'full/float' state). You might be able drive it with a voltage (start from zero and go up slowly) LM35 worked that way.

@RueNahcMohr

@ChuckMcManis @RueNahcMohr There's a thermistor stuck in the pack, and that's probably what this is supposed to be wired to.

@RueNahcMohr Pin 3 on the XLR plug is typically jumpered inside the plug to pin2 to pull the inhibit line down while the charger is plugged in to the chair/scooter. It is this way on PGDrives controllers and a couple other minor ones. Generally, chargers do not communicate with the controller. There is no sensors or ground/earth connection.

@MLE_online

@hotarubiko @RueNahcMohr It's a temperature sensor. I've just figured it out.
@MLE_online That makes sense. Such is not typically needed on most chairs/scooters. @RueNahcMohr

@hotarubiko @MLE_online

just to be clear:
you mean on the *charger side* plug these are jumpered?
(I think thats what you mean)

@RueNahcMohr Yes. It´s the only side with a plug. Male plug. Perhaps some funky chair/scooter doesn´t follow the standard, though? @MLE_online