Building A Homebrew Robotic Lawnmower? 486
mmonkey writes "With the seemingly small amount of summer we get here in the UK, the last thing I want to be doing on a sunny day is mow the lawn. So I started thinking "surely a light-ish lawnmower could 'gain' a couple of motors, and suddenly be computer-controlled?". Then I started thinking about stuff like obstacle avoidance, optimum path planning, guidance system, how to get pretty-looking stripes, and I realised that it's actually a potentially complex (read: fun) thing to do. So, have any Slashdotters done this before? Did you modify an existing lawnmower or build a whole new one from scratch? What motors work best? For that matter, what type of mower works best? I know you can already get these, but that detracts from both my geek-drive and my wallet, both of which I'd prefer to keep as full as possible."
Just for you? (Score:3, Interesting)
If you know what objects are fixed,such as pathways, bird feeders, what-not, you could build the controller from one of those old dump trucks from the 80's that let you pre-program a course by feet and angle of turn, etc. All you need to add is a bar attached to a kill switch for when the neighbors cat/kid/dog runs over to check it out.
Roomba + Mower (Score:3, Interesting)
Well.. (Score:5, Interesting)
that detracts from both my geek-drive and my wallet, both of which I'd prefer to keep as full as possible."
Well, I think your wallet's going to be drained either way. You need specialized components, software, etc for a completely automated solution. And even that's not going to be the end-all (corners, adjacent to fences, etc)
I would say start with a remote-controlled (as opposed to computer-controlled; mods, there is a difference) solution, see if you can rip apart some RC Cars [rc-car.com], take their steering equipment out, see if you can interface to them using a RC Helicopter Remote [heliguy.com] or RC Airplane Remotes [rc-airplane-world.com], connect up the servos, and perhaps sprinkle some detectors [hobbytron.net] around your lawn.
Computer controlled would be difficult, to say the least. Perhaps even a Masters level thesis or a really good undergraduate senior project. Hell, if you can make it fairly cheap and efficient, you have your own business.
Re:Uhhhh (Score:5, Interesting)
But if you mowed the grass yourself, one time, and then let loose your robot to simply maintain the height with a low power electric motor and some relatively safe blades, etc.... After all, it can stay out there all damn day!
Re:How About.... (Score:5, Interesting)
Re:Uhhhh (Score:5, Interesting)
Re:Uhhhh (Score:5, Interesting)
1. A _safe_ mowing method as you describe
2. The position measurement could be done with (ultra)sonic sensors and a transmitter on the mower. Doesn't work if you have to change garden often.
3. A power and communication cable. Can be cheap because of low power requirements because of 1.
4. A tower from where the cable goes to the mower and a mechanism to ensure that the cable doesn't get in the way.
Of course there is no obstacle avoidance etc., but I would start such a project in a modest size, not with all the 1000 features which _could_ be implemented!
As I'm doing such things also (Homemade microcontroller applications are everywhere in my home), I would say that it is far better to have a little thing working than big plans for a big thing but get nothing implemented.
Don't build One Big Machine (Score:4, Interesting)
Good luck - I'd love to see this when you're done!
My advice (Score:3, Interesting)
First, build the logic. Take an RC car and use it as a lawnmower simulator. Connect your steering/avoidance circuitry to the car and see if the car acts like you want a lawnmower to.
Lego Mindstorms? (Score:5, Interesting)
Then, if you want to do more complex things - IR rangefinding, ultrasonics etc. strap a PalmPilot, Zaurus or some other PDS with IR on it and feed the midstorms controller unit with instructions from that.
Once you have it more-or-less foolproof (and you will probably want to run a wire round the maximum extents of your lawn and have a hall-effect or similar sensor pick up on it and kill the mower if it breaches that boundary) - then you can think about attaching a proper mower body and blade to it.
Then you'll probably want to port the whole thing to an embedded Linux u-Controller, and sell it for enormous profits.
Re:Well.. (Score:3, Interesting)
That said, oversized radio controlled car servos can become the basis of your control mechanism - but there's no point in ripping up a radio-controlled car. The best thing to do is to get a self-propelled mower and a three channel radio and rig the thing up with some sort of system to make it drive in both forward and reverse. This could probably be done with a planetary gear arrangement, some sort of clutches, and a servo to flop it back and forth. Some (most?) self-propelled mowers are powered by a shaft which sticks upright, along the same axis as that of the motor, so designing something to fit on there should be fairly simple. However, I suggest something beefier than just connecting a servo to a linkage with a horn for your steering, perhaps rack and pinion. It's a big steering job even for an oversized servo.
Throttle control, of course, can be handled by any dinky little servo, if you just remove the return spring.
You can probably get an adequate ground-use-only radio system with three servos for a hundred dollars or less, but what you really want is to buy a three channel transmitter, a compatible receiver that will conveniently run off whatever power source you will choose to use (they would usually prefer to have five to six volts) and then go buy servos that fit your application. You'll probably end up dropping a couple hundred bucks on this stuff. And then you get to design the hardware to make the thing turn! Truly your cup runneth over.
Ask the USAF (Score:3, Interesting)
Use a weed whacker. (Score:3, Interesting)
Simulated Prototype as a 4th year project (Score:3, Interesting)
I made a simulated prototype of a fast/simple algorithm, which was 100x (IIRC) faster than random wandering in my tests. A bit of information is here [bu.edu].
It requires that the robot know its position rather accurately, but if it's a hobby you could use differential GPS (which would add too much to the cost of a low-end commercial robot). You might look into localisation via wifi [usc.edu].
Re:Search the library (Score:3, Interesting)
Simple, effective, and does 80% of the job without any complex computer crap. You can do the last 20% yourself.
Re:Good Idea, But No. (Score:2, Interesting)
Re:Uhhhh (Score:3, Interesting)
Anyone consider... (Score:2, Interesting)
I suppose you would build a larger version with the blades on the front to guard the smaller robot from would-be thieves though...
But that probably reintroduces the problem of it killing curious kids by mistake.
Re:Just for you? (Score:2, Interesting)
Re:On second thought... (Score:2, Interesting)
Could take on a whole new idea..
Hmm... I better run to the patent office here
Re:Electric sheep (Score:2, Interesting)
Then again you could always plant a strong spinning laser in the middle of your yard. No moving parts. You could solar charge it. And best of all the fire department is usually pretty nice.
Mine (Score:4, Interesting)
Re:Electric sheep (Score:2, Interesting)
Might make a good thesis or senior project for someone.
Re:Electric sheep (Score:3, Interesting)
What I envisioned then is a little beetle-like walking robot. It would move very slowly, but very persistently. It would have something very like mandibles with something very like a sense of taste, and would keep track where it is by means of a combination of GPS and a mesh network between dozens of them. There were other little details, like a milch-bug with a substantial power plant that the others could "nurse" power from, supplemental solar arrays on their backs, that sort of thing.
But they weren't for cutting grass... they're for cutting weeds.
Currently, people plow fields, plant a monoculture, and then use herbicides to selectively kill the non-crop plants. They do this not because it's the best way to grow things, necessarily, but because that's what our technology has supported and made efficient since the invention of the plow.
But what if a swarm of little robots could sow and tend a field without plowing? They could walk among the crop, taste every plant that they come across, and chop off the ones that don't taste like the crop. Even chew them up into mulch. Gently, persistently, precisely. No soil compaction from heavy tractors. No herbicides, no resistant strains of weeds.
I thought it was a great little vision. I never have had the gumption to try carrying it off, though, so here it is for anyone who wants it. Just don't patent it, or I'll fish out this comment as prior art.
SOLAR POWER (Score:1, Interesting)
Solar Power. Slow Moving. Goat Like. Hey if it is Goat Like, you can call is a GNU-mower. heh.
What you need:
A way for it to know where it is relative to the garden
OR a way for it to find out where it is relative to where it has been, and correct mistakes.
Either it should know preceisely where it is, or just remember how far it has gone, if it hits something, write it to a non-volitile memory.
if you garden has some GNOMES
You should plot all this in an appropriatle resolution, so 4 pixels is about the size of the mowers cutting region.
You should then make each pixel to about 8bits, and set a value for how long it has been since it went there.
You shoudl then process the bytes in a FOFI (yes FOFI) method, so it would contiuously loop.
Now to get stripes, just preset the grid with:
09a.
18bc
27ct
36de
45ef
It will process them as 0 1 2 3 4 5 6 7 8 9 0 a b c d e f etc.
thus going up and down.
it will write each area it goes through as it goes through that area. of cours eyou need enogh bits for the resolution syou are looking to for the lawn.
Solar Power!
Else pay a college student to mow your lawn, and wash you car, and get off on her 20 yo bod, whilst helping her education! That help one of your drives, and let me tell you, your pocket will feel kinda full!
You didn't hear that from me.
Re:Well.. (Score:2, Interesting)
1960's Solution.. (Score:3, Interesting)
The diameter of the drum should be a bit less than the width of the mowers rotors..
Or, just buy a goat..