After seeing the balancing skateboard, we thought we would built a Balancing Platform to test out the technology. We bought some rear ends of kids scooter for the drive wheel/motor and the electronics that XenonJohn suggested.

Making a stand-on balancing unit is the same as a skateboard but the wheels are wider apart and the board is turned 90deg so the rear end of kids scooters were used. They were quite small but were quick and easy for testing.

Just don't hit any big bumps! We only had a few bit of skin missing from our shins and one hole in the wall!

Step 1: Details About the Build

Some rear ends of kids scooter were purchased for the drive wheel/motor as were the electronics that XenonJohn suggested.

Angle steel, flat plate and some tube were welded together to make an area to stand on and a handle out the front. The motors bolted on the sides and the electronics was fitted to the front. A torch was cut in half to use as a battery holder which fitted to the top of one of the motors. Now, the electrician needs a new torch! An old piece of plywood was used for the standing platform.

Now it looks like a real prototype!

It took a couple of attempts to get the polarity to the motors correct but it worked pretty much first go. The torque and power values were adjusted as we were using a 18Volt battery instead of 24volts that the motors are rated at.

It worked quite well.
<p>cool! iv'e always wanted a segway.</p>
<p>I can not find a 5DOF IMU what else can I use please help me</p>
<p>good! I want it for a long time.I wanna ride it to work.do you know how fast it can go?</p><p>or Can I use a more powerful motor to increase its speed?</p><p>thanks</p>
<p>Hello,</p><p>Can I use 6DOF accelerometer instead of 5DOF accelerometer, because 5DOF accelerometer is rare to find..</p><p>Thank you!</p>
Sure you can.<br>If it is identical spec eg analog.<br>Otherwise you would need to rewrite the software.
<p>when I compile your code, it shows an error,</p><p>''sketch_dec21a.ino: In function 'void initSabertooth()':<br>sketch_dec21a.ino:58:22: error: 'BYTE' was not declared in this scope<br>sketch_dec21a.ino: In function 'void set_motor()':<br>sketch_dec21a.ino:513:39: error: 'BYTE' was not declared in this scope''</p><p>what should I do for that??</p><p>thank you.</p>
Hi <br> <br> <br>now my scooter balances perfectly but i cant stand on it. there is not enough power to keep me balanced on it. <br> <br>i did played with the values 9 and 0.95 but still cant stand on it. <br>do you have any idea how to fix that ? <br> <br>Im using 2x24V 250w scooter motors <br>http://www.partsforscooters.com/Motor_electric_250w <br> <br> and scooter sprockets on 16&quot; bicycle tires <br>http://www.aliexpress.com/item-img/Chain-sprocket-47-tooth-25H-chain-Razor-E200-E300-Electric-Scooter/355067076.html <br> <br>and the new Ebay Sensor
I'd say your gear ratio is too low or high. Which ever way you look at it! <br>We have a unicycle that runs a 300W one of those motors. <br>It is 2750rpm with an 11 tooth sprocket. <br>It has a 12&quot; wheel with an 80 tooth sprocket. <br>So approx an 8:1 ratio. <br> <br>I'd say yours is about 5:1 and a bigger wheel. <br>You need to put a bigger spocket on it. <br>Probably bigger ratio than we have as you have a bigger wheel!
It's very hard to find a bigger sprocket over here. <br>Is there any way to solve this issue without changing the sprocket? <br>Will changing the wheels to a smaller ones will solve the problem? <br> <br>
Yes a smaller wheel will work.<br>But not as good as putting a bigger sprocket on.
http://secure.oatleyelectronics.com//product_info.php?cPath=53&amp;products_id=920&amp;osCsid=fa4258edc2cda57456c25411f15f8672 <br> <br>Is this the motor you used in your project?
No It was this one. Under wheels and brakes.<br>http://secure.oatleyelectronics.com//product_info.php?cPath=116&amp;products_id=904&amp;osCsid=fa4258edc2cda57456c25411f15f8672<br><br>But if you have the ability for welding etc. get the large wheels and 200w or 300w motors<br><br>http://secure.oatleyelectronics.com//product_info.php?cPath=116&amp;products_id=810&amp;osCsid=fa4258edc2cda57456c25411f15f8672<br><br>http://secure.oatleyelectronics.com//product_info.php?cPath=53&amp;products_id=975&amp;osCsid=fa4258edc2cda57456c25411f15f8672<br><br>put a spot of weld on the ratchet mechansm.
hello <br>can it self balancing when no people above it? <br>thanks
About $300-350 AUD but that matters where you live.
how much $$$$$$$$$$$$$$
I forgot that when compiling arduino tells me: <br>the keyword &quot;BYTE&quot; is not supported, instead use &quot;Serial.write ()&quot;. How do I change it?
You need to download the older 0023 version of Arduino software. <br>The software won't compile with version 1.0 or later. <br>They changed the serial commands. <br> <br>This should work fine. <br>You have seen this one too? <br>https://www.instructables.com/id/Self-Balancing-Scooter-Ver-20/ <br>Same unit just more plastic.
perfect! Now the circuit works, the only problem now is that the engines are stopped only if the IMU is on a strange angle, if the IMU is on a table engines do not stand still.
Hi, <br>The IMU should be on an angle to start, Then you bring it upright for them to turn on the motors. <br>But when you first turn on the circuit you must not move the IMU for at least 4 seconds for it to calibrate. <br>If you do then you will get strange angles etc. <br> <br>Rod
Okay, so I'll try this way. To make my self balance the Deadmen is always pressed, otherwise the engines are not running.
Hi, <br>That's right. That is how the deadman switch works. <br>If you release it the unit will stop. Usually it is on the foot platform. <br>So if you fall off it will stop.
Today I finished my balance scooter, but it seems crazy when grounded. The IMU is near a motor, it is possible that there are disorders of the engines and the IMU does its job well? thanks
Best to keep them away from the motors, just to be sure. <br>So what exactly is the issue your having? <br>
My balance when placed off the ground works very well, the problem is when you put it on the ground and turn it on, it becomes unstable and it seems crazy. <br>I use: <br>Arduino; <br>Sabertooth Dual 25A; <br>180W 24V motors; <br>12V batteries.
Check the orientation of the IMU. <br>It should be mounted upright and tighly fixed. <br>The screw holes should be down the bottom and the back of the circuit board towards the front. <br>Check the driving when off ground. <br>If you tilt forward then it should drive forward. <br> <br>Also are you having it tilted forward when you turn it on and not moving it for about 4 seconds. <br>The motors shouldn't be driving at all during this startup procedure. <br>Then you slowly tilt it forward until the motors turn on. <br>At this time the IMU should be upright. <br>When you tilt forward it should drive forward. <br>If it drives backwards then the motors are connect around the wrong way. <br>
is amazing but to be functioning my IMU must be placed approximately at an angle of 45 degrees. I do not understand the reason for this behavior.
It should be held at 45 degrees then the unit turned on! don't move for 4-5 seconds then turn on the kill switch and bring the unit/imu upto a vertical position.<br>Once vertical the motors should turn on and the unit starts balancing.<br>Is it the same IMU as I recommended?<br>
The balance works well only if lifted from the ground, if the support with the wheels on the ground becomes unstable and seems to shake the whole.
Have you tried standing on it? <br>You will find it it tuned to suit the 18Volts we used. <br>It will settle down once stood on. <br>If you want to adjust this there is a power and torque setting at the start of the code. <br>Adjust this by small amounts.
I use 24Volts, it can work???
24volts is fine. We used only 18volts so we had to turn up the power and torque. <br>Stand on the scooter and see if it works! <br>If it is still shakey then change the values of power and torque at the start of the code until you are happy. <br> <br>Let me know if it is not as shakey when you stand on it!!!!!!
ok I'll try, values, power and torque have to lower it or increase it?
Ok change the torque to 4.5 and the power to 0.5<br>that should get it working ok.
WORKS WELL!!!!!!!!!!!!!!! <br>THANKS :)
Great to hear! <br>Remember there is no speed control so when you get to full speed the motors can't keep up and you will fall off the end. <br>Have fun and be safe! <br>
Have you got a video of it running yet?
Nice job!
Thanks :) now I'll have to make it more beautiful, add stickers, light and hide the wires.<br>
Yes some glowing blue LED's underneath. lol.
great idea! When it's finished I'll send you a video :)
Ok I'll try and let you know! Thank you :)
works, but if I support all the engines on the ground tremble and does not work as it should. only works well if suspended from the ground.
Perfect! As soon as I complete it will send you a photo :) I hope I do not have other problems :)
OK! The problem of compilation is solved! <br>As soon as the circuit I'll let you know if it works properly :) <br>Thanks for your interest!
Hi Guys, quick question. <br>I've noticed that in your wiring diagram the killswitch, the L/R steering and tilt adjust are connected between the digital I/O and GND, whereas in XenonJohn's diagram they are wired between digital I/O and +5V (with the digital I/O connected to GND over pull-down resistors). <br> <br>If I do the wiring according to XenonJohn's schema, then the killswitch actually kills when pressed. With your wiring it does not work at all. <br> <br>Kind regards, <br> <br>Franky
Hi, <br>The sabertooth actually supplys 5V to the Arduino no the other way around. <br>This is required. <br> <br>You need to make a decision on who's project you are basing your scooter on. <br>The circuit is different because the code is different. <br>They are not interchangable. Use Johns code/circuit or ours. <br> <br>We don't use resistors because we use the internal resistor built into the Arduino. <br>They are pullup resistors so you switch to ground to turn on. <br>We use the 5Volt regulator built into the saber tooth to power the circuit. <br> <br>We have tried to make the wiring as easy as possible. <br> <br>Hope this helps.
Also, in your schema you supply 5V to the Sabertooth whereas that is not the case in XenonJohn's build. <br> <br>Is it required or not? <br> <br>Anyway thanks for such a great project. Can't wait to get it to work <br> <br>Kind regards, <br> <br>Franky
Hi, <br>Im using 250 Watt, 24 volt DC motors. As per my calculations total current thru each motor would be ~10.8A. <br> <br>So will the 2x 12 Sabertooth be ok, as it is rated for upto 12 Amps and 25 Amps peak current?

About This Instructable




More by ScitechWA:Multi Sega Case Retopie sega case mark 1 Sweeping Ultrasonic Rangefinder Build a Paint Spinner 
Add instructable to: