If you want regen when throttle is low you could try add a comparator with voltage divider preferably a tuning potentiometer and set preferred voltage level when regen should turn on or off, or use arduino but it feels a bit overkill if you´re not going to use other features.