Skip to content
This repository has been archived by the owner on Dec 8, 2024. It is now read-only.

Hardware readme #100

Merged
merged 3 commits into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ For developers, see [Project Overview](#project-overview). For users setting up
- [Project Overview](#project-overview)
- [Directory Structure](#directory-structure)
- [Dependencies](#dependencies)
- [Hardware Set-up](#hardware-set-up)
- [Deployment](#deployment)
- [Single command all-in-one](#single-command-all-in-one)
- [Pi Environment Set-up](#pi-environment-set-up)
Expand Down Expand Up @@ -57,6 +58,23 @@ The main project dependencies are specified in [pyproject.toml](./pyproject.toml
- [piicodev](https://pypi.org/project/piicodev/) provides modules for interfacing with Raspberry Pi peripherals.
- [face-recognition](https://pypi.org/project/face-recognition/) provides the face recognition model.

## Hardware Set-up
<p align="center" width="100%">
<img src="assets/wiring.png" width="600">
</p>
The following materials are required to construct this project.

- 1x Raspberry Pi 3B
- 1x PiicoDev Adapter for Raspberry Pi
- 2x PiicoDev Connector 100mm, 1x PiicoDev Connector 200mm, 1x PiicoDev Connector 50mm
- 1x Raspberry Pi Camera Module
- 1x Vibrating Motor Disk
- 2x USB-C Power Supplis
- 1x PiicoDev Servo Driver, 1x PiicoDev OLED Display, 2x PiicoDev Button
- 1x FS90R Servo.

The above wiring diagram shows how to connect these components. The components must be connected before turning on the Pi for the first time.

## Deployment
### Single command all-in-one
To set up the Pi's environment, deploy the code base, and start the program follow the following steps.
Expand Down
Binary file added assets/wiring.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ if ! ./deploy.sh ../deploypaths.txt $SSHTARGET $SSHUSER; then
fi

echo -e $INFO
ssh $SSHUSER@$SSHTARGET 'bash -s' < run-garden.sh
ssh $SSHUSER@$SSHTARGET 'bash -s' < run_garden.sh
File renamed without changes.