Circuit Documentation
Summary
This circuit involves an Arduino UNO microcontroller interfacing with an SD SDHC card module and a DHT11 temperature and humidity sensor. The Arduino UNO serves as the central controller, managing data storage on the SD card and reading environmental data from the DHT11 sensor.
Component List
SD SDHC
- Description: SD card module for data storage.
- Pins: 3V3, CS, MOSI, CLK, MISO, GND
Arduino UNO
- Description: Microcontroller board based on the ATmega328P.
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
DHT11
- Description: Temperature and humidity sensor.
- Pins: DATA, GND, VCC
Wiring Details
SD SDHC
- GND connected to Arduino UNO GND
- MISO connected to Arduino UNO D12
- CLK connected to Arduino UNO D13
- MOSI connected to Arduino UNO D11
- CS connected to Arduino UNO D4
- 3V3 connected to Arduino UNO 3.3V
Arduino UNO
- GND connected to SD SDHC GND and DHT11 GND
- D12 connected to SD SDHC MISO
- D13 connected to SD SDHC CLK
- D11 connected to SD SDHC MOSI
- D4 connected to SD SDHC CS
- 3.3V connected to SD SDHC 3V3
- 5V connected to DHT11 VCC
- D2 connected to DHT11 DATA
DHT11
- GND connected to Arduino UNO GND
- VCC connected to Arduino UNO 5V
- DATA connected to Arduino UNO D2
Code Documentation
Arduino UNO Code
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
This code is a basic template for the Arduino UNO. The setup() function is where you initialize your components and settings, and the loop() function is where the main logic of your program runs continuously.
Additional Documentation
This section is reserved for any additional documentation or notes related to the code or circuit.
