Entry-level Mobile Robot
This repository is meant to document my projects in robotics. I do not provide enough information on to how everything should be set up because a basic README file wouldn't be comprehensive enough, even with pictures. If one wishes to know more about this project, contact me at [email protected]
pigpio
by Joan. Download the python library at http://abyz.co.uk/rpi/pigpio/download.html;- Python 3.X (latest version);
- FileZila, VNC viewer and Putty (or any other similar programs) on a PC.
- Raspberry Pi 2/3 model B;
- Two DC motors (no encoders are required);
- H-bridge based motor controller;
- HC-SR04;
- Servo motor;
- 7.4V Battery with 5V voltage regulators;
- 1k and 600 ohms resistors;
- Jumper wires;
- Wifi Dongle for the RPi.
- Connect your RPi to wifi and make sure you can remotely
ssh
and VNC into it. - Transfer all the files of the repository to a folder in your RPi with FileZila or
$ git clone https://github.com/ferasboulala/Robot_Project.git
; - Connect all the hardware together. You should refer to
Robot.py
to know where to connect the GPIOs. Mount the Ultrasonic Sensor on top of the servo. Genera knowledge of how to power up everything is presumed (i.e. not connecting directly the 7.4V battery to the RPi but using voltage regulators instead, making sure the voltage regulators can give enough current without melting, etc.) - Open
Robot.py
withPython 3 (IDLE)
and press F5; - Follow the instructions on screen.