Self Balancing Scooter Ver 1.0 by ScitechWA
Featured
IMG_0965.jpg
IMG_0966.jpg
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.
http://www.instructables.com/id/Easy-build-self-balancing-skateboardrobotsegway-/

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!

 
Remove these adsRemove these ads by Signing Up

Step 1: Details about the build

IMG_0965.jpg
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.
1-40 of 58Next »
steve-lane says: Feb 25, 2013. 4:49 PM
http://secure.oatleyelectronics.com//product_info.php?cPath=53&products_id=920&osCsid=fa4258edc2cda57456c25411f15f8672

Is this the motor you used in your project?
ScitechWA (author) says: Feb 25, 2013. 6:03 PM
No It was this one. Under wheels and brakes.
http://secure.oatleyelectronics.com//product_info.php?cPath=116&products_id=904&osCsid=fa4258edc2cda57456c25411f15f8672

But if you have the ability for welding etc. get the large wheels and 200w or 300w motors

http://secure.oatleyelectronics.com//product_info.php?cPath=116&products_id=810&osCsid=fa4258edc2cda57456c25411f15f8672

http://secure.oatleyelectronics.com//product_info.php?cPath=53&products_id=975&osCsid=fa4258edc2cda57456c25411f15f8672

put a spot of weld on the ratchet mechansm.
bnur cahyono says: Feb 4, 2013. 9:45 AM
hello
can it self balancing when no people above it?
thanks
ScitechWA (author) says: Dec 2, 2012. 5:24 PM
About $300-350 AUD but that matters where you live.
baot says: Nov 30, 2012. 12:16 AM
how much $$$$$$$$$$$$$$
fvandier says: Nov 1, 2012. 2:26 PM
Hi Guys, quick question.
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).

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.

Kind regards,

Franky
ScitechWA (author) says: Nov 1, 2012. 4:27 PM
Hi,
The sabertooth actually supplys 5V to the Arduino no the other way around.
This is required.

You need to make a decision on who's project you are basing your scooter on.
The circuit is different because the code is different.
They are not interchangable. Use Johns code/circuit or ours.

We don't use resistors because we use the internal resistor built into the Arduino.
They are pullup resistors so you switch to ground to turn on.
We use the 5Volt regulator built into the saber tooth to power the circuit.

We have tried to make the wiring as easy as possible.

Hope this helps.
fvandier says: Nov 1, 2012. 2:29 PM
Also, in your schema you supply 5V to the Sabertooth whereas that is not the case in XenonJohn's build.

Is it required or not?

Anyway thanks for such a great project. Can't wait to get it to work

Kind regards,

Franky
peraz91 says: Sep 27, 2012. 4:50 AM
I forgot that when compiling arduino tells me:
the keyword "BYTE" is not supported, instead use "Serial.write ()". How do I change it?
ScitechWA (author) says: Sep 27, 2012. 4:17 PM
You need to download the older 0023 version of Arduino software.
The software won't compile with version 1.0 or later.
They changed the serial commands.

This should work fine.
You have seen this one too?
http://www.instructables.com/id/Self-Balancing-Scooter-Ver-20/
Same unit just more plastic.
peraz91 says: Sep 29, 2012. 3:52 AM
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.
ScitechWA (author) says: Oct 1, 2012. 5:33 PM
Hi,
The IMU should be on an angle to start, Then you bring it upright for them to turn on the motors.
But when you first turn on the circuit you must not move the IMU for at least 4 seconds for it to calibrate.
If you do then you will get strange angles etc.

Rod
peraz91 says: Oct 2, 2012. 1:52 AM
Okay, so I'll try this way. To make my self balance the Deadmen is always pressed, otherwise the engines are not running.
ScitechWA (author) says: Oct 2, 2012. 4:20 PM
Hi,
That's right. That is how the deadman switch works.
If you release it the unit will stop. Usually it is on the foot platform.
So if you fall off it will stop.
peraz91 says: Oct 21, 2012. 3:54 AM
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
ScitechWA (author) says: Oct 21, 2012. 4:35 PM
Best to keep them away from the motors, just to be sure.
So what exactly is the issue your having?
peraz91 says: Oct 22, 2012. 2:16 AM
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.
I use:
Arduino;
Sabertooth Dual 25A;
180W 24V motors;
12V batteries.
ScitechWA (author) says: Oct 22, 2012. 4:23 PM
Check the orientation of the IMU.
It should be mounted upright and tighly fixed.
The screw holes should be down the bottom and the back of the circuit board towards the front.
Check the driving when off ground.
If you tilt forward then it should drive forward.

Also are you having it tilted forward when you turn it on and not moving it for about 4 seconds.
The motors shouldn't be driving at all during this startup procedure.
Then you slowly tilt it forward until the motors turn on.
At this time the IMU should be upright.
When you tilt forward it should drive forward.
If it drives backwards then the motors are connect around the wrong way.
peraz91 says: Oct 23, 2012. 4:05 AM
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.
peraz91 says: Oct 27, 2012. 11:32 AM
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.
ScitechWA (author) says: Oct 26, 2012. 5:09 PM
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.
Once vertical the motors should turn on and the unit starts balancing.
Is it the same IMU as I recommended?
peraz91 says: Oct 29, 2012. 2:24 AM
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.
ScitechWA (author) says: Oct 29, 2012. 4:43 PM
Have you tried standing on it?
You will find it it tuned to suit the 18Volts we used.
It will settle down once stood on.
If you want to adjust this there is a power and torque setting at the start of the code.
Adjust this by small amounts.
peraz91 says: Oct 29, 2012. 5:18 PM
I use 24Volts, it can work???
ScitechWA (author) says: Oct 29, 2012. 6:22 PM
24volts is fine. We used only 18volts so we had to turn up the power and torque.
Stand on the scooter and see if it works!
If it is still shakey then change the values of power and torque at the start of the code until you are happy.

Let me know if it is not as shakey when you stand on it!!!!!!
peraz91 says: Oct 30, 2012. 1:55 AM
ok I'll try, values, power and torque have to lower it or increase it?
ScitechWA (author) says: Oct 30, 2012. 4:20 PM
Ok change the torque to 4.5 and the power to 0.5
that should get it working ok.
peraz91 says: Nov 3, 2012. 7:36 AM
HER IT IS!
my way!.jpg
peraz91 says: Nov 3, 2012. 7:35 AM
WORKS WELL!!!!!!!!!!!!!!!
THANKS :)
ScitechWA (author) says: Nov 3, 2012. 11:58 PM
Great to hear!
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.
Have fun and be safe!
ScitechWA (author) says: Nov 8, 2012. 3:16 PM
Have you got a video of it running yet?
peraz91 says: Nov 20, 2012. 7:23 AM
http://www.youtube.com/watch?v=8MyEO6LqDs8&feature=plcp
ScitechWA (author) says: Nov 20, 2012. 3:24 PM
Nice job!
peraz91 says: Nov 21, 2012. 1:13 AM
Thanks :) now I'll have to make it more beautiful, add stickers, light and hide the wires.
ScitechWA (author) says: Nov 21, 2012. 3:13 PM
Yes some glowing blue LED's underneath. lol.
peraz91 says: Nov 22, 2012. 1:08 AM
great idea! When it's finished I'll send you a video :)
peraz91 says: Oct 31, 2012. 10:02 AM
Ok I'll try and let you know! Thank you :)
peraz91 says: Oct 3, 2012. 3:56 AM
Perfect! As soon as I complete it will send you a photo :) I hope I do not have other problems :)
peraz91 says: Sep 28, 2012. 4:05 AM
OK! The problem of compilation is solved!
As soon as the circuit I'll let you know if it works properly :)
Thanks for your interest!
dazer_r says: Oct 6, 2012. 8:16 AM
Hi,
Im using 250 Watt, 24 volt DC motors. As per my calculations total current thru each motor would be ~10.8A.

So will the 2x 12 Sabertooth be ok, as it is rated for upto 12 Amps and 25 Amps peak current?
1-40 of 58Next »
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!