Arduino UNO R4 WiFi Environmental Data Logger with I2C Multiplexing and SD Storage
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
The circuit in question is designed to interface an Arduino UNO R4 WiFi with various peripherals including a BME280 Breakout sensor, an SD card module (SD SDHC), an I2C multiplexer (Adafruit TCA9548A), a U078-V-M12 sensor, a Power Distribution Board, and an SPS30 particulate matter sensor. The Arduino serves as the central microcontroller, managing data communication over I2C and SPI buses, as well as power distribution to the connected devices.
Component List
Arduino UNO R4 WiFi
- Microcontroller board with WiFi capability.
- Provides GPIO, I2C, SPI, and power output pins.
SD SDHC
- Secure Digital High Capacity (SDHC) card interface.
- Used for data logging and storage.
Adafruit TCA9548A
- I2C Multiplexer that allows multiple I2C devices to be connected to the same I2C bus.
- Expands the number of I2C sensors that can be interfaced with the Arduino.
U078-V-M12
- A sensor with I2C communication.
- Specific functionality is not detailed in the provided information.
Power Distribution Board
- Distributes power to various components in the circuit.
- Has multiple power output connections and a single power input.
BME280 Breakout
- Environmental sensor measuring temperature, humidity, and pressure.
- Communicates over I2C.
SPS30
- Particulate matter sensor for air quality monitoring.
- Communicates over I2C and requires a 5V power supply.
Wiring Details
Arduino UNO R4 WiFi
- I2C (SCL) connected to BME280 Breakout (SCK/SCL), Adafruit TCA9548A (INPUTSCL), and U078-V-M12 (SCL).
- I2C (SDA) connected to BME280 Breakout (SDI/SDA), Adafruit TCA9548A (INPUTSDA), and U078-V-M12 (SDA).
- SPI (D10-D13) connected to SD SDHC (CS, MOSI, MISO, CLK).
- 3V3 output connected to BME280 Breakout (3.3V) and Power Distribution Board (Power IN).
- 5V output connected to U078-V-M12 (5v) and SPS30 (5V).
- GND connected to all components for a common ground reference.
SD SDHC
- Powered by Power Distribution Board (Power OUT4).
- SPI interface connected to Arduino UNO R4 WiFi (D10-D13).
Adafruit TCA9548A
- Powered by Power Distribution Board (Power OUT0).
- I2C interface connected to Arduino UNO R4 WiFi (SDA, SCL).
- I2C channels connected to U078-V-M12 (0SDA, 0SCL) and SPS30 (1SDA, 1SCL).
U078-V-M12
- I2C interface connected to Adafruit TCA9548A (0SDA, 0SCL).
- Powered by Arduino UNO R4 WiFi (5V).
Power Distribution Board
- Receives power from Arduino UNO R4 WiFi (3V3).
- Distributes power to SD SDHC (Power OUT4) and SPS30 (Power OUT1).
BME280 Breakout
- I2C interface connected to Arduino UNO R4 WiFi (IIC0_SDA, IIC0_SCL).
- Powered by Arduino UNO R4 WiFi (3V3).
SPS30
- I2C interface connected to Adafruit TCA9548A (1SDA, 1SCL).
- Powered by Power Distribution Board (Power OUT1).
Documented Code
Arduino UNO R4 WiFi - sketch.ino
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Note: The provided code is a template and does not include specific functionality. It is expected that the user will add the necessary code to interact with the connected peripherals.
Arduino UNO R4 WiFi - documentation.txt
No code was provided for this file.