Well, the cruise control is the thing I set out to accomplish and that is the mid term goal.
I understand that there are other smaller goals that need to come first.
As it stands now, I have no sensors on the bike.
The motor and the controler are still underway. The bike is still a regular 28" trekking bike with only non electric gadgets, apart from an insane 30W LED, which I'l exchange for a more reasonable bike light.
So, we're actually starting from scratch.
The controller used in the bike, will be a KU63 as sold by BMS battery. I posted a link of a description.
To start out, the conversion of the bike will be the installation of a 12s 5Ah LiPo battery pack, a fuse, the KU63 controller, a Cute Q100 motor in the front wheel (with hall sensors connected to the controller), a thumb throttle as the only throttle input and two Magura reed switches for the brake as kill switches for the throttle. So once I move any of the brake levers, the power to the engine will be cut...
So far so good.
What I would like to measure and implement:
- Temperatures (ambient, motor, battery, controller)
- Cadence (front wheel and crank)
- foto sensor (for backlight on the display and later the bike light. My rear light already has such a sensor and a motion sensor that switches on the rear light when the bike moves and it's dark, so maybe we could hook it up to, so the flow of current is measure and once the light is on, and the current increases, we know it's dark or we just implement a foto sensor)
- voltage from battery
- current through the controller
- Voltage and current USB port (I bought a DCDC stepdown converter to get 5V 3A from the 12s batteries to power my phone)
- calculate trip time (moving time)
- average speed
- barometric sensor (elevation)
- Ah consumption per km
I've drawn up a little picture in powerpoint of what I would like the interface to look like in the end
I am envisioning that the 9 fields are customizable.
In the settings you should be able so select which values the specific fields cycle through if you click them, say the "voltage" on the bottom right, could cycle through USB voltage, battery voltage, average curren and ambient temperature, while the one to its left would cycle only through current (now) and maximum current.
You can select any option for any field, making it completely modular for anyone to set up as they wish with all the sensors and values they have connected. Fields that have only one fixed setting like speed, could but used as switches when clicked, such as cruise control (which would make sense with the speed) The the speed would show the current speed and the target speed in a little corner.
As you can see, it's not the lack of ideas, that's stopping me, it's just that I lack the skills to implement it. A rugged 5" android device could be the killer device for any bicycle geek.
But let's start small.http://www.ebay.de/itm/Arduino-Uno-R3-ATmega328-Microcontroller-Entwicklungsboard-USB-Cable-/230828847676?pt=Wissenschaftliche_Ger%C3%A4te&hash=item35be78b23c
Is this, what I should buy? With all the sensors and android interface that I will definitely want, is this the right one, or should I maybe get a set or some other things aswell. I'd rather have everything I need to start out and not start buying more stuff in 2 weeks. I don't know, maybe there is a set of sensors. Can this Uno handle all the sensors and outputs that I want to do, or would I need something bigger for that?