Raspberry PI-based, Phone-controlled, First-person-view Lawn-mower.

by gektor650 in Circuits > Raspberry Pi

696 Views, 2 Favorites, 0 Comments

Raspberry PI-based, Phone-controlled, First-person-view Lawn-mower.

raspberry-lawny-hackster.png

Meet Lawny! It’s a lawn mower with a first-person view camera that allows you to cut grass while controlling a remote-controlled robot!

I’ve built it using a Raspberry PI, H-Bridge, electric motor, and camera. It can be controlled from a mobile phone or a desktop.

The project's main idea is to control a lawnmower using a phone and see the exact same picture as a lawnmower.

Here is the full video of its creation and all the concepts that are described in this article:

https://www.youtube.com/watch?v=4OQUo0V-8QY


Supplies

System Design

overall.jpg

I have a Steel Razors Trimmer Head. If I add an electric motor, it will be a grass cutter. The motor rotates the blades, and they cut the grass. Simple.

If I want to control the motor, I need a relay and a controller. In my case, I used a Raspberry PI 5 (because I had it). However, any Raspberry device could support pulse width modulation and a camera.

That will be a static lawn mower. But I want to cut grass everywhere, not just in one spot, and I want to be able to turn the mover left and right.

So I am adding two more electric motors. The construction will be heavy, so I need power, not speed, and I will use windshield wiper motors from a real car.

The first limitation is that I need two Pulse Width Modulation channels to control a single motor. But I have two motors, which means that I need four channels. To solve this problem, I am adding two more relays to switch the signal between pins. Further, I need to see where the lawn mower is going, so I am adding a camera module to the Raspberry PI. Additionally, I need some power sources. To prevent power drop elements that consume a lot of current, I will use a separate battery for the motors and a power bank for the Raspberry PI and electronics.

And finally, I will control this system from a mobile phone with a cross-platform application through wi-fi.

Cutter Box

cutter-schema-walls.jpg
cutter-schema-reshaped.jpg
cutter_box_with_motor.png
cutter_box.png

The cutter box is made from plywood. It has a hole for the motor in the middle.

Mower Body

cutter-with-body.png
cutter-with-motors.png
body-front-back.png
moving-left.png
moving-right.png
moving-straight.png

The next is to create a body. I am adding a few more surfaces to make that mower move.

Join Cutter Box

vertical-adjustements-down.jpg
vertical-adjustements-up.jpg
cutter-wholes.png

Connect the cutter box with the body using slides.

Paint

lawnys-face.png
painting-2.png
painting_1.png

Paint all surfaces

Place Electric Components

wired-schema.jpg
battery-and-power-bank.png
motors-connected.png
elements-connected-1.png

Add Wheels

wheels-better.png
wheels-with-screws.png
wheels-updates-2.png
wheels-heat-presure.png
wheel-rear.png

Add a Blade

sharpened-blades.png

Assemble and Test

results-1.png
results-2.png
results-3.png
results-4.png
results-5.png

The full video:

YouTube

The source code

GitHub