You are here

Adding two reed contacts and adapting the software accordingly

2 posts / 0 new
Last post
WulfKraneis
Offline
Last seen: 1 year 5 months ago
Joined: 2019-09-24 17:07
Posts: 1
Adding two reed contacts and adapting the software accordingly

I am running some VESC and like to extend the functionality of the VESC controller by adding two reed contacts and adapt the software of the controller as follows:

1   If reed contact 1 shows a certain frequency, reduce the amps down to 0 if this is exceeded (over s small band, for example between 4 and 4.4 Hz,  if a certain limit frequency (something between 3 and 10 Hz) is exceed stop running the motor at all

2   If reed contact 2 shows a certain frequency (between 0.5-3 Hz), controller shall operate the motor depending on the throttle, but if reed contact frequency falls below certain level (0.3 Hz for example), controller shall not provide any amps (0 amps). 

3   Start the controller with a certain frequency of the throttle (for example "2x long, 2xshort" for "standard mode, or 1xlong, 1x short" to consider also the logic under 1) and 2). If throttle is not used for an adjustable duration of time, let the controller fall into sleep mode. 

 

Pls let me know if anybody is able to conduct the work and I would be happy to pay for it....

 

Regards

Wulf Kraneis 

 

 

district9prawn
Offline
Last seen: 1 year 4 months ago
Joined: 2018-04-26 12:18
Posts: 123

Out of curiosity, is this intended for an ebike? I'm imagining one reed switch reading a wheel magnet and one reading a crank magnet?