Owen Roseborough / Mbed 2 deprecated BeverageRoverV1

Dependencies:   mbed

Homepage

This R/D code is for controlling a Rover 5 chassis by Pololu Electronics. It is controlled by an Mbed LPC1768 and two 2x5 Motor Drivers by Dimension Engineering.

The code samples the starting speed of the rover (fixed speed) and calculates exponential PWM increments that will peak at the top speed. The wave looks (approximately) as below (the x's represent the increments):

x
x
x
x
x
x
x
x
x
x

x

The rover carries an open beverage, so the purpose of the acceleration curve is to prevent the drink from spilling.


All wikipages