Wheelie Cheat Device?

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 พ.ย. 2024

ความคิดเห็น • 1.4K

  • @TomStantonEngineering
    @TomStantonEngineering  6 ปีที่แล้ว +974

    Thanks to everyone that watched more than 6 seconds of this video!! To the others, thanks for the wheelie advice 😂

    • @shanelangen1822
      @shanelangen1822 6 ปีที่แล้ว +5

      I have made a simple wheelie cheat for my Ebike please check it out on my instagram shanelangen8415 I can explain it

    • @shanelangen1822
      @shanelangen1822 6 ปีที่แล้ว

      2Crazy1Side SE bikes on duro did you Se my easy wheelie set up on my instagram

    • @MillieMuncher360
      @MillieMuncher360 6 ปีที่แล้ว +10

      I hate to ask this because I'm sure the answer isn't simpler, can you do a video to show how to do the chip/wiring and programming? I feel like that is something I could use for other purposes and even make a few projects with my sons to spend some quality dad time with them. Thanks

    • @shanelangen1822
      @shanelangen1822 6 ปีที่แล้ว

      Millie Muncher contact me on my Instagram

    • @vytas210
      @vytas210 6 ปีที่แล้ว +3

      can u share the code? i want to do it with my dirt bike with some mods.. ;p

  • @wecsam
    @wecsam 5 ปีที่แล้ว +1512

    The software brings the nose down? You've turned your bike into a 737 MAX 8.

    • @subtoeverything7798
      @subtoeverything7798 5 ปีที่แล้ว +61

      I have been on TH-cam for about 4 years, and you are officially the most funny comment that I have ever had the pleasure of laughing at.

    • @mikedavis1517
      @mikedavis1517 5 ปีที่แล้ว +7

      Perfect! Too funny.

    • @emijo777
      @emijo777 5 ปีที่แล้ว +4

      Haha

    • @user-or1uo4ct9r
      @user-or1uo4ct9r 5 ปีที่แล้ว +12

      mCaS

    • @fluffigverbimmelt
      @fluffigverbimmelt 4 ปีที่แล้ว +5

      @@user-or1uo4ct9r Now available as Manual Characteristics Augmentation System

  • @CARDIACMEDIA
    @CARDIACMEDIA 6 ปีที่แล้ว +490

    Do it like a cruise control, you pull a wheelie then press a button to set the angle, then the electronics take over and maintain that angle

    • @Boneyyym
      @Boneyyym 6 ปีที่แล้ว +44

      It's possible, but when you are not at your balance point, you will either accelerate or decelerate.

    • @rbching3535
      @rbching3535 6 ปีที่แล้ว +21

      Basically hover board or segway programing.

    • @aidanginise
      @aidanginise 6 ปีที่แล้ว +11

      How would you get electronic to "maintain that angle". You can't just have a huge gyro or SAS on a bike, that's no possible unless you use a multi-point ABS or something like that. Cruise control itself won't hold an angle.

    • @rbching3535
      @rbching3535 6 ปีที่แล้ว +12

      @@aidanginise best I can think of is electric motor to pitch backwards and brakes to pitch forwards provided forward motion is present.

    • @ziptone779
      @ziptone779 6 ปีที่แล้ว +4

      RB Ching: Then you can burn up the brakes and motor ; )

  • @tanngerin
    @tanngerin 6 ปีที่แล้ว +1212

    these minecraft building tutorials are getting harder and harder

    • @probablyonahonda
      @probablyonahonda 5 ปีที่แล้ว +8

      Lmfao 😂😂😂

    • @JUST-UK-JAY
      @JUST-UK-JAY 4 ปีที่แล้ว +2

      this has fuck all to do with a shitty minecraft game ... GROW UP !

    • @sept836
      @sept836 4 ปีที่แล้ว +37

      @@JUST-UK-JAY Okay Jay with the Anonymous profile picture who is subscribed to "All sexy girls in the world"

    • @yuriibondar3757
      @yuriibondar3757 4 ปีที่แล้ว +10

      @@JUST-UK-JAY okie dokie 🅱️🅾️🅾️mer

    • @sfsnasa7556
      @sfsnasa7556 4 ปีที่แล้ว +5

      @@JUST-UK-JAY fuck up men you are a guy who sub to all girl ay badeng
      Badeng is a gay

  • @josuasieg2901
    @josuasieg2901 6 ปีที่แล้ว +527

    Try to go uphills with that (:

    • @kadirhanyavlak1618
      @kadirhanyavlak1618 6 ปีที่แล้ว +30

      Why is it not going anywhere?
      Why am I skidding backwards?
      Oh I know (crashes to a tree)

    • @lukehuffman8655
      @lukehuffman8655 6 ปีที่แล้ว +2

      ayy lol

    • @anistebib8697
      @anistebib8697 6 ปีที่แล้ว

      Kadirhan Yavlak i

    • @ameraldas3641
      @ameraldas3641 5 ปีที่แล้ว +3

      try going down steep hills

    • @MysterySteve
      @MysterySteve 5 ปีที่แล้ว +10

      Have you *tried* biking up a hill at that angle? Fat chance that he would need to account for that.

  • @Tommo992
    @Tommo992 6 ปีที่แล้ว +95

    Hey Tom,
    Might be worth logging the way you do a wheelie first - by taking the data from the accelerometer and a potentiometer on your brake handle. This should get your native wheelie angle and brake force applied, once this data is obtained you could match it with your servo or even continue to use the POT to match a force applied to the brake with the servo.
    Obviously this is in no way dynamic like the segway as it will be matched completely to your wheelie profile.

  • @GarrettCrosgrove
    @GarrettCrosgrove 4 ปีที่แล้ว +202

    The easiest way to do a wheelie for me is just riding my unicycle.

  • @SunriseKnight
    @SunriseKnight 6 ปีที่แล้ว +125

    The world needs more engineers like you. Hands on and educated.

  • @han5vk
    @han5vk 6 ปีที่แล้ว +1606

    Why is your rear brake lever on the left? :o Does everything have to be left-hand drive in the UK? :D

    • @ryanm.191
      @ryanm.191 6 ปีที่แล้ว +55

      hanetar I would complain but that was pretty good

    • @TomStantonEngineering
      @TomStantonEngineering  6 ปีที่แล้ว +459

      Haha yes it's because we drive on the left. Though I'm not sure why the brakes need to change depending on which side of the road we drive on.

    • @CyclingSteve
      @CyclingSteve 6 ปีที่แล้ว +442

      Yep, otherwise if you need to slow down while signalling a right turn you might go over the handlebars. Signalling a left turn is less important as you are not crossing the opposing flow of traffic.

    • @han5vk
      @han5vk 6 ปีที่แล้ว +115

      Thanks, that's an interesting rationale, never would have thought of that. Though, if you go over the handlebars when using the front brake, you're doing something quite wrong :) It's the front one that actually makes the bike stop, the rear one just sends you into a skid :D

    • @CyclingSteve
      @CyclingSteve 6 ปีที่แล้ว +50

      Using the front brake alone can cause the bike to tip up, you are obviously not going fast enough. :D

  • @TheVirindi
    @TheVirindi 6 ปีที่แล้ว +144

    I think it could be done completely automatically if the control system was operating the motor rather than the brake, and was able to sense the amount of torque applied to the motor compared to motor position. Comparing wheel torque with both angular and linear acceleration should allow a controller to differentiate between forward movement and tilt change. In this way, the controller could seek the angle at which required torque is minimized. It would not be that different from other self-balancing devices.

    • @ZacharyAdamson1
      @ZacharyAdamson1 6 ปีที่แล้ว +4

      Exactly what I was thinking. He'd definitely need to filter those sensor values though. The Kalman filter would be perfect.

    • @AllElectronicsGr
      @AllElectronicsGr 6 ปีที่แล้ว +5

      This is a really nice idea. The motor and position could be estimated by a tri-phase current sensor. Torque would be very well approximated by constant*total_current and the axial displacement of the motor shaft by integration of the tri-phase angle matrix.

    • @surfcello
      @surfcello 6 ปีที่แล้ว

      Actually, torque would be equal to power divided by angular velocity, and power is voltage times current. Both current and voltage change at the same time when revving an electric motor.

    • @DieselRamcharger
      @DieselRamcharger 6 ปีที่แล้ว

      except self balancing devices are direct drive. the motor is both drive and brake. on a bike the motor freewheels, so it has no brake authority. there would be no way to stop it from flipping over backwards.

    • @TheVirindi
      @TheVirindi 6 ปีที่แล้ว +2

      The motor freewheels? Not on this design. Maybe on a mid-drive system where the motor is attached to the pedal sprocket. But on Tom's designs, the large pulley is directly coupled to the wheel. Note that a freewheel system would prevent regenerative braking as well, so it is not preferred.

  • @dannygrob
    @dannygrob 6 ปีที่แล้ว +366

    Add a potentiometer on the steeringwheel to adjust the balancing point on the fly?

    • @AkaMarko69
      @AkaMarko69 6 ปีที่แล้ว +46

      Steering wheel??? Haha have we all been watching the same video Danny?

    • @The0ffical
      @The0ffical 6 ปีที่แล้ว

      YASSS

    • @escapeman9016
      @escapeman9016 6 ปีที่แล้ว +12

      Well, bike frame anyway. Take angle value, take pot value, scale both appropriately, add/subtract pot pseudo value from angle value => you can tune the angle the servo kicks in. Simples.

    • @migano2023
      @migano2023 6 ปีที่แล้ว +3

      A potentiometer would certainly help tuning the break angle faster in the field for testing, but the general problems tom described still remain.

    • @edwardbarton1680
      @edwardbarton1680 6 ปีที่แล้ว +6

      The problems wouldn't still exist. Any configuration of body mass, arm length, and ride style will have a certain preferred balance angle. You just need to tune that one value for the rider, and you're set. And if the PID is implemented on both the motor and brake, a fairly wide range of values would work. They'd just be less comfortable the further away from the preferred point it is.
      You'd probably want to set an "on" angle, so that the controller doesn't start unless you're actually trying to wheelie.

  • @CerebralDad
    @CerebralDad 6 ปีที่แล้ว +289

    Youre going to need to filter the sensor values to smooth the result

    • @coceg87
      @coceg87 6 ปีที่แล้ว +21

      If you cut high frequencies off, you will lose in reaction time.

    • @CerebralDad
      @CerebralDad 6 ปีที่แล้ว +5

      youre not cutting the frequency youre smoothing the value

    • @coceg87
      @coceg87 6 ปีที่แล้ว +56

      @@CerebralDad which is exactly equivalent to cutting the high frequency.

    • @CerebralDad
      @CerebralDad 6 ปีที่แล้ว +12

      no, youre just cutting out the jitters. essentially the average of values over time. the response time is not affected at all what so ever. time is constant. martinvb.com/wp/wp-content/uploads/2016/08/g_comp_b2b3.png

    • @coceg87
      @coceg87 6 ปีที่แล้ว +32

      @@CerebralDad I don't understand what you mean by "time is constant", but as you can probably learn from any signal processing book, "removing the jitters" is essentially removing the high frequency spectral components, which inevitably leads to the increase in the system's response time. Roughly speaking, if you take a step function (i.e. infinitely fast event), that is 0 for t0, through any smoothing algorithm, it will become some smoother function, that is still 0 at t

  • @aneb2002
    @aneb2002 6 ปีที่แล้ว +17

    If you can measure the speed, and then calculate the rate of the change of speed - acceleration of the bike, on top of the angle sensor, you have enough information to compensate for all of those "balance torque, including the riders arms", weird angles (the angle it's mounted no longer matter when you only measure rate, but you still want it to check it's not zero due to "both wheels on ground" I guess) stuff you were talking about... when you have acceleration = 0 and the rate of change of angle = 0 then all those dynamic torques/weights/etc are in balance. if the rider leans forward, then the angle rate increases, and to zero that out, the bike will need to accelerate, which means non-zero acceleration... Drive your control system to zero both out, and you have balance. You can drive "break only" with the same control system, was just easier to talk about assuming perfect rear wheel motor power output control. I hope that made sense.

  • @MrAmalasan
    @MrAmalasan 6 ปีที่แล้ว +203

    It's a wheelie good idea Tom!

  • @gamebug1152
    @gamebug1152 6 ปีที่แล้ว +276

    i hope people know how scary it is not having your finger on the brake when wheeling and dont think he is just pussing out :D

    • @rdizzy1
      @rdizzy1 6 ปีที่แล้ว +77

      I never even knew people used brakes at all when doing wheelies on bikes until I watched this video. When I was younger and we used to do wheelies down the road we never used brakes, just held onto the handle bars and jumped off the bike backwards if the bike was going to flip over.

    • @gamebug1152
      @gamebug1152 6 ปีที่แล้ว +4

      pretty much exactly what i used to do, I started watching youtube videos to learn about the brakes and stuff... still didnt stop me from breaking my spine everytime I flipped over lol

    • @awildtomappeared5925
      @awildtomappeared5925 6 ปีที่แล้ว +31

      How many times have you broken your spine now?

    • @rdizzy1
      @rdizzy1 6 ปีที่แล้ว +20

      I don't know how you would flip over backwards without having an instinctual reaction of jumping off, and planting your feet on the ground prior to the bike flipping so far back that you land on your back. I would literally have to try very hard to let that happen

    • @rdizzy1
      @rdizzy1 6 ปีที่แล้ว +2

      Exactly like this kid right here is what I mean. th-cam.com/video/927-WNvoK_g/w-d-xo.html

  • @sil8127
    @sil8127 5 ปีที่แล้ว +9

    Its amazing to see how much you have developed from here until now. From being new with arduino and unsure with coding to your later videos where you have been using arduino in your VTOL aircraft. Great stuff, from a proud patreon

  • @Daversity
    @Daversity 6 ปีที่แล้ว +85

    No Way!!! I've been working on this exact concept for a few weeks now and you beat me to it!! Anyway, I love the videos man keep it up!

    • @TomStantonEngineering
      @TomStantonEngineering  6 ปีที่แล้ว +13

      That's awesome! How far have you got with the concept? Are you using the angle to activate the brake, or something different? Thanks!

    • @Daversity
      @Daversity 6 ปีที่แล้ว +16

      Originally I wanted to try this on a dirtbike but more mechanically and use the foot brake with a lever and spring system(kind of like the throttle cut device but to apply the rear brake). I always had the thought of using an Arduino but I knew a servo wouldn't be strong enough to stop a dirtbike and I wasn't going to find out the hard way lol. since then I decided to scale down for a prototype and right now I'm using a Servo attached to a drone flight Flight controller in an effort to smooth out the actuation of the braking, however, my Lack of understanding when it comes to optimizing PID values has been my downfall. I'm sure if you knew what you were doing this system would work flawlessly! Good Luck!

    • @ryanmaynard256
      @ryanmaynard256 6 ปีที่แล้ว

      Yes course you was lol

    • @cartersaito2654
      @cartersaito2654 6 ปีที่แล้ว

      When are you making a new video Daversity it’s been 7 months!!!!!

    • @Daversity
      @Daversity 6 ปีที่แล้ว

      Just filmed a video with my Miata this past weekend gotta find time to edit. should be this week though!

  • @AustralViking
    @AustralViking 6 ปีที่แล้ว +25

    I think the solution is to monitor the rate of agular change not set an absolute angle, this would give allot more flexibility , not to mention it wouldn't pull the brake when you go up a hil :p

    • @hadinossanosam4459
      @hadinossanosam4459 6 ปีที่แล้ว +7

      Of course, that would theoretically try to keep the change of angle constant!
      But it would make getting into the wheelie quite difficult, maybe add a button to disengage the system at the start, and then let go at the proper angle?

    • @netpilot5
      @netpilot5 6 ปีที่แล้ว +1

      Andrew B Your suggestion of measuring the rate of angular change not withstanding, the arrangement that he has doesn't care whether he is going up or down a hill unless the hill is more than 45°. The sensors are measuring the angle relative to the direction of gravity. ;)

    • @barefootalien
      @barefootalien 5 ปีที่แล้ว

      That would be a heck of a hill! XD

    • @squidwardo7074
      @squidwardo7074 7 หลายเดือนก่อน

      You mean mt everest? The road with the steepest grade in the world is "only" about 30%, or 13.5 degrees

  • @JSMachineWorks
    @JSMachineWorks 6 ปีที่แล้ว +7

    Dang. That is one advanced wheeliebar...

  • @eelcohoogendoorn8044
    @eelcohoogendoorn8044 6 ปีที่แล้ว +9

    Hi Tom; cool project once again! What I think is working against you the most, from a control theory perspective, is the amount of 'play' in the brake system. These electronics have a nonzero reaction time in the first place, and once the system reacts the servo first has to pull itself through the non-activated part of the brake; which makes any delays so much worse. Of course you can try and counteract this by making the servo more aggressive; but that makes for a very jolty system. Things would probably improve a lot of you calibrated the servo-brake mechanism to have some pre-tension, so that at rest it is not-quite-engaged, so any servo input will more or less directly and proportionally engage the brake. Play in your system is notoriously difficult to correct for in any control system, and it definitely obeys a 'less is less' kind of dynamic. A PID loop by itself will do little to correct this characteristic, and can even lead to really annoying chatter. Its based on linear theory and play is intrinsically a nonlinear feature (or plateau) in your input-output relationship.

  • @frasersteen
    @frasersteen 6 ปีที่แล้ว +12

    What about taking the concept to RC? you could use some quad motors to make a direct drive RC car with stability control. Endless endos and wheelies. Plus you could publish the design so I could build one.

    • @dextrosity7350
      @dextrosity7350 6 ปีที่แล้ว

      Or you could just get a giant gyro and put it in the RC car, I actually have an RC car that does this. Its weird but it can do wheelies on one wheel

    • @frasersteen
      @frasersteen 6 ปีที่แล้ว

      I have an ambition to make a decked out 4 motor car with stability, steering and so on controlled by whatever the equivalent of a flight controller would be. More out of curiosity than anything else but it might be cool to be able to control the driving characteristics and drift angles really precisely, this would just be one example. I was trying to get Tom to figure it out for me!

  • @lloydrmc
    @lloydrmc 2 ปีที่แล้ว

    Truly excellent project. If I may share some thoughts:
    1) It would be possible to have the Arduino read a handlebar mounted pot to facilitate a field adjustable braking starting point for the braking process. Pots can be read by a standard Arduino with 8 bits resolution. Some inexpensive microcontrollers can read with 12 or even 16 bits resolution.
    2) Likewise, it may be possible to have the Arduino read a separate pot to field adjust the slope of a line describing the increase in servo rotation per degree of tilt, thus resultant caliper tension.
    3) One could self-enforce consistent elbow angle, or measure the distance between, say, the handlebar stem and the rider's chest using a standard general purpose ultrasonic range sensor or specialized infrared drone ground proximity sensor

  • @ukulelefatman
    @ukulelefatman 6 ปีที่แล้ว +7

    A motor spinning the front wheel will give you a gyroscope on the front end. I used to see a guy riding wheelies around entire motocross tracks with such a set up. He toured the circuit, I believe he called himself "The Wheelie King"

    • @highquad884
      @highquad884 6 ปีที่แล้ว

      You are not a Wheelie King if you need a spinning front wheel. But you are right. It makes wheelies a lot easier.

    • @thedude8555
      @thedude8555 6 ปีที่แล้ว

      ukulelefatman His name was Doug Domokos I think. I remember reading about him in dirt bike mag.

  • @justinmckibben4534
    @justinmckibben4534 6 ปีที่แล้ว +1

    Very interesting. There are many ways one could go about the design to get the end result but you've actually put in the time and energy. Good job

  • @Platypus2048
    @Platypus2048 6 ปีที่แล้ว +10

    Would be cool try something like this on my wheelchair :D

  • @Crustyislooking
    @Crustyislooking ปีที่แล้ว

    I love playing with IMUs, it’s so satisfying playing with your creations when it’s orientation dependent

  • @letsgocamping88
    @letsgocamping88 6 ปีที่แล้ว +20

    You could add a tare button for level

  • @sparrow082
    @sparrow082 6 ปีที่แล้ว

    Add a potentiometer. Code it to adjust the angle of the balance point. Take a lot of the weight out of the setting so you turn the potentiometer a lot and move the angle a little. Add a second potentiometer and use one for High Gain and one for low gain. Set the length of your break wire to where you're happy and don't touch it again, you should just adjust the software not the hardware ( once you get it to the right length ) in my opinion.
    I'm currently working on a drifting/racing/R.C./GPS/riding lawn mower with a working mower deck. This thing wouldn't be possible without you and your Channel. Thank you so very much.

    • @porkhunts
      @porkhunts 6 ปีที่แล้ว

      Keep it simple, scrap the lot and use a 3 axis gyro. Couldnt be easier

  • @rant4la
    @rant4la 6 ปีที่แล้ว +3

    these kind of coding and servo related videos I have really wanted to see for a long time! Please do more projects like this :P

  • @alwAudio
    @alwAudio 6 ปีที่แล้ว

    What I love about your videos is you show everything "warts 'n' all". Real world engineering is about examining challenges, proposing, developing and testing solutions, but, without immense resources, there will always be assumptions or variables that weren't considered, which means that things often don't work perfectly first time or at the very least can be improved. You aren't afraid to show the imperfections and design iterations that are what real-world engineering is all about. Our 'failures' or imperfect designs and consequent design iterations are always the greatest learning experiences which is what makes your videos so much more valuable as a viewer. I wonder if this challenge can be more easily solved using the electric bike, since you will gain potentially finer control of both torques acting on the wheel? I suspect the rider's mass distribution is by far the largest variable though. The segway also has things much easier as the torque control is provided by the same mechanism, i.e. the motor that drives the wheels, which is probably easier to characterise than a friction brake and gives finer control than a simple mechanism such as you've implemented can provide - the braking force is going to be quite non-linear for any friction brake ultimately. It's an impressive video though and very successful given the time spent on it! Maybe a dedicated wheelie bike without a rear freewheel allowing the motor to provide propulsion and braking forces? Unicycle?

  • @Fopppyable
    @Fopppyable 6 ปีที่แล้ว +5

    1:35 thats a proper cuppa

  • @mikeupton5406
    @mikeupton5406 6 ปีที่แล้ว

    As a "senior statesmen" of watching RC stuff online and finding your channel awhile ago I have to say you are very good at teaching old dogs new tricks. I have been interested in seeing what Adrino was. Thank You for doing something with this.

  • @000juggler
    @000juggler 6 ปีที่แล้ว +3

    Is this the MPU-6050 accelerometer-gyro? If so, would you mind linking the code you used to interpret pitch angle?

  • @mmseng2
    @mmseng2 4 ปีที่แล้ว +1

    19:23 Nice job Tom. I couldn't do these videos without you either.

  • @mistercohaagen
    @mistercohaagen 6 ปีที่แล้ว +10

    Make a model RC bike.

  • @IanDarley
    @IanDarley 6 ปีที่แล้ว +2

    You also need to account for the forward acceleration adding to the perceived angle the accelerometer is measuring with every pedal push. You would probably need to measure the rear wheel rotational speed and add a correction value based on that.

  • @matthewlim-dot-ml
    @matthewlim-dot-ml 6 ปีที่แล้ว +12

    What if you're riding up a hill? The autobrake will definetly make it far more difficult ;)

    • @ClaudeSac
      @ClaudeSac 6 ปีที่แล้ว

      Think again.

    • @matthewlim-dot-ml
      @matthewlim-dot-ml 6 ปีที่แล้ว

      +ClaudeSac
      No, it is you who is thinking this in the wrong way.
      Since the Arduino is using a gyro the brakes will automatically deploy up a hill as it cannot tell the difference between them. Use that brain of yours before commenting, please.

    • @ClaudeSac
      @ClaudeSac 6 ปีที่แล้ว

      Wow .... goodbye kind soul.

    • @matthewlim-dot-ml
      @matthewlim-dot-ml 6 ปีที่แล้ว

      +ClaudeSac What is your age?

    • @revimfadli4666
      @revimfadli4666 5 ปีที่แล้ว

      @@ClaudeSac like you even know what 'kind soul' is

  • @charliepatterson9321
    @charliepatterson9321 6 ปีที่แล้ว

    I learned to ride a wheelie in 1976 , my bike is 20" with a coaster brake , my longest is 5.5 miles @ 2 to 3 mph no greater than 5 mph .
    Curiosity made me watch this and I must applaud how deep you have delved into the physics using electrical components . That device you created is equally terrifying as it is terrific . My mind is blown by your whole concept and I have nothing but accolades and applauses for your efforts .
    Simply Magnificent , especially for a prototype .
    I would deem that a first round success if I were you .

  • @alexcsillag7816
    @alexcsillag7816 5 ปีที่แล้ว +3

    Okay, for real. I misread your name as Train Station... im so sorry 😅

  • @musicwhiz711
    @musicwhiz711 6 ปีที่แล้ว

    Yes dude! I've been wanting to try this ever since I saw the alta motorcycle. They could have a wheelie mode on it. You would just have to lean back twist the throttle and the bike would find its own balance point. The brake is one way to do it, you could also wire it to control entirely with the throttle. Glad people have started experimenting!

  • @rentman1995
    @rentman1995 6 ปีที่แล้ว +3

    Balancing a bike would be a classic inverse pendulum problem, its a non-linear problem and will take a bunch more math than just implementing a PID controller.

    • @alexgian9313
      @alexgian9313 6 ปีที่แล้ว

      Adrian Forbes - I think you're right. Any links to any projects, code, papers... anything really, on the subject? I am just starting out. Got the chips and the coding experience, need some help with the physics and the mechanics.

    • @clonkex
      @clonkex 6 ปีที่แล้ว

      A good start is googling "inverse pendulum arduino". There's tonnes of information to absorb there. Once you have a good general idea of how it works then you'll know if you need more specific information.

    • @alexgian9313
      @alexgian9313 6 ปีที่แล้ว

      @@clonkex - Thanks for that, there is indeed a ton of stuff there.
      However, there is one major difference, in that a true wheelie system will ONLY have unidirectional forward motion, and any overbalance will always be corrected by braking (either off the brakes or off the engine), whereas these balancing robots move (jitter?) backwards and forewards to ensure they don't topple.
      That's quite a difference, any ideas how to tackle it? Of course, the existing robots ARE essentially doing a wheelie when they travel forewards - I guess - but they don't propel themselves into it (do they?). Also, when they move forward they do so at fairly optimal balance point, I don't think they'd correct a suboptimal angle by going faster (would they?)
      All very interesting...

    • @clonkex
      @clonkex 6 ปีที่แล้ว

      Actually off the top of my head I think it would be exactly like one of those balancing robots when it's moving forward... unless the human is providing the forward motion (so the electronics can't control it). When the balancing robots are moving forward they just tip forward then accelerate so they end up moving forwards but with the centre of gravity right over the axis of rotation (the wheel); i.e. they should end up upright, but moving forwards. Maybe a slight tilt forwards is necessary due to rolling resistance, not sure.

    • @alexgian9313
      @alexgian9313 6 ปีที่แล้ว

      @@clonkex - Yes, the other interesting thing is when BOTH the human and the electric motor are supplying the power simultaneously. You'd need to figure if the pedaller was "getting it up" enough, and assist if not. OTOH if the pedaller wasn't trying to wheelie, there'd be no point trying to assist it. So you'd need to detect (somehow) if a wheelie was being attempted. Maybe either through a "wheelie mode" switch, or some smart acceleration monitoring software.

  • @VineethMuthanna
    @VineethMuthanna 6 ปีที่แล้ว

    Hi Tom, I have a suggestion for you. Why don't you tap the analog signal from the throttle on your handlebar into the Arduino and then digitally control the vESC. Because you have a Gyro on board it would allow you to program a variety of control systems to control the bike in various conditions like when you're riding normally and holding a wheelie. A PID system can help you maintain a wheelie continuously without using brakes, and may be bring your nose down very smoothly when you throttle to zero. Using potentiometers on your brake cables will allow you to play around and design with a combination of so many i/o methods and control systems.
    All the best.

  • @xavtek
    @xavtek 6 ปีที่แล้ว +4

    Now you need to wire your esc with that arduino for automatic wheeling 😂

    • @ChromeVanadium
      @ChromeVanadium 6 ปีที่แล้ว

      xavtek I think this would be the best option, it would require a dead mans handle though, so if he fell off it would stop,

  • @Cypri666
    @Cypri666 6 ปีที่แล้ว

    You could have a device that has calibration built in, to set a persons balance point. This could possibly be done by allowing them to put the device into a calibration mode, the code could do something like check for a threshold value that exists for x amount of seconds. This step could be repeated x amount of times to make the program fine tune the balance point. Then this would work no matter what weight, height & arm length the person has. Nice work so far!

  • @leemilica
    @leemilica 6 ปีที่แล้ว +3

    Your back brake is on the left wtf

    • @Ritefita
      @Ritefita 5 ปีที่แล้ว

      omg! looks like UK realy got it for same traffic reasons

    • @ericsson_motorsports
      @ericsson_motorsports 5 ปีที่แล้ว

      Sergej Nadaždin It’s usually is to the left because the gears are to the right on most bikes

  • @nathanbrader7591
    @nathanbrader7591 3 ปีที่แล้ว

    19:23 "I honestly couldn't do these videos without me" I think you were right the first time. :)

  • @apsghostseeker
    @apsghostseeker 6 ปีที่แล้ว +130

    Just learn how to do a wheelie without that crap. Lol

    • @didaccarbasa7676
      @didaccarbasa7676 6 ปีที่แล้ว +4

      Just searching for this comment. Thanks. 😂 fucking lazyness and fear

    • @Parkittaja
      @Parkittaja 6 ปีที่แล้ว +2

      Haha i hope this wont be trend soon

    • @taj6266
      @taj6266 6 ปีที่แล้ว +48

      Dídak Carbasa you understand he’s doing this for fun to learn about programming not how to wheelie if anything this would make it harder to wheelie.

    • @blacktrooper100
      @blacktrooper100 6 ปีที่แล้ว +36

      he already could wheelie that wasn't the point of the project.

    • @matthewfitzjerrell1499
      @matthewfitzjerrell1499 6 ปีที่แล้ว +1

      Learn to wheelie without brakes

  • @00networker
    @00networker 6 ปีที่แล้ว +1

    When you love bikes and love nerdy stuff and you bring the two together love it and its simple keep it up mate 👍

  • @immrnoidall
    @immrnoidall 5 ปีที่แล้ว

    as a former kid that tinkered with anything i could get my hands on , and now 52 and still at it,things like this kit are so damn cool to me. kids today have no idea how lucky they are ,to be living in great times like we have today. for anyone to be able to just look up ,order ,and get it days later is amazing fun.and so cheep.

  • @oskarkrogsgard3014
    @oskarkrogsgard3014 6 ปีที่แล้ว +1

    "I honestly couldn't do these videos without me" I believe you Tom

  • @machobunny1
    @machobunny1 6 ปีที่แล้ว

    That's a nice little shop you've made for your projects. Good work. Good explaining. Well Done.

  • @adammullarkey4996
    @adammullarkey4996 2 ปีที่แล้ว +1

    Tom: "Ever wondered if you can make a wheelie cheat device for your bike?"
    Me: "I can't even ride a bike."
    Tom:"Yeah, me too."

  • @geoffburrill9850
    @geoffburrill9850 5 ปีที่แล้ว

    Amazing idea. Nice to see all the technology and you rely on adjusting the length of a piece of wire. Great to see you invention.

  • @alexgian9313
    @alexgian9313 6 ปีที่แล้ว +1

    Great start, and thanks for the inspiration! I'd never for a moment have imagined that such a simple servo-brake setup would work AT ALL. Also amazing and really encouraging to see just how many people are working on the same idea - why, there's enough just here to make a forum...
    I agree that you should use the gyro reading to track your rotational moments, and maybe blend with some PID mechanism. Someone also mentioned that it's a non-linear "inverse pendulum" problem. I'd like to hear more about that. I wonder if some Machine Learning would be of use here, too?
    I'll probably start experimenting with a model, my wheelies are pretty poor (read nonexistent). I also prefer to use ESP chips. You can program them in the same IDE as Arduino, but they are quite a bit more powerful, and cheaper. Built-in WiFi also facilitates remote logging or RC control.
    Really cool to see there's so much support, hey this may work out now! Can't wait to see what else, erm... comes up :)
    ====
    PS. I am also shocked, I say, shocked!! to find out that some benighted (LOL) countries put the rear brake on the right. Motorbike riders must just love that...

  • @EastLondonKiwi
    @EastLondonKiwi 5 ปีที่แล้ว

    Tom just add in two pots into your model. Use one to set the zero point angle to compensate for the installed angle of your electronics on the bike frame. And the second to set the top-end tip angle. Then simply have the Code react between those two variable set points. That means you can dynamically set the code as you ride to the perfect angles for any bike and any rider. Also you can set the possible output angles using the maximum statement in code to the exact range of your servo's input, so that you never set a angle that is beyond any angle your servo can take. Hope that helps. D

  • @PaulHollandWheels
    @PaulHollandWheels 6 ปีที่แล้ว

    Genius 40 yrs to late for me. I learned the old fashion way. You never cease to amaze me.

  • @matfan81
    @matfan81 6 ปีที่แล้ว

    Great project as always. If this device is just meant to prevent loop outs you're oh so close! If the brake reacted to rate of angular change providing a short sharp stab of rear brake when you're over your tuned threshold you'd have much more consistent results given the variables you've already identified. This is one of your most commercially viable tinkerings, happy coding!

  • @vancemacd6315
    @vancemacd6315 6 ปีที่แล้ว

    This could be used on every motorcycle. Companies should be interested in this simple yet great idea.

  • @usethefooorce
    @usethefooorce 5 ปีที่แล้ว

    These videos are the best... reminds me of my own tinkering while growing up.

  • @oystercatcher943
    @oystercatcher943 2 ปีที่แล้ว

    Been following your video for the engineering but also learning to wheelie (can almost do it after 2-3 months on/off). I'm not surprised the tuning is so difficult as its very dependent on your position on the bike and its quite a fine adjustment. Very impressed that you can do the engineering AND can wheelie too!

  • @silasmarner7586
    @silasmarner7586 6 ปีที่แล้ว +1

    I would think that a control loop rather than an open loop linear function would help, but it practically may be impossible..... Great video Tom!

  • @grrvaes
    @grrvaes 4 ปีที่แล้ว

    A potentiometer to change the angle would've make your life so much easier on this tests, man hahahahaha Great video as always!

  • @geemy9675
    @geemy9675 2 ปีที่แล้ว

    Cool, I guess for a smoother control (more like a Segway) you might want to use the angular velocity as another input so that the brake doesn't slam you back too hard when you pass the balance point. Concrete example: you have passed the balance point, the rear brake has been activated and your angle is decreasing, then you could stop breaking before you have returned to the balance point, because you momentum will get you there anyway even without braking.
    Cons : more inputs so more parameters to tune
    Pros : you can have a feedback that could be helpful for riders with different weighted, size, strength, different slopes, or brakes that lose efficiency with wear

  • @shorifulhaque5137
    @shorifulhaque5137 3 ปีที่แล้ว

    1:45 If I try to have tea while working I always forget about it - you're brave tommy boy

  • @billstrahan4791
    @billstrahan4791 6 ปีที่แล้ว

    Integrate the acceleration that is occurring as feedback into the system to change the balancing angle. Let it just learn and adapt. In other words, the only way it could hold an angle below the balance point is if there was constant acceleration to apply torque to prevent the bike from dropping. Likewise, if the balance angle is exceded, the brake is applied and deceleration has to occur. By measuring acceleration (and it doesn't matter other than some smoothing whether it's from the motor or our legs) the system can determine if the current angle is too small or not. This even works from a standstill. If you engage "wheelie mode" and quickly pedal, its all acceleration with no angle until the front wheel comes up.
    You are doing it intuitively when operating the brake yourself, and you have something like a "max angle" you're willing to go to before applying the brakes. So you still need a max angle at which to begin deceleration, and then the system should be able to reach equilibrium dynamically after that by trying to achieve a steady state speed at whatever angle produces it. That angle will be the balance point.
    Which also means you could have a dial or thumb pedal for intended wheelie speed. It would be kinda cool to set the speed to 5 mph under electric power and just slowly wheelie down the street.
    Anyway, I love your videos. Have fun and be safe!

  • @natesky6603
    @natesky6603 4 ปีที่แล้ว

    you should revisit this project, using your speed to gauge the angle ratio, and also smooth out the braking to be more generous. Add in a couple of control knobs for target angle and speed so you can adjust on the field

  • @nan00klabs
    @nan00klabs 6 ปีที่แล้ว

    Awesome man! You may put a trimpot/potenciometer so you can adjust the kick-angle on the field without having to reprogram the board

  • @academicpachyderm5155
    @academicpachyderm5155 5 ปีที่แล้ว

    Have you considered a deadman switch? A thumb button that has to be held in to keep the wheelie code running would mean the bike doesn't go speeding away if you fall off. That way it would be safer to let the code control your motor as well. Very nicely presented technical videos, by the way

  • @CaptainPeterRMiller
    @CaptainPeterRMiller 5 ปีที่แล้ว

    You're an eloquent presenter Tom and I enjoy your ideas and your videos. Keep on !!

  • @ronbradshaw7404
    @ronbradshaw7404 4 ปีที่แล้ว

    On this and, your ABS project, use a simple cam (excentric) on the servo motor. It will require way less torque and time to react and, still leave you the possibility to fully activate brakes by hand.

  • @Raycefan
    @Raycefan 6 ปีที่แล้ว

    Once again, your genius and intelligence never cease to amaze me.

  • @mikew8100
    @mikew8100 6 ปีที่แล้ว

    Cool stuff! I bought that exact kit about a year ago and it's changed my life. The arduino in combo with raspberry pi and a 3d printer and one can do lottsa stuff!

  • @chrismitchell7941
    @chrismitchell7941 6 ปีที่แล้ว

    Dude, great channel and project. You should use the built in adjustments on your brakes instead of adjusting the length of the wire that pulls the brake. Make he wire really strong and locked in, then use the brake adjustment for very fine, repeatable adjustment of the when the servo is pulling the brake hard enough to stop the back wheel

  • @MarcoLissandrello
    @MarcoLissandrello 6 ปีที่แล้ว

    Concept is ok. Proud of this.
    Need great improvements. Particularly the real angle range determination. Probably with gyroscope linked at ebike is more efficiently (connection and algorithm almost difficult for sure)
    Stay strong

  • @darrensontos1012
    @darrensontos1012 5 ปีที่แล้ว

    I've been using arduino for years and I didn't know you could graph the output!!! That's going to change everything! Thanks!

  • @jtgdyt2
    @jtgdyt2 6 ปีที่แล้ว

    An easier way to fine adjust the angle (rather than the potentiometer input as has been suggested) is to mount the Arduino box to the frame such that the whole thing can be tilted forward/backward. Just grab it and move it. More intuitive.

  • @Krommandant
    @Krommandant 6 ปีที่แล้ว

    Instead of activating the break, the device could activate a reaction wheel between your legs when you initiate wheelie (over a certain angle, maybe 45 degrees) and maintain balance with another angle you decide is the target. It would obviously need much more power and mass but would be less influenced by the mass of the bike rider. It would help people new to wheelie because it would be noisy when far from the target angle.

  • @LukeBrewMoreBeer
    @LukeBrewMoreBeer 6 ปีที่แล้ว

    Awesome idea, doing it with the brake is the right way so it'll work on non-elec bikes too, although for v2, do it with hydraulics in-line somehow to remove the leaver lag and slack.

  • @D3fenderfox
    @D3fenderfox 5 ปีที่แล้ว

    From flying cars to wheelying a bike well done ron

  • @watcherofvideoswasteroftim5788
    @watcherofvideoswasteroftim5788 6 ปีที่แล้ว

    I was so excited when I saw the title! You should hook it up to your e-bikes motor and use the acceleration from that to balance the wheelie!

  • @andrewjvaughan
    @andrewjvaughan 4 ปีที่แล้ว +1

    A neural network would be a really interesting idea here, to read Tom’s brake pulling vs. pitch inputs and try to replicate it (as opposed to having to write an algorithm to determine the right time to pull the brake).

  • @LordPhobos6502
    @LordPhobos6502 6 ปีที่แล้ว

    Nice project board & case! :D
    Protip: When using those external power regulators on a nano, put a schottky diode between the power reg and the nano's 5V line - that way you can still plug the nano in to usb without problems :)

  • @hubertbehrendt1438
    @hubertbehrendt1438 6 ปีที่แล้ว

    Why would anyone dislike such a video. All his doing is experimenting. Some ppl should be not allowed to TH-cam

  • @constantinross7911
    @constantinross7911 6 ปีที่แล้ว

    Amazing Videos. Your videos always inspire me to create new things and work on old projects I gave up.

  • @henryedeh5944
    @henryedeh5944 4 ปีที่แล้ว

    *Whatever he was saying!* I'm so glad I have eyes to enjoy the visuals.

  • @TheSaltyBalls
    @TheSaltyBalls 6 ปีที่แล้ว

    Wanted to use an Arduino so you created this amazing design to push yourself, bravissimo!

  • @the_real_foamidable
    @the_real_foamidable 6 ปีที่แล้ว +1

    You have to implement a proper PID-loop and control the motors throttle and braking so you can have a "One Button high start"

  • @robburnett2672
    @robburnett2672 3 ปีที่แล้ว

    Cool stuff..maybe putting the angle reader on an adjustable mount with a screw so you can adjust it to what you like instead of messing with the wire on the servo..just micro adjust the mount tricking it into thinking its starting at a lower or steeper angle to start.

  • @doaskidyasixkcnt
    @doaskidyasixkcnt 6 ปีที่แล้ว

    Hey man you should make a merch store and sell this to people that can’t wheelie that would be awesome keep up the great work

  • @rdizzy1
    @rdizzy1 6 ปีที่แล้ว

    Just set something up to when you pull the bike up, a metal arm with a wheelie bar (with 2 small wheels on it) rotates down behind the back tire and prevents it from flipping over and makes it more stable.

  • @surfcello
    @surfcello 6 ปีที่แล้ว

    Suggestion:
    1. Mount cut-off switches for the motor to the brakes, so that in a panic situation braking will always work.
    2. Consider making the variable to be controlled not the angle (PID tries to find some optimal angle, which, as you say, can vary mid-ride with body motion) but rather the rate of change of the angle, and strive for zero. I.e. P=d(alpha)/dt, I=alpha, D=d^2(alpha)/dt^2. That way, as soon as the bike starts to tilt _at all_, the controller will try to counteract that.

  • @kyrkbymannen
    @kyrkbymannen 2 ปีที่แล้ว

    This is so brilliant I can’t find words! 🤩

  • @d1rcwill
    @d1rcwill 6 ปีที่แล้ว

    For future portable experiments, maybe use an adjustable pot + LCD display to be able to tune the response of the servo without having to connect to a laptop?
    Years ago, RCSUPERPOWERS made an RC "jet" (may have been EDF or prop, I forget) and it had accelerometer-controlled canards that would let it fly controllably at amazing angles of attack.

  • @jamessowin2505
    @jamessowin2505 6 ปีที่แล้ว

    A really really good starting Arduino kit is the "Elegoo super starter kit" on Amazon. I believe it's only $35. Arduino is open source so even though it's called an Elegoo, it's still made the EXACTLY the same way an Arduino is.
    By far the best gift I got two years ago. I spent so much time building tiny simple devices. I made a screen saver for an OLED display. I made a motion sensor that turns on and off lights when you enter and a room. And a bunch of stupid devices that don't really do anything. Like a joystick who's X and Y position would change the frequency and the volume. Or a device that sends telegram signals based on what you write to it.

  • @babis600
    @babis600 6 ปีที่แล้ว

    So...if you go uphill enough,it would brake also! Anyway great project!

  • @elektrolyte
    @elektrolyte 4 ปีที่แล้ว

    Brilliant Project and excellent video . Well done duuude

  • @jeremygillespie5482
    @jeremygillespie5482 5 ปีที่แล้ว +1

    You can modify your servo (fairly easily) to move 360 degrees to keep from burning out your servos.

  • @jlucasound
    @jlucasound 2 ปีที่แล้ว

    Attaching a small electric motor to the front wheel to spin it helps with stability. The gyroscopic effect, but that is more for side to side. I think. Helps you "steer".

  • @joshyboy9413
    @joshyboy9413 6 ปีที่แล้ว

    Another use for this could be Anti-Wheelie to get maximum acceleration when using the motor, without flipping out. Although you would have a problem differentiating change in gradient from wheeling using the arduino's gyro. Maybe a pressure sensor somewhere in the front end? Does come back to the problem at the end of the video though of shifting your weight around when riding... might be worth looking into.

  • @wiel4nd
    @wiel4nd 6 ปีที่แล้ว

    Awesome!
    Build something like this for your electric bike so it increases speed if you are to low and decreases it when you are to high and does the wheelie all alone for you! Would be great!