Aerospace Electronics | Copilot Preset
Controls
Properties
Availability & Pricing
Distributor | Qty 1 | |
---|---|---|
Digi-Key | $2.32–$3.62 | |
LCSC | $5.42 | |
Mouser | $2.18 |
Assets
id=Aerospace Template Thumbnail (3)
Simulation
Teensy TX
to G15 RX
Teensy RX
to G15 TX
Teensy 4.0 SDA0 (18)
to OV7670 SDA
Teensy 4.0 SCL0 (19)
to OV7670 SCL
[Battery] --> [Voltage Regulator] --> [BMP390 and Teensy 4.0]
1. [Battery] (LITOR-20 with adjustable voltage output)
- Ensure the output is within the operating voltage of the sensor and the microcontroller.
2. [Voltage Regulator] (Step-down to 3.3V)
- Input from the battery.
- Output 3.3V to power both BMP390 and Teensy 4.0.
3. [BMP390]
- VDD to [Voltage Regulator] (3.3V output)
- GND to system ground
- SDA to Teensy 4.0 SDA (18)
- SCL to Teensy 4.0 SCL (19)
4. [Teensy 4.0]
- Powered by the same 3.3V from the [Voltage Regulator].
- GND to system ground.
- SDA (18) and SCL (19) to BMP390's SDA and SCL.
Arduino
#include <Wire.h> #include <BMP390.h> BMP390 bmp; void setup() { Serial.begin(9600); Wire.begin(); if (!bmp.begin()) { Serial.println("Could not find BMP390 sensor!"); while (1); } // Default settings from datasheet. bmp.setSampling(BMP390::MODE_NORMAL, // Operating Mode. BMP390::SAMPLING_X2, // Temp. oversampling BMP390::SAMPLING_X16, // Pressure oversampling BMP390::FILTER_X16, // Filtering. BMP390::STANDBY_MS_500); // Standby time. } void loop() { Serial.print("Temperature = "); Serial.print(bmp.readTemperature()); Serial.print(" *C"); Serial.print("\tPressure = "); Serial.print(bmp.readPressure()); Serial.println(" Pa"); delay(1000); // Delay between readings. }
setSampling
parameters as needed for your application.Welcome 👋
Flux helps you build PCBs faster with an AI teammate!
To collaborate on this project, get the latest updates,
or fork your own version, sign up now.