Skip to content

Commit d2a8309

Browse files
authored
Merge pull request #25 from kmgovind/master
Adding solar rover documentation
2 parents 170abb5 + fd4f22a commit d2a8309

9 files changed

Lines changed: 136 additions & 0 deletions

File tree

120 KB
Loading

docs/px4_robots/images/Battery.png

1.94 MB
Loading
5.43 MB
Loading

docs/px4_robots/images/MPPT.png

10.4 MB
Loading
12.4 MB
Loading
13.7 MB
Loading
96 KB
Loading
5.01 MB
Loading
Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
---
2+
layout: default
3+
title: "Solar Rover Setup"
4+
date: 2022-05-09
5+
math: katex
6+
parent: Px4 Robot
7+
nav_order: 2
8+
---
9+
10+
# Solar Rover Setup
11+
12+
## Solar rover & components imporant to the Solar Panels
13+
14+
The Solar-Rover
15+
![](./images/Rover_Front.png)
16+
17+
Topside view
18+
![](./images/Rover_Topside.png)
19+
20+
Components:
21+
22+
12V Battery with an XT60 connection
23+
![](./images/Battery.png)
24+
25+
Solar Panels
26+
![](./images/SolarPanels.png)
27+
28+
MPPT
29+
![](./images/MPPT.png)
30+
31+
## Current solar panel configuration
32+
33+
**Distinction between parallel and series connections (solar panels):**
34+
35+
- **Series connection:** Increases the voltage.
36+
- For the rover, this was unnecessary since the battery operates at 12V and each solar panel also has a 12V rating.
37+
38+
- **Parallel connection:** Increases the current.
39+
- Since the battery’s voltage requirement is already satisfied, the panels must be connected in parallel to provide the necessary current.
40+
41+
To power the rover’s electronics, especially the motors, all solar panels are wired in **parallel**.
42+
43+
**Simplified solar-rover wiring diagram:**
44+
![](./images/Rover_Wiring_Diagram.png)
45+
46+
## Turning on the Solar-Rover
47+
48+
49+
**Warning:**
50+
The battery must be connected to the MPPT *before* the solar panels, otherwise the MPPT could be damaged.
51+
52+
### Steps:
53+
54+
1. Connect the battery to the MPPT using the XT60 connectors.
55+
2. Connect the solar panels to the MPPT using the XT60 connectors. *(Optional, only if you want to use the panels.)*
56+
3. Connect the load (the rover) to the MPPT via the XT60 connector.
57+
4. Press the right arrow button on the MPPT to activate discharging/charging.
58+
- The MPPT will display the current drawn from the battery and the current generated by the panels.
59+
- Idle discharge is approximately **0.50 A**.
60+
- While moving at ~1 m/s (on a box), the discharge is approximately **2 A**.
61+
5. Once completed, you should see these icons on the MPPT:
62+
- ![](./images/MPPT.png)
63+
64+
65+
## Connect to the solar-rover
66+
67+
Info:
68+
The solar-rover already has all of the necessary repositories already therefore you will only need to clone groundstation_cps_solar repo on your laptop.
69+
70+
1. Clone the groundsation_cps_solar repository.
71+
72+
```
73+
git clone https://github.com/dasc-lab/groundstation_cps_solar
74+
75+
```
76+
2. Connect the Raspberry Pi to an external screen, and connect a keyboard
77+
78+
3. Give the raspberyy-pi inside the rover a few minutes to boot, allowing it to establish an ssh server.
79+
- Once the ssh server is establied, we can remotely control the solar rover via the terminal.
80+
81+
4. Using the hostname -I command, you can grab the PI's IP and connect to it
82+
83+
```
84+
ssh (solar rover IP)
85+
86+
```
87+
88+
6. Once connected, cd into the px4_jumpstart folder inside the PI
89+
90+
91+
```
92+
docker compose build
93+
94+
```
95+
96+
```
97+
docker compose up -d
98+
99+
```
100+
101+
```
102+
docer exec -it (tab twice for it to fill with the exec docker file) bash
103+
104+
```
105+
106+
7. Once inside the container, run command to send your pose to the vicon system within the lab
107+
108+
```
109+
ros2 launch all_lauch px4.launch.py
110+
111+
```
112+
113+
## Summary of connect to solar-rover
114+
115+
(Laptop) Run the docker and launch `gs.launch.py`
116+
117+
```
118+
$ git clone https://github.com/dasc-lab/groundstation_cps_solar
119+
$ cd groundstation_cps_solar
120+
$ docker compose build
121+
$ docker compose up -d
122+
$ docker exec -it <Container-name> bash
123+
$ ros2 launch ground_station_launch gs.launch.py
124+
125+
```
126+
127+
(Raspberry PI) Run the docker and launch `PX4.launch.py`
128+
129+
```
130+
$ cd rover_px4_jumpstart_ros2_jumpstart
131+
$ docker compose build
132+
$ docker compose up -d
133+
$ docker exec -it <Container-name> bash
134+
ros2 launch all_launch px4.launch.py
135+
136+
```

0 commit comments

Comments
 (0)