Author Topic: Help : Pedal Assist Algorithm  (Read 1405 times)

0 Members and 1 Guest are viewing this topic.

Offline redgearTopic starter

  • Frequent Contributor
  • **
  • Posts: 286
  • Country: us
Help : Pedal Assist Algorithm
« 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!
 

Offline Sal Ammoniac

  • Super Contributor
  • ***
  • Posts: 1668
  • Country: us
Re: Help : Pedal Assist Algorithm
« Reply #1 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.
Complexity is the number-one enemy of high-quality code.
 

Offline redgearTopic starter

  • Frequent Contributor
  • **
  • Posts: 286
  • Country: us
Re: Help : Pedal Assist Algorithm
« Reply #2 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
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf