Welcome to the Arduino BLE HomeLink! This app connects to your Arduino BLE device to provide seamless wireless communication.
- Temperature Monitoring: Displays the current temperature.
- Humidity Monitoring: Displays the current humidity.
- Air Quality Monitoring: Displays the current air quality index (AQI).
- Signal Strength: Shows the signal strength of the connected BLE device.
Watch the demo GIF to see Arduino BLE HomeLink in action:
To set up your Arduino for BLE communication, follow these steps:
-
Hardware Requirements:
- Arduino Uno R4 WiFi
- DHT22 sensor for temperature and humidity
- MQ135 sensor for air quality
- 20x4 I2C LCD for displaying data
- Breadboard and connecting wires
-
Software Requirements:
- Arduino IDE
- Necessary Arduino libraries:
ArduinoBLE.hlibraryDHT.hby AdafruitLiquidCrystal_I2C.hfor LCD
-
Connections:
- Connect the DHT22 sensor to the Arduino:
- VCC to 5V
- GND to GND
- Data pin to digital pin 4
- Connect the MQ135 sensor:
- VCC to 5V
- GND to GND
- Analog output to A0
- Connect I2C LCD:
- VCC to 5V
- GND to GND
- SDA to A4
- SCL to A5
- Connect the DHT22 sensor to the Arduino:
To run this app, you need to have Xcode installed on your Mac. Follow the steps below to set it up:
-
Clone the repository:
git clone https://github.com/your-repo/arduino-ble-homelink.git cd arduino-ble-homelink -
Open the project in Xcode:
open HomeLink.xcodeproj
-
Build and run the app on your simulator or device.
- Start the App: Launch the app on your iOS device.
- Connect to BLE Device: Click on "Get Started" to scan for and connect to your Arduino BLE device.
- Monitor Data: View the temperature, humidity, and air quality data on the home screen.
- Check Signal Strength: The signal strength indicator shows the connection quality.
- Xcode 12.0 or later
- iOS 14.0 or later
-
Open the project in Xcode:
open HomeLink.xcodeproj
-
Select your target device or simulator.
-
Press
Cmd + Rto build and run the project.
HomeLink/: Contains the main project files.HomeLink/Views/: Contains SwiftUI view files.HomeLink/Model/: Contains model files.HomeLink/Manager/: Contains BLE management files.


