mvrk33 / AgroBot

7 stars 1 forks source link

AgroBot

Requirements:

  1. The robot should navigate from one point to another while avoiding obstacles.
  2. The robot should operate continuously for at least half an hour.
  3. The robot should execute smooth maneuvers.

Software Installations:

  1. Raspberry Pi Imager: Used to flash the Raspberry OS onto a memory card, which is then used to connect the Raspberry Pi to a laptop/desktop remotely. Download Link: Raspberry Pi Imager

  2. MobaXterm: Used to push code from the laptop/device to the Raspberry Pi remotely. Download Link: MobaXterm Installer Edition

  3. Python: Required for writing code. Download Link: Python

  4. VS Code: Integrated development environment used to write code, which is then transferred via MobaXterm to the Raspberry Pi. Download Link: VS Code

Getting Started with Raspberry Pi

To understand how Raspberry Pi works, let's build a simple project to control a servo motor with Raspberry Pi as demo shown below :

Untitled video - Made with Clipchamp

Step 1: Insert the SD Card into the Pendrive and connect it to the CPU.

Step 2: Open Raspberry Pi Imager and follow these steps:

network

Step 5: Now open MobaXterm, click on Session in the top right corner, then click on SSH. Paste the IP Address copied earlier into the Remote host input, and provide the username you set in Raspberry Pi Imager. Click on "ok" and "accept".

Screenshot (732)

Step 6: Your laptop and the Raspberry Pi are now connected. To control the Raspberry Pi with your laptop, push the code from your laptop to the Raspberry Pi. As they are connected to the same internet, you don't need any manual connection. Simply transfer the code via the internet to make the Raspberry Pi work.

Screenshot (734)

python3 filename.py

Screenshot (739)