Getting Started - santhoshsharuk/-AI-Weather-Station-MVP- GitHub Wiki
🛠️ Getting Started
Welcome! This guide will help you build, connect, and run your own AI Weather Station MVP using Arduino.
📋 Prerequisites
Before starting, make sure you have:
- Basic knowledge of Arduino and sensors
- Arduino IDE installed on your computer
- A USB cable to connect your Arduino UNO
🔧 Hardware Required
Component | Quantity | Description |
---|---|---|
Arduino UNO | 1 | Main microcontroller board |
DHT11 Sensor | 1 | Temperature & humidity sensor |
BMP180 Sensor | 1 | Atmospheric pressure sensor |
Breadboard | 1 | For circuit prototyping |
Jumper Wires | 10+ | To connect components |
USB Cable | 1 | To power and upload code |
🔌 Circuit Connections
🔹 DHT11 Sensor
- VCC → 5V
- GND → GND
- DATA → Digital Pin 2
🔹 BMP180 Sensor
- VCC → 3.3V
- GND → GND
- SDA → A4
- SCL → A5
Make sure the connections are tight and accurate to avoid errors.
💻 Software Setup
-
Install Arduino IDE (if not already):
https://www.arduino.cc/en/software -
Install required libraries:
Adafruit_BMP085
DHT sensor library
Adafruit Unified Sensor
Go to Sketch → Include Library → Manage Libraries and search for these libraries to install.
-
Open the sketch (code):
- Load the weather station code into Arduino IDE.
-
Upload the code to your Arduino UNO.
🖥 View Results
- Open Serial Monitor (top right corner of Arduino IDE).
- Set baud rate to 9600.
- You’ll see real-time readings like this: