Raspberry PI-based, Phone-controlled, First-person-view Lawn-mower.
by gektor650 in Circuits > Raspberry Pi
60 Views, 1 Favorites, 0 Comments
Raspberry PI-based, Phone-controlled, First-person-view Lawn-mower.
![raspberry-lawny-hackster.png](/proxy/?url=https://content.instructables.com/F82/1KBW/LXSZMOET/F821KBWLXSZMOET.png&filename=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
- Raspberry PI 5 https://nerdythings.io/url/raspberry-...
- Raspberry Pi Camera Module 3 https://nerdythings.io/url/raspberry-...
- Windshield Wipers Motor https://nerdythings.io/url/wind-shiel...
- Grass cutter electric motor https://nerdythings.io/url/motor-12v-30w
- Relay https://nerdythings.io/url/relay-5v
- Wires https://nerdythings.io/url/jumper-wires
- H-Bridge https://nerdythings.io/url/h-bridge-12v
- Steel Razors Trimmer Head https://nerdythings.io/url/steel-trim...
- Power Bank https://nerdythings.io/url/power-bank
- 12V 9AH battery https://nerdythings.io/url/battery-12...
- A rear wheel https://nerdythings.io/url/powertec-w...
- Front Wheels (7inch) https://nerdythings.io/url/lawn-mower...
- Craftsman instruments https://nerdythings.io/url/craftsman-...
- Grooved Step Drill Bit Set https://nerdythings.io/url/step-drill...
- Soldering https://nerdythings.io/url/soldering-kit
System Design
![overall.jpg](/proxy/?url=https://content.instructables.com/FEN/G7C2/LXSZN327/FENG7C2LXSZN327.jpg&filename=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](/proxy/?url=https://content.instructables.com/F1Q/SBY0/LXSZN37R/F1QSBY0LXSZN37R.jpg&filename=cutter-schema-walls.jpg)
![cutter-schema-reshaped.jpg](/proxy/?url=https://content.instructables.com/FGI/Y459/LXSZN383/FGIY459LXSZN383.jpg&filename=cutter-schema-reshaped.jpg)
![cutter_box_with_motor.png](/proxy/?url=https://content.instructables.com/FW3/U2U5/LXSZN3A3/FW3U2U5LXSZN3A3.png&filename=cutter_box_with_motor.png)
![cutter_box.png](/proxy/?url=https://content.instructables.com/FUJ/F8YC/LXSZN3BA/FUJF8YCLXSZN3BA.png&filename=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](/proxy/?url=https://content.instructables.com/F5P/PD9F/LXSZN3U7/F5PPD9FLXSZN3U7.png&filename=cutter-with-body.png)
![cutter-with-motors.png](/proxy/?url=https://content.instructables.com/FYK/UJQ6/LXSZN3UP/FYKUJQ6LXSZN3UP.png&filename=cutter-with-motors.png)
![body-front-back.png](/proxy/?url=https://content.instructables.com/FUL/3QYE/LXSZN3V6/FUL3QYELXSZN3V6.png&filename=body-front-back.png)
![moving-left.png](/proxy/?url=https://content.instructables.com/F1H/1C9L/LXSZN3VO/F1H1C9LLXSZN3VO.png&filename=moving-left.png)
![moving-right.png](/proxy/?url=https://content.instructables.com/FBE/5B3M/LXSZN3W7/FBE5B3MLXSZN3W7.png&filename=moving-right.png)
![moving-straight.png](/proxy/?url=https://content.instructables.com/F5F/10ND/LXSZN3WR/F5F10NDLXSZN3WR.png&filename=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](/proxy/?url=https://content.instructables.com/FJS/UJ20/LXSZN46L/FJSUJ20LXSZN46L.jpg&filename=vertical-adjustements-down.jpg)
![vertical-adjustements-up.jpg](/proxy/?url=https://content.instructables.com/FJD/UZZE/LXSZN46M/FJDUZZELXSZN46M.jpg&filename=vertical-adjustements-up.jpg)
![cutter-wholes.png](/proxy/?url=https://content.instructables.com/F1K/NJ5B/LXSZN47Y/F1KNJ5BLXSZN47Y.png&filename=cutter-wholes.png)
Connect the cutter box with the body using slides.
Paint
![lawnys-face.png](/proxy/?url=https://content.instructables.com/F0K/8THP/LXSZN4GF/F0K8THPLXSZN4GF.png&filename=lawnys-face.png)
![painting-2.png](/proxy/?url=https://content.instructables.com/FIV/X70G/LXSZN4HN/FIVX70GLXSZN4HN.png&filename=painting-2.png)
![painting_1.png](/proxy/?url=https://content.instructables.com/FKF/JF9V/LXSZN4IH/FKFJF9VLXSZN4IH.png&filename=painting_1.png)
Paint all surfaces
Place Electric Components
![wired-schema.jpg](/proxy/?url=https://content.instructables.com/FJG/V1Z9/LXSZN4LA/FJGV1Z9LXSZN4LA.jpg&filename=wired-schema.jpg)
![battery-and-power-bank.png](/proxy/?url=https://content.instructables.com/FCW/SY8R/LXSZN4M8/FCWSY8RLXSZN4M8.png&filename=battery-and-power-bank.png)
![motors-connected.png](/proxy/?url=https://content.instructables.com/F26/6NXU/LXSZN4N7/F266NXULXSZN4N7.png&filename=motors-connected.png)
![elements-connected-1.png](/proxy/?url=https://content.instructables.com/FD0/BV2X/LXSZN4O7/FD0BV2XLXSZN4O7.png&filename=elements-connected-1.png)
Place electronic components:
- 1 Raspberry PI 5 https://nerdythings.io/url/raspberry-...
- 2 Windshield Wipers Motor https://nerdythings.io/url/wind-shiel...
- 1 Grass cutter electric motor https://nerdythings.io/url/motor-12v-30w
- 3 Relay https://nerdythings.io/url/relay-5v
- 2 H-Bridge https://nerdythings.io/url/h-bridge-12v
- Wires https://nerdythings.io/url/jumper-wires
- 1 Power Bank https://nerdythings.io/url/power-bank
- 1+ 12V 9AH battery https://nerdythings.io/url/battery-12...
Add Wheels
![wheels-better.png](/proxy/?url=https://content.instructables.com/F8C/BY41/LXSZN8J6/F8CBY41LXSZN8J6.png&filename=wheels-better.png)
![wheels-with-screws.png](/proxy/?url=https://content.instructables.com/F40/DGE9/LXSZN8QY/F40DGE9LXSZN8QY.png&filename=wheels-with-screws.png)
![wheels-updates-2.png](/proxy/?url=https://content.instructables.com/FOG/53SZ/LXSZN937/FOG53SZLXSZN937.png&filename=wheels-updates-2.png)
![wheels-heat-presure.png](/proxy/?url=https://content.instructables.com/FDG/SHZE/LXSZN9D9/FDGSHZELXSZN9D9.png&filename=wheels-heat-presure.png)
![wheel-rear.png](/proxy/?url=https://content.instructables.com/FG9/W1LO/LXSZN9GO/FG9W1LOLXSZN9GO.png&filename=wheel-rear.png)
- 1 A rear wheel https://nerdythings.io/url/powertec-w...
- 2. Front Wheels (7inch) https://nerdythings.io/url/lawn-mower...
Add a Blade
![sharpened-blades.png](/proxy/?url=https://content.instructables.com/F2F/VSHT/LXSZNAMV/F2FVSHTLXSZNAMV.png&filename=sharpened-blades.png)
- Steel Razors Trimmer Head https://nerdythings.io/url/steel-trim...
Assemble and Test
![results-1.png](/proxy/?url=https://content.instructables.com/FLM/L9SN/LXSZNB7I/FLML9SNLXSZNB7I.png&filename=results-1.png)
![results-2.png](/proxy/?url=https://content.instructables.com/FXK/PYSE/LXSZNBB7/FXKPYSELXSZNBB7.png&filename=results-2.png)
![results-3.png](/proxy/?url=https://content.instructables.com/F29/8EM7/LXSZNBJL/F298EM7LXSZNBJL.png&filename=results-3.png)
![results-4.png](/proxy/?url=https://content.instructables.com/FCR/35VQ/LXSZNBWM/FCR35VQLXSZNBWM.png&filename=results-4.png)
![results-5.png](/proxy/?url=https://content.instructables.com/FBS/O82W/LXSZNC50/FBSO82WLXSZNC50.png&filename=results-5.png)