Recently i brought myself a ebike, Recently in the UK the law has changed regarding twist throttles, meaning someone without a licence can only ride a pedal assist. luckily any bike brought into the UK before January 2016 is exempt. it helps taking stuff up and down my allotment with my bike trailer. So most of the time i am using the throttle.
long story short, I brought a front wheel with a built in dynamo, AC/ 6v. I am looking for a way for the dynamo to kick in automatically when there's no power being sent to the motor, So it will detect that the throttle and the pedal assist isn't in use. It will be used for going down hills and when im slowing down. I didn't want to have it on 24/7 as there's going to be resistance on the front wheel from the load of the battery I want to charge. its not a big issue, but i don't want to be using power from the main battery to be basically powering a smaller one for lights, phone charger ect.
I did come up with a circuit that used a hall effect switch, op-amp, transistor inverter, optocoupler, resistor to drop the output down to zero volts. Then i came across the TLE4935L, A bipolar (Zero volts when off) hall effect switch with pretty much everything built in. I looked at Hall effect loop current sensors which go around a wire. £25. So i would also like to know if anyone has ever made a DIY one, i have a plan of getting a ferrite toroid, cutting a slot into with a dremel, there needs to be a small air gap, so im thinking of using some thin plastic strips around the outside of the hall effect sensor. place it over the wire leading from the controller to the motor, then heat shrinking it?.
Also to make it feel abit more like i actually achieved something, a no inverting signal booster, to get the signal from on end of the bike to the other, if there's any another idea's please recommend them as i want to do it the best way.