https://github.com/mitgobla/csp354-project
A Socially Interactive Robot using a Raspberry Pi and Python to interact with a user by using a camera, circular displays, buttons and a motor. My dissertation project at Swansea University
https://github.com/mitgobla/csp354-project
python raspberry-pi robotics
Last synced: over 1 year ago
JSON representation
A Socially Interactive Robot using a Raspberry Pi and Python to interact with a user by using a camera, circular displays, buttons and a motor. My dissertation project at Swansea University
- Host: GitHub
- URL: https://github.com/mitgobla/csp354-project
- Owner: mitgobla
- Created: 2023-02-12T22:11:18.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-05-17T21:45:48.000Z (about 3 years ago)
- Last Synced: 2025-01-13T01:12:24.770Z (over 1 year ago)
- Topics: python, raspberry-pi, robotics
- Language: Python
- Homepage: https://ben-dodd.com/projects/csp354project.html
- Size: 83.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CSP354 Project
Author: [Benjamin Dodd (1901386)](https://www.github.com/mitgobla)
## Description
Software implementation of the soft-toy interactive robot.
## Setup
**Note:** This project requires specific hardware to run.
1. Ensure Python 3.7 is installed on your Raspberry Pi.
2. Ensure `run.sh` is executable by running `chmod +x raspberry_pi.sh`.
3. Run `./run.sh` to execute the program.
To try specific modules, run: `python3 -m main..` where `` and `` are listed below.
### Modules
- `display.circular_display` - Displays the video feed onto both screens.
- `motor.stepper_motor` - Moves the stepper motor.
- `camera.emotion_detection` - Detects emotions from the video feed.
- `camera.gesture_detection` - Detects number of fingers shown from the video feed.
- `threading.worker_thread` - Runs a worker thread.
## Demo
### Menu navigation

### Clock Activity

### Emotion Reaction Activity

### Number guessing Activity

## Circuit Diagram

### Hardware components
- [Raspberry Pi 4 Model B 4GB](https://www.raspberrypi.org/products/raspberry-pi-4-model-b/)
- 2x [1.3" 240x240 SPI Colour Round LCD Display](https://shop.pimoroni.com/products/1-3-spi-colour-round-lcd-240x240-breakout)
- [Push Button](https://labists.com/collections/accessories/products/electronics-projects-starter-kit-for-raspberry-pi-4-3-b-arduino)
- [Capacitive Touch Sensor](https://labists.com/collections/accessories/products/electronics-projects-starter-kit-for-raspberry-pi-4-3-b-arduino)
- [Raspberry Pi Camera](https://www.raspberrypi.org/products/camera-module-v2/)
- [Stepper Motor](https://labists.com/collections/accessories/products/electronics-projects-starter-kit-for-raspberry-pi-4-3-b-arduino)
- Custom wiring
- Custom 3D printed mounts for circular displays