DasDouble
100 kW
Im planing a wheelie controll for my Vector bike right now. What I will need is quite simple:
-An Arduino
-Gyroskop
-Dc-Dc converter for high voltage down to low voltage (81-12v)
The arduino will measure with the help of the gyroskop what angle my bike is on. In case the front tire is on the ground, it is 0°. When it is on it´s maximum, it should be somewhere at 40°. To make the programming more simple, I would say the gyro would have to be balanced to real 0°. An other option would be that with every start of the bike, the angle will be reset. This way I can place the gyro, just I would like to.
So after all it will look like that:
Option 1.)
-Starting the bike
-Giving full throttle
-Front wheel pops up
-Front wheel goes over 40°
-Arduino cuts off 5v power supply from throttle
-Controller gives 0 power
-Front wheel goes down again under 40°because 0 power.
...
Option 2.)
-Starting the bike
-Giving full throttle
-Front wheel pops up
-Front wheel goes over 40°
-Arduino gives a 10th of a second a regen brake signal
-if front wheel (gyro) > 40° then brake signal 1 (on) again.
-if front wheel (gyro) < 40° then brake signal 0 (off).
The only thing which worrys me is that the Adaptto Max-E could get damaged from the instant 5v on and off in case of the throttle and / or the regen signal.
Anny suggestions?
-Cheers
-An Arduino
-Gyroskop
-Dc-Dc converter for high voltage down to low voltage (81-12v)
The arduino will measure with the help of the gyroskop what angle my bike is on. In case the front tire is on the ground, it is 0°. When it is on it´s maximum, it should be somewhere at 40°. To make the programming more simple, I would say the gyro would have to be balanced to real 0°. An other option would be that with every start of the bike, the angle will be reset. This way I can place the gyro, just I would like to.
So after all it will look like that:
Option 1.)
-Starting the bike
-Giving full throttle
-Front wheel pops up
-Front wheel goes over 40°
-Arduino cuts off 5v power supply from throttle
-Controller gives 0 power
-Front wheel goes down again under 40°because 0 power.
...
Option 2.)
-Starting the bike
-Giving full throttle
-Front wheel pops up
-Front wheel goes over 40°
-Arduino gives a 10th of a second a regen brake signal
-if front wheel (gyro) > 40° then brake signal 1 (on) again.
-if front wheel (gyro) < 40° then brake signal 0 (off).
The only thing which worrys me is that the Adaptto Max-E could get damaged from the instant 5v on and off in case of the throttle and / or the regen signal.
Anny suggestions?
-Cheers