Electric Bike by simonrafferty

This sketch is missing a short description
Converter between an Analogue (Hall Effect or Resistive) Throttle and PPM suitable to drive a Radio Control type Electronic Speed Controller. Detects Min & Max throttle readings at startup then scales motor speed to that range. Has two startup modes for On & Off road. If Throttle is zero at power up, On Road selected and power limited to legal max. If throttle is max at power up, power only limited by ESC. To power up, throttle has to move from initial position to max (it may already be there) and back to zero. Then motor is powered up.

Embed This Sketch

Use the following HTML code to embed the sketch code above in your blog or website.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/sketch:215487" frameborder="0"></iframe>

Embed The Serial Monitor

You can also embed the Serial Monitor section! Just use this HTML code.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/serialmonitor" frameborder="0"></iframe>