# Flight Computer

## Block Diagram

![Block Diagram for Flight Computer](https://3446566557-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MDP4Bea7b4fVXihQXm1%2F-MDaT2Gur1F-wPPUpZmH%2F-MDaT9udL9VqOw13ET69%2Fhardware_block_diagram.png?alt=media\&token=695be0ab-d2e5-436e-8ded-998b158fa530)

## Components

### Microcontroller

[*STM32F415*](https://www.st.com/content/st_com/en/products/microcontrollers-microprocessors/stm32-32-bit-arm-cortex-mcus/stm32-high-performance-mcus/stm32f4-series/stm32f405-415/stm32f415rg.html)*(*[*Datasheet*](https://www.st.com/resource/en/datasheet/stm32f405vg.pdf)*) ARM M4 CPU with 1MB Flash and 168MHz clock speed and **available on JLCPCB***

### 9DoF Orientation Sensor (IMU + Magnetometer) -- SPI

[*BMX055* ](https://www.bosch-sensortec.com/products/motion-sensors/absolute-orientation-sensors/absolute-orientation-sensors-bmx055.html)*(*[*Datasheet*](https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bmx055-ds000.pdf))*with gyroscope, accelerometer, and magnetometer, used for drone applications **and available on JLCPCB***

* Supports I2C & SPI (3/4 wire)
* Input voltage: 2.4V to 3.6V
* Independent polling for each of the sensors

### Barometer -- SPI

[*MPL3115A2*](https://www.adafruit.com/product/1893)*(*[*Datasheet*](https://datasheet.lcsc.com/szlcsc/1904171803_NXP-Semicon-MPL3115A2R1_C54429.pdf)*) 200-1100 hPa **and available on JLCPCB***

* Supports I2C & SPI (3/4 wire)
* Input voltage: 1.65V to 3.6V
* Sampling frequency 200Hz

### Current/Voltage/Power Monitor -- I2C

[*INA219*](https://www.ti.com/product/INA219?HQS=TI-null-null-digikeymode-df-pf-null-wwe\&DCM=yes\&distId=10)*(*[*Datasheet*](https://www.ti.com/lit/ds/symlink/ina219.pdf?ts=1596310228469\&ref_url=https%253A%252F%252Fwww.ti.com%252Fproduct%252FINA219%253FHQS%253DTI-null-null-digikeymode-df-pf-null-wwe%2526DCM%253Dyes%2526distId%253D10)*) I2C compatible, max voltage 26, **and available on JLCPCB***

### GPS Receiver -- I2C

[*SAM-M8Q*](https://www.u-blox.com/en/product/sam-m8q-module)*(*[*Datasheet*](https://www.u-blox.com/sites/default/files/SAM-M8Q_DataSheet_\(UBX-16012619\).pdf)*) I2C compatible, **and NOT available on JLCPCB***

### FRAM -- I2C

[*MB85RC256V*](https://www.adafruit.com/product/1895)*(Datasheet) I2C compatible, 256 K, 1MHz max frequency, **and available on JLCPCB***

### EEPROM

[*CAT24C256*](https://www.onsemi.com/products/memory/eeprom-memory/cat24c256)*(*[*Datasheet*](https://www.onsemi.com/pub/Collateral/CAT24C256-D.PDF)*) I2C compatible, 256K, 1MHz max frequency, **and available on JLCPCB***

### Radio Module -- SPI

[*NRF24L01P-R*](https://www.nordicsemi.com/Products/Low-power-short-range-wireless/nRF24-series)*(*[*Datasheet*](https://datasheet.lcsc.com/szlcsc/Nordic-Semicon-NRF24L01P-R_C8791.pdf)*) SPI compatible, 2.4GHz ISM band, **and available on JLCPCB***

### &#x20;<br>
