EEVblog Electronics Community Forum

Products => Computers => Programming => Topic started by: redgear on October 01, 2019, 05:02:51 am

Title: Help : Pedal Assist Algorithm
Post by: redgear on October 01, 2019, 05:02:51 am
Hey all,

I am a beginner into the world of programming. I am trying to learn by starting to do projects. Right now I'm planning on coding a Pedal Assist system for my bike and flash it to some micro processor to deploy it on my bike....
I am confused and idk how I should approach writing a algorithm for this.
Would be great if you guys can help

Thanks!
Title: Re: Help : Pedal Assist Algorithm
Post by: Sal Ammoniac on October 02, 2019, 04:39:16 pm
You're going to have to give us more details on what you're trying to do before anyone is going to be able to help. Start by describing the hardware and what the code running on the MCU is supposed to do.
Title: Re: Help : Pedal Assist Algorithm
Post by: redgear on October 16, 2019, 05:28:21 am
You're going to have to give us more details on what you're trying to do before anyone is going to be able to help. Start by describing the hardware and what the code running on the MCU is supposed to do.

Hey, Sorry for the very late reply. I have been busy lately.

I haven't decided on the MCU yet. I will open to suggestions.
I have a hall sensor that detects the rpm in which the biker pedals. This is converted to a analog signal. What I am trying to do is to write an algorithm that will provide assist(motor power) in relation to the biker's rpm. The amount of assist should be adjustable upto 3 levels.

Thanks