release 1.1, preparation for rework

readme updated
This commit is contained in:
foglar 2024-04-07 14:07:16 +02:00
parent 0eb12db053
commit 75627e2b58
3 changed files with 80112 additions and 4 deletions

View File

@ -32,7 +32,7 @@
### TTY listener
```shell
```bash
git clone https://www.github.com/foglar/cobraV2.git
cd cobraV2/serial_read
@ -47,7 +47,7 @@ go build .
### Monitoring tool
```shell
```bash
git clone https://www.github.com/foglar/cobraV2.git
cd cobraV2/monitor
@ -65,9 +65,33 @@ go build .
### Sender and Reciever
Upload sender and reciever code on the 2 arduinos
Upload sender and reciever code on the 2 arduinos.
Required library for antenna: [RF24](https://nrf24.github.io/RF24). Installation via Arduino-IDE.
> [!NOTE]
> Uplading can be done via Arduino IDE or via arduino-cli terminal tool.
> Install arduino-ide or arduino-cli on your device, connect the arduino via usb,
> and upload the code.
#### Uplading via arduino-cli
To upload via arduino-cli connect arduino board to the computer.
- To get boards fbqn run `arduino-cli board list` command
- Then compile your code with `arduino-cli compile -b "fqbn" "path to script"`
- Finnaly upload your code to arduino with `arduino-cli upload -b "fqbn" -p "port" "path to script"`
```bash
$ arduino-cli board list
arduino-cli board list
Port Protocol Type Board Name FQBN Core
/dev/ttyACM0 serial Serial Port (USB) Arduino UNO R4 WiFi arduino:renesas_uno:unor4wifi arduino:renesas_uno
$ arduino-cli compile -b arduino:renesas_uno:unor4wifi sender_module/
$ arduino-cli upload -b arduino:renesas_uno:unor4wifi -p /dev/ttyACM0 sender_module/
```
Required library for antenna: [RF24](https://nrf24.github.io/RF24), with arduino-cli you can install it with ```arduino-cli lib install RF24``` or via arduino-ide.
## Overview

80056
doc/ADA247666.pdf Normal file

File diff suppressed because one or more lines are too long

28
sender_module/README.md Normal file
View File

@ -0,0 +1,28 @@
# Sender module
## Stages of flight
1. Preflight - Remove before flight button or smthing like that
- no data sending, blocked parachute ejection, all systems down
2. Ready - Signal from groundstation
- sys check (modules calibration, battery check, atd...), blocked parachute ejection, wait for launch pin removed, only send data, do not save them
3. Launch - Removed pin from the rocket
- launch, all systems sending and saving data on sd card
4. Apogee - Detected that rocket is in apogee with accelerometer
- parachute ejection, all systems working, gps check and height check
5. Return - Rocket has no velocity
- all unneeded systems shutdown/sleep, buzz on, gps sending location, battery check, turn off gyro and accelerometer
## Modules
- nRF24L01 - Communication with groundstation
- L76K GPS - GPS sensor for gps data
- 10 DOF IMU - Gyroscope/Accelerometer, Temperature, atd.
- ?INA-219 - Battery data
- ?SD card reader - Write all recieved data to the SD card
- ?Buzzer - To find our rocket after launch
## Tasks
- Ejection mechanism
- PCB for our computer