Easy Build Self Balancing Skateboardrobotsegway
Easy Build Self Balancing Skateboardrobotsegway
Table of Contents
step 1: Parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
step 6: Frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
http://www.instructables.com/id/Easy-build-self-balancing-skateboardrobotsegway-/
step 33: Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Advertisements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
http://www.instructables.com/id/Easy-build-self-balancing-skateboardrobotsegway-/
License: Attribution Non-commercial Share Alike (by-nc-sa)
Why? : I took my self-balancing skateboard to a recent Maker Faire, March 2010 Newcastle UK, (see video 1 below ) and was inundated by people of all ages wanting a
ride and teenagers wanting guidance on how to build one. I have been working on these for a couple of years now. I built a one wheeler first which took me 3 months to
get to balance (badly) then a lighter no holds barred twin wheeler steered by a wireless Wii Nunchuck - my current machine. That machine was very expensive and not
easy to construct. I was seeing how far I could push the concept (and I still am).
My long term goal is to make something like a real practical "i-slide" (which was a design concept only - "hydrogen fuel cell powered" - yeah, right).
www.engadget.com/2007/09/19/islide-the-skateboard-segway-hybrid/
I envisage something you can ride a round a campus on, then pick up with one hand and take indoors. Therefore has to have wheels and motors not too large, and be
light enough to pick up!That in turn is why I wanted the top deck flat ideally, so you can carry it easily at your side with a handle. I am getting towards that goal in small
increments.
This instructable : The plan with this instructable however is to pare everything down to basics to see how simple and low cost I can make this tech, rendering it less
scary as a build proposition, yet still capable of carrying an adult. Hopefully a community of builders will emerge. How about a builders forum anyone?
Watch video 2 below then carry on through the instructable.
How costly is "low cost"? These obviously cost more than a few pounds and can run into the thousands. The parts for this, all new, however come to <£300 plus
whatever batteries you choose to power it. As with many electric scooters, get going with lead-acid then spend money on more exotic batteries later.
It would be great to see younger people having a go at building these. This is exactly why I have developed this lower cost version. You don't what your father
to have a heart attack as soon as you ask him for the money for this "educational" project.
Easy build? Clearly this is not something for the complete beginner but as self balancing ride-on projects go, this is about as simple as it is realistically ever going to get.
Arduino microcontroller this time too. I have tried to describe every single step with no gaps, so yes there are lot of photos but that is a good thing if you are serious
about building one.
No welding either just hardware store nuts bolts and brackets.
Code is very well commented. Message me if you want a copy of the sketch, or....
Total £273 including purchase tax which I think is pretty good for any self balancing vehicle. Batteries would take you over my £300 target but not by much. Also
compares well with cost of conventional 4 wheeled (one motor on one of back wheels) electric skateboards.
UK pound weak at present £1 = approx US$1.5 right now. Sparkfun and Razor scooters are US based, which suggests that you could do this at even lower cost in the
US.
Also Segways are legal on sidewalks in US (at least in some states) as far as I know, so maybe you could openly ride around on a seg-skateboard unlike here in UK.
KITS: I am being sent messages regarding kits. All I can say is, if some entrepreneurial type wants to message me then feel free to do so. This for me is a hobby, I have
a proper job too. However I have started up small companies in past. Open mind on the subject. It is genuinely highly educational - has been for me anyway!
Also, if considering a monowheel variant take at look at the "enicycle" unicycle for some real inspiration and check out the amazing steering mechanism geometry:
www.youtube.com/watch
http://www.instructables.com/id/Easy-build-self-balancing-skateboardrobotsegway-/
step 1: Parts
Here are the parts laid out on floor
http://www.instructables.com/id/Easy-build-self-balancing-skateboardrobotsegway-/
step 2: Scooter wheel as it comes
Razor scooter E100 chain driven back wheel.
This is great as it fits under board, has axle and bearings all with it, sprocket is ready fitted.
Reduces your work considerably.
There is a threaded rod running through entire wheel. There is a tubular sleeve each side, one is short and one is long. The nuts each end clamp tubes to bearing in
wheel so everything locks up tight (bearing can still spin though).
http://www.instructables.com/id/Easy-build-self-balancing-skateboardrobotsegway-/
step 4: Dismantle each wheel assembly
Wheel is dismantled and reassembled so the long metal tube is on the other side to the one it was originally and the short one is swapped over too. This will allow wheel
to be on outside of vehicle with sprocket on inner edge of wheel.
step 6: Frame
Frame cannot be simpler. Everything will bolt to a 24cm width slab of 2cm thick marine-ply. Anything will do so long as not flexible otherwise tension of drive chains will
vary in use.
http://www.instructables.com/id/Easy-build-self-balancing-skateboardrobotsegway-/
step 7: Axle brackets
Brackets to hold the axles cannot be simpler either, steel angle brackets from a large hardware store.
http://www.instructables.com/id/Easy-build-self-balancing-skateboardrobotsegway-/
step 9: Fitting axle
Axle has to be fitted with one of the large washers in this position else there is not enough thread free for the end nuts to tighten everything up solid against the short and
long tubes that run over the axle.
Then, and only then, mark the amount of overlap of the L shaped brackets underneath the wheel where they will bolt to the deck.
Clamp them together and drill the holes through both layers that will be used to bolt them to the wooden deck. I just used a pair of locking adjustable pliers. I also left the
axle bolted in place while I drilled the holes (from underneath). Make sure the drill does not suddenly go through and drill a hole in the side of the polyurethane wheel! My
baseplate holes are located so the drill bit tip missed the wheel when I made these holes!
This way everything then bolts up straight and true with no headaches!
http://www.instructables.com/id/Easy-build-self-balancing-skateboardrobotsegway-/
step 10: Axle mounts
If one of the angle brackets is resting on top of the other, remember to drill the end holes for the axles to take account of this fact! In the end I drilled the holes off to one
side as you will see in subsequent photos.
You could try 300 watt ones (that look almost the same). Just make sure they are the same as each other.
http://www.instructables.com/id/Easy-build-self-balancing-skateboardrobotsegway-/
step 13: Alternative layout
I am going to describe simplest layout.
However here is an alternative layout which might be OK for a skateboard and which would mean the batteries will fit under the deck while motors go on top - you would
have to make a feature of them though. Chains run vertically. Has a certain symmetry. The "Emanual" board used this layout.
http://www.instructables.com/id/Easy-build-self-balancing-skateboardrobotsegway-/
step 14: Chain
Chain is ASA 25-1 chain
I bought 2m of it from "Bearing Boys" UK. Also on rght is connecting link for when you shorten it.
Tempting to make the motor bolt holes slotted then slide motors forward and back until tension just right. I avoided this as on a previous project the motor was so
powerful it just pulled itself along the slot so chain went loose.
If you can I would measure, measure again, then drill (circular) bolt holes for the motors only after great care taken.
I suggest: Locate motors in exact position to get just a little bit of slack on the chain. Get a pencil and sharpener and sharpen it until it is just a stub about 1 inch long.
Carefully poke it through the 4 bolt holes in baseplate of the motor, without moving the motor, and mark on the wooden base where to drill the holes.
http://www.instructables.com/id/Easy-build-self-balancing-skateboardrobotsegway-/
step 16: Chain tension
Here is a chain that is slightly too loose. It is important to get this right.
There is a way to take up a small amount of slack like this:
The other is used to allow machine to resist sudden changes in direction (one wheel hitting a pebble for example) so it does not spin you off. This is easier and more
reliable possibly than using wheel speed encoders which is the other way to do this.
I like ribbon cable as it is neat. I also use blu-tack when doing this sort of soldering as it holds wire in exactly the right spot as well as holding the little circuit board still.
http://www.instructables.com/id/Easy-build-self-balancing-skateboardrobotsegway-/
step 19: Arduino board
Arduino microcontroller used.
My previous machines used robotics AVR boards but the Arduino is cheap, has huge active forums if you get stuck, books on how to get started and is easy to program
and load software onto via a USB lead.
Past versions of the code and how it has developed can be seen on my website of past self-balancing projects:
http://sites.google.com/site/onewheeledselfbalancing/
This diagram comes out small so I have enlarged sections of it on next 2 pages.
http://www.instructables.com/id/Easy-build-self-balancing-skateboardrobotsegway-/
step 21: Wiring arduino 2
Here is the wiring of the right hand side of the Arduino (mainly digital inputs).
digital inputs:
digital output:
Pin 8: Pulses to oscilloscope, one per loop of program, allows me to measure the cycle time of the program which we need to know to do some of the maths for tilt angle.
You dont need to worry about this. The cycle time is 5.55milliseconds per cycle and this won't change much unless you modify my software a lot.
http://www.instructables.com/id/Easy-build-self-balancing-skateboardrobotsegway-/
step 22: Arduino wiring part 2
More on wiring up the Arduino pins.
You need a newish Arduino with the 3.3V output pin on it as the IMU runs off this at 3.3V.
http://www.instructables.com/id/Easy-build-self-balancing-skateboardrobotsegway-/
step 23: Arduino wiring part 3
Detail on the connections I have used to the Arduino board.
a) Nice and safe - I fried a £100 gyro once connecting it to one of the 12V batteries (the wrong one)
b) You can debug the software without the main motor controller being powered up.
c) Cheap.
Accelerometer used because will give accurate data on which way is upright (direction of gravity). However it is very sensitive to vibration and we have a lot of that over
anything other than smooth flooring.
Gyro gives instant real time data on rate of rotation (i.e. rate of tipping over of our machine), is insensitive to vibration BUT drifts slowly with time.
If you wire up the IMU as I have in the photos then the diagrams on the right will hold true.
The IMU is interesting as the gyros each have 2 output pins with a varying voltage on each. One is relatively insensitive but works up to a rotational speed of 500 degrees
per second. The second is more sensitive and works over a range up to 110 degrees per second. The arduino software is therefore written to read the insensive one
when tipping fast, but switch to the other higher resolution one when tilting more slowly.
The "complimentary filter" uses best bits of each: the gyro is used to measure very short term changes in tilt and the accelerometer readings are averaged over time to
give a stable value of which way is "up." This is then used to correct the drift of the gyro.
http://www.instructables.com/id/Easy-build-self-balancing-skateboardrobotsegway-/
If you read around this on the net it is called PID tuning. There is also a very complicated way of doing the maths called a Kalman filter. However an engineer told me that
ths is only optimal when you know the control inputs as well (as in an aircraft). In this case the "skateboard" is dumbly just trying to stay upright, it does not know if I am
leaning more on one end or the other or how flexible my joints are etc. Therefore he told me the complimentary filter is actually the more appropriate technique to use.
I am not an engineer so I am sure there are some out there who will expand on this or correct me if I am wrong.
Anyway, bottom line is that the complimentary filter works fine. Also, no matter how much modelling people do they all seem to in the end have to fine tune their devices
by hand (there are links to many other segway type projects on my website).
The ones I have are 250 Watt 13.7 Amp peak (that is what it says on them). Watts = Amps x Volts and I have 24 Volts so that makes 10.4 Amps using that calculation.
Anyhow, well within limits of the Sabertooth.
Also it has to be able to handle a lot of power as if falling over, motors have to be big enough to allow machine to accelerate fast to bring itself beneath you once again.
Therefore unless you really know what you are doing, designing your own is out of the question.
The sabertooth can handle many types of misuse but you mustn't connect the batteries to it back to front!
The Arduino can send control data to it in several ways but I have chosen a mode called simplified serial mode. The Sabertooth website has a lot of downloadable
information on all this.
http://www.instructables.com/id/Easy-build-self-balancing-skateboardrobotsegway-/
step 27: Sabertooth
The Sabertooth is configured for data streams of various types and various battery types, using a set of dip switches.
The configuration you need for simplified serial, 9600 baud rate, and lead acid batteries is shown here. All this is also available for download from their websiite.
The main power switch is in the middle and essentially "joins them together."
Diagram below.
Again, make sure power leads go into the Sabertooth the correct way around.
This has a dead-man switch (cuts motors if you let go i.e. fall off)
Also has steering left and steering right plus a switch to fine-tune the balance point of the platform.
http://www.instructables.com/id/Easy-build-self-balancing-skateboardrobotsegway-/
step 30: Hand Controller
Here is a view of handcontroller internals in a small plastic box.
I used 2 cable ties to locate the end of the cable so it cannot easily be ripped out of the end of the box. Cheap and simple.
http://www.instructables.com/id/Easy-build-self-balancing-skateboardrobotsegway-/
step 32: Handcontroller input wiring to Arduino
Arduino analog inputs all used apart from one for balancing etc.
All handcontroller inputs go in through the digital input pins on other side of the Arduino board.
The cable is fixed to the deck using simple cable ties again so the wires are not stressed where they are soldered to Arduino input pins. The cable itself is screened cable
with 6 or more wires inside it.
You can also see the 10K potentiometer used to control the "overall gain" function. This allows simple user adjustment of the machine between feeling "squishy" and
"tight" as you ride it.
Have fun!
My soldering looks great to the naked eye but horrible when zoomed in like this!
http://www.instructables.com/id/Easy-build-self-balancing-skateboardrobotsegway-/
step 34: Testing
I fixed the IMU with blu tack to start with as you always end up with it back to front or the wrong way around!
When you get it working then fix it properly. Protect it from debris from the wheels and keep it near to centre of the deck by the way - it works best there.
http://www.instructables.com/id/Easy-build-self-balancing-skateboardrobotsegway-/
step 35: Anti-tamper power cutoff key
One last thing. At recent maker faire I left my monowheel on a table while I went for a look around.
When I came back there was a small child playing at one end of the table while ??his father was flicking the on/off switch and pressing every button on the hand controller
trying to make it "go" - while it was tilted to one side.
Luckily for him the batteries were flat and it wasn't working properly.
If he had been successful, this heavyweight hunk of metal would have thought it was tipping hard over and would have hurled itself at the child with the full 500W motor
power. No doubt I would have been blamed.
If you plan to take your creation anywhere public like an exhibition, and leave it for any period of time, I suggest you fit some sort of disabling device like an ignition switch
and high current relay (from car spares shop) perhaps, or easiest would be one of these which is a race/rally car emergency battery cut off switch with a key you can
remove and carry with you. It will easily handle the high current and adds very little weight.
Total £273 including purchase tax which I think is pretty good for any self balancing vehicle. Batteries would take you over my £300 target but not by much. Also
compares well with cost of conventional 4 wheeled (one motor on one of back wheels) electric skateboards.
UK pound weak at present and Sparkfun and Razor scooters are US based, which suggests that you could do this at even lower cost in the US.
Might possibly be worth trying to buy a used Razor E100 electric toy scooter as this would give you one rear wheel unit, one motor (but might be too small), some
batteries to get started with and a charger, then buy the rest as above.
http://www.instructables.com/id/Easy-build-self-balancing-skateboardrobotsegway-/
Related Instructables
Advertisements
Comments
50 comments Add Comment view all 53 comments
500Watts of combined motor should push you along pretty fast on the level if you have courage enough. My 2 wheeler seems to peak at about 10mph at
the moment but that may be software related (always need some power in reserve in case you are tipping forward at speed so it can speed up some
more to correct it). Monowheel has a buzzer warning you when at 75% of max power to motors (have never been brave enough to make it go off).
Distance: Segways, electric scooters, go-peds etc all banned from public sidewalks in UK. Will actually be stopped by police. Private land only i.e. my
front driveway in early videos (which slopes).
Makerfaire video was first time I had big space to ride it round (a large marquee and an indoor exhibition centre). Also rode around large open square
(not filmed).
UK much smaller, built up and densely populated than US!
Maybe should take it to the Netherlands: big, flat, open, everyone cycles, segways legal. Someone there may build one by the look of it.
The advantage of these are actually low speed control: I could ride it between all the visitors at any speed down to completely stationary (but still
balanced) also able to turn round while stationary. The visitors didn't have to jump out of the way when they saw me coming.
John
Maybe a better question is, would I want to use this for a short commute, where I would be walking otherwise. All the videos seem to be using it in a
fairly confined space. That would make this a novelty item. If you could use it for a short commute, or while bar hopping that extends it to something
that is generally useful and awesome.
As someone who has never been on a device like this its somewhat important for a frame of reference. I've biked distances, and I tend to go
http://www.instructables.com/id/Easy-build-self-balancing-skateboardrobotsegway-/
between 10-15 mph.
and i love it, altho i dont know what that aurd... thing is, i have seen it in loads of insturcibles
John
Work through that (wouldn't take that long) then start looking at examples of code on the forums.
Don't need to solder to get that far just use the breadboard and jump wires.
I think for projects generally though it would be worth learning to solder. It's a bit like how you learn to weld (get some old steel and just start
having a go) but a lot easier - just get some old components and boards and start having a go!
Maybe start by trying to make up one of those small electronic project kits where everything is in the kit.
John
Could put motors on top and batteries underneath, see page 13, that would give you a machine with loads of visible moving parts.
Also, I spent so much time dismantling an e-bike battery and arranging the cells flat in the deck of my own twin wheel board that I did make the underside
of clear polycarbonate.
Here:
sites.google.com/site/onewheeledselfbalancing/Home/2010-twin-wheeler-rebuild
Also I can then see if anything is melting when I am charging it!
Unfortunately as the cells are pink it looks like rows of sausages.
http://www.instructables.com/id/Easy-build-self-balancing-skateboardrobotsegway-/
godofal says: Mar 25, 2010. 5:58 AM REPLY
this looks pretty interesting, and im thinking of building one, but i could use some more specs on the parts, especially the battery, the motors and the wheels
that you used.
maybe im talking really dumb atm, i havent exactly looked at the prices, but i cant imagine that a loose chip, some components and a piece of protoboard
is more expensive than a full arduino...
There were 2 aims, low cost but also relatively easy buildability (no welding for frame for example).
I am using a standard Arduino board just to make the microcontroller part as simple as possible to build and program.
Go to spares section and find an "E100 rear wheel assembly" this gives you entire wheel, with sprocket fitted, bearings, and axle all assembled for you.
Among all the rubbish, some motors that look exactly like the ones I have used will come up. They just vary in maximum Wattage rating up to about
500W. They have a small sprocket already fitted.
One or two old stock smaller ones have toothed belt drive wheel fitted - you do not want one of those. Check the image before you order and check there
is a chain sprocket on the motor spindle.
I dont want to really post links to any specific sites but google will find them for you.
John
NOTE: Don't put 24V into Arduino board - the smoke will come out. This is why in mine I gave it its own 9V battery.
Car batteries would be fine for playing about but way too big for finished vehicle.
Electronics shops like Maplin just have them in stock all the time, as do robot websites if nowhere local has something you can use.
ive been looking at the razor site, but they dont ship to the netherlands as far as i could tell...
as for the motors, i can find alot of 24V 250W motors that look like the ones that you used, and the price is about the same, but shipping is about the
same price as the motor itself, did you have this also?
as for the battery, how long do you last with those 7 amp/hour?
i can find alot of 12V lead-acid batterys, so that shouldnt be a big problem...
www.skatehut.co.uk/acatalog/Razor_replacement_whees.html
They may not ship from US, but you may be more lucky with an EU distributor like this regarding shipping to Netherlands.
Motors are strange. 2 years ago there were masses of them on ebay. Now far fewer. Not sure why. Again if you are desperate, the scooter shops
themselves sell them of course.
NOTE: the “proper” motor for the Razer E100 is actually quite small. You need motor designed for a bigger scooter (if you are trying to get it
from a scooter shop spares dept, around 250Watt or more I would say).
http://www.instructables.com/id/Easy-build-self-balancing-skateboardrobotsegway-/
godofal says: Mar 25, 2010. 11:47 AM REPLY
one more question, how do you charge those batterys?
One question. I have two lead acid battries that are for a lawn tractor. They're not as big as full car batteries, but a bit bigger than the ones you show here.
The question is, would they have enough juice to do things like climb hills? I'm using big knobby tires so I would like it to be able to handle grass etc. Do you
think these motors with lead acid batteries would hack it?
For a big machine going up hills the bulletproof way is to use two OSMC controllers. These can take huge currents, but cost a lot more than Sabertooth
as you need two of them. The Sabertooth is described as being for "medium sized robots" You need something that will run uphill with maybe 100-120kg
total all up weight.
This is where the costs and the size of the machine start going up. Really big motor controllers are not cheap.
Take a look at this website for example. It is a segway clone called the "Meta" by Geoff Bennett with biggish lead acids and two OSMC's. It illustrates
these points.
www.netcraft.com.au/geoffrey/meta/
£273 plus batteries, a few cheap switches and a some thick wire.
John
Cheers,
Mspark400
http://www.instructables.com/id/Easy-build-self-balancing-skateboardrobotsegway-/
XenonJohn says: Mar 22, 2010. 3:18 PM REPLY
Well spotted error of mine!
I have changed page 26 describing the Sabertooth. I said 2x25Watts when of course I should have said it can handle 2x25 AMPS (40 peak) per channel
(forward or reverse).
This is a Sabertooth 2 x 25Amp (40Amp peak) robot motor controller for medium sized robots with 2 motors.
The motors I have are 250 Watt 13.7 Amp peak (that is what it says on them). Watts = Amps x Volts and I have 24 Volts so that makes 10.4 Amps using
that calculation. Anyhow, well within limits of the Sabertooth. Could actually go up another motor size.
My one wheeler has an OSMC and a golf cart motor rated at 500W but it is a real beast of a motor. It will easily get up a modest slope. Have not tried it
on steep uphill as don't want to risk burning out the OSMC (although you probably wouldn't).
On the Emanual 2 website he had 2 hub motors from ebikes and measured just a couple of Amps being drawn when going along a level pavement.
Re batteries: My really nice twin wheeler has LiFePO4 batteries from an ebike (good for 20 miles plus) dismantled and laid out flat within the deck.
Entire deck is actually a battery. This was a seriously expensive battery, even from Hong Kong supplier, and it ran all day long at maker faire and charge
status LED bar was still saying full charge. Lead acids however do have an advantage that they can throw out a very high current for a short time - useful
in this sort of project if you are about to fall off as motor wants to boot up very fast to prevent this happening.
With this project I have really seriously honed in on bringing down the cost. If someone is unsure of they will get it to balance - a reasonable concern,
they don't want to spend a fortune straight away. Once you can get it to balance, you then have the confidence to blow a load of money on a clever
battery, I agree. Could have bigger wheels, bigger motors, sure.
Combat robot builders point out that best way to burn out a motor controller is go go for full power while motor i.e. wheel is jammed stationary for some
reason. However, the Sabertooth has an overload cutout that should save it from burning up in this way.
PS I am really amazed, I am getting about 200hits an hour right now. It must level off soon. Can only be so many people out there into this niche subject.
Lock two wheels with pneumatic tyres to one single axle, driven by one sprocket (so both wheels driven together).
So long as tyres not inflated rock hard, then leaning to one side will compress one tyre more (reducing effective diameter of that wheel) and skateboard
will gently turn.
John
If you have a great sense of balance, you might get away with a smaller wheel in terms of width. I played it safe with widest wheel I could find!
Also, the higher the deck off the ground, the easier it will tip you off sideways if one side of wheel goes over a pebble for example.
In terms of fore-aft self balancing (controlled by the motor), you could make machine as tall as you like - use a ladder if you want and sit on top! It
might even work better.
Just remember with a monowheel, a lower centre of gravity makes it much easier to ride and steer (by tilting left or right) in terms of falling off sideways.
This is why I rebuilt my monowheel with deck lower to the ground. I found out this the hard way.
John
http://www.instructables.com/id/Easy-build-self-balancing-skateboardrobotsegway-/
everywhere says: Mar 25, 2010. 2:57 PM REPLY
thanks i just have an old e200 in my garage and wanted to convert it
John
To further reduce cost, have you considered using a wii motion plus and nunchuck for the IMU? Would you need a second serial port on the arduino?
Alternately, although I'm not sure if it'll work as well, cheaper IMUs can be found that are 1/3 less the price than sparkfun:
www.gadgetgangster.com/find-a-project/56.html
The more powerful motors of the otherwise same design on ebay seem to have 16 teeth.
If there are cheaper IMU's I would go for it. Take some photos as you go along for the rest of us!
If you go on Arduino forums there is an ongoing discussion concerning the Wii Motion Plus module. Basically there IS now an arduino hack that will read
data from the Wii Motion Plus unit. NOTE: This has gyros in it only as it is designed to augment the accelerometers already in the Wii-Mote handset.
Nobody has yet managed to read both the 3 axis accel data from WiiMote as well as the 3 axis gyro data from the wiiMotionPlus (only a matter of time
though)
However there IS an arduino hack for the WiiNunchuck and that WILL read the 3 axis accel data from those within the chuck.
If you can combine the code to read a WiiMotioPlus with code to read the Wii Nunchuck accelerometers this would give you all the data you need to
control a self balancer - in all 3 axes.
This would be a great programming challenge for someone much better at it than I am.
Best wishes
John
http://www.instructables.com/id/Easy-build-self-balancing-skateboardrobotsegway-/
grunff says: Mar 23, 2010. 1:51 PM REPLY
Wow, what a fantastic write-up! Thank you very much John for putting all that effort into documenting it so well. I've long admired your original board (with
the gokart wheel). You've made this an easy weekend project, so I'm off to buy some parts :-)
I live in a city that is more or less a big hill, I want to ensure that this is powerful enough to travel up hills.
Someone may help you here. Should be able to calculate how many watts power needed to get say a total of 100kg up a 1 in 10 slope for example. Then
work out motor requirements, take account of gearing between the small and large chain sprockets, and motor controller requirements from that.
My one wheeler went up hills, in early videos (on YouTube) you can see a huge sprocket on wheel and tiny one on motor (500Watt with hefty OSMC
combat robot power controller).
Not sure if this smaller one will go up hills. Have not tried. However, the motors I have used can be found on ebay up to 500 Watts each (but they usually
have a larger 16 tooth sprocket on them - which would also make it faster on the level of course).
Also this is why you can adjust the balance point: otherwise to go up a hill you would tip nose down and it would hit the hill. So now you adjust until nose
up position with balance point adjust switch, then tip nose down (i.e. back to level position) to get up a slope.
Also link to the sketch is now on first page of the instructable.
Best wishes
John
Thanks, this is a great project that I am going to get a bunch of kids in our neighbourhood to build.
I've always wanted one of these. I think i'd be tempted to go for a one wheeled option and save on the motor but rely on more skateboard lean style turns.
I think the cool factor is pretty important on these boards, its something the segway missed.
I may use a carbon sheet for top of my deck just for cool factor. Also plan to improve turning software so the gyro that stops sudden spins is actually
used to control the rate of turn proportionally to thumb joystick deviation. Should make turns more intuitive so you can lean into them.
John
http://www.instructables.com/id/Easy-build-self-balancing-skateboardrobotsegway-/