-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ce4c2f7
commit 5a92013
Showing
1 changed file
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Pan-Tilt & GPS PCB Documentation | ||
|
||
## Purpose of the PCB | ||
The PCB is designed to: | ||
- Read UART output from GPS. | ||
- Control two Pan-Tilt servo motors. | ||
|
||
## Functionality Description | ||
- **Inputs**: | ||
- Reads UART data from GPS. | ||
- Reads the rover’s angle position data using a gyroscope. | ||
- **Outputs**: | ||
- Sends instructions to the servos. | ||
- Communicates with the Jetson via USB. | ||
|
||
## Components Communication | ||
1. **Microcontroller**: A Teensy 4.0 is mounted on the PCB. | ||
2. **Servo Motors**: | ||
- Each servo’s PWM pin connects to a PWM pin on the Teensy for control. | ||
3. **GPS**: | ||
- TX pin (GPS) → RX pin (Teensy). | ||
- RX pin (GPS) → TX pin (Teensy). | ||
4. **Gyroscope**: | ||
- SDA pin (Gyro) → SDA pin (Teensy). | ||
- SCL pin (Gyro) → SCL pin (Teensy). | ||
|
||
## Components Connections (Routing) | ||
| Teensy Pin | Connected To | | ||
|------------|----------------------| | ||
| 23 | Servo 1 PWM | | ||
| 22 | Servo 2 PWM | | ||
| 0 | GPS TX | | ||
| 1 | GPS RX | | ||
| 17 | Gyro SDA | | ||
| 16 | Gyro SCL | | ||
| 2 | LED1 | | ||
|
||
## Power & Grounding | ||
- **Power Source**: All components are powered by an external 5V source, distributed to each component's VCC pin via internal PCB routing. | ||
- **Grounding**: Includes a net tie to separate the Teensy ground from the components ground. | ||
|
||
## Notes for Assembling | ||
1. On the back of the Teensy, locate the copper trace connecting the USB port to the Vin pin. | ||
2. Use an X-Acto knife to cut this copper trace. This ensures the Teensy is powered by the external 5V source instead of the USB connection. | ||
|
||
## Additional Resources | ||
- **How to Crimp Wires for Molex Connectors**: [YouTube Link](https://www.youtube.com/watch?v=WFvEeWHDt1E) | ||
- **Schematic**: [YouTube Link](https://www.youtube.com/watch?v=WFvEeWHDt1E) |