This project simulates an "In-Vehicle Smart Safety and Control System" based on the Arduino Mega 2560 platform
Bu proje, Arduino Mega 2560 mikrodenetleyicisi ve çeşitli sensörler kullanılarak geliştirilen bir araç içi güvenlik ve konfor simülasyonudur. Sistem; motor başlatma, emniyet kemeri kontrolü, klima ve far kontrolü, yakıt seviyesi izleme ve kapı durumu gibi hayati fonksiyonları yerine getirir.
This project simulates a smart in-vehicle safety and control system using an Arduino Mega 2560 microcontroller and various sensors. The system includes key functionalities like engine start, seatbelt check, climate and headlight control, fuel level monitoring, and door status verification.
- 👨💻 Arduino Mega 2560
- 🖥️ Proteus (simulation)
- 🧪 Arduino IDE (coding)
- 🔧 Sensörler: LDR, LM35, Potansiyometre, Buton, Anahtar
- 💡 Çıkışlar: LED, LCD (16x2), Buzzer, DC Motor
| Özellikler (TR) | Features (EN) |
|---|---|
| Emniyet kemeri takılmadan motor çalışmaz | Engine won't start unless seatbelt is fastened |
| Sıcaklık 25°C üstü ise klima açılır | Climate turns on if temperature > 25°C |
| Ortam ışığı düşükse farlar açılır | Headlights turn on in low light conditions |
| Yakıt seviyesi düştükçe uyarı verilir | Fuel alerts are shown as level drops |
| Kapı açıkken motor çalışmaz | Engine won't start if the door is open |
| LCD ekran tüm durumu gösterir | LCD displays system status |
- ✅ Motor Başlatma & Kemer Kontrolü: Kemer takılmazsa motor çalışmaz, buzzer uyarı verir.
- 🔥 Klima Otomasyonu: LM35 sensöründen okunan sıcaklık > 25°C → Klima çalışır.
- 🌙 Far Otomasyonu: Ortam ışığı < 250 → Farlar (LED) açılır.
- ⛽ Yakıt Takibi:
- %10 altı: Sarı LED yanar.
- %5 altı: Sarı LED yanıp söner.
- %0: Motor kapanır, LCD uyarı verir.
- 🚪 Kapı Durumu: Kapı açıksa RGB LED aktif, motor çalışmaz.
project/
├── Proteus_Simulation_Diagram.png # Devre şeması
├── project_code.ino # Arduino kodları
├── README.md # Proje açıklaması
Follow these steps to simulate the system using Arduino IDE and Proteus:
- Open
project_code.inoin Arduino IDE. - If you have a Proteus file (.pdsprj), open it in Proteus.
- Upload the code to the simulated Arduino Mega 2560 in Proteus.
- Simulate the project and test interactions:
- Use switches to toggle seatbelt and door states.
- Observe changes in LEDs, LCD, and buzzer for each scenario.
- Modify sensor values (temperature, light, fuel) and observe the system's reactions.
Note: Proteus must be correctly configured with sensors (LDR, LM35, etc.) and connected to the Arduino pins matching the
.inocode.
Arduino IDE ve Proteus kullanarak sistemi çalıştırmak için şu adımları izleyin:
project_code.inodosyasını Arduino IDE ile açın.- Elinizde bir Proteus devre dosyası (.pdsprj) varsa, Proteus programında açın.
- Kodunuzu simülasyondaki Arduino Mega 2560 üzerine yükleyin.
- Simülasyonu başlatın ve senaryoları test edin:
- Emniyet kemeri ve kapı anahtarlarını aç/kapa yaparak test edin.
- LED, LCD ve buzzer tepkilerini gözlemleyin.
- Sıcaklık, ışık ve yakıt gibi sensör değerlerini değiştirerek sistemin davranışlarını izleyin.
Not: Proteus’ta kullanılan sensörlerin (LDR, LM35 vs.)
.inodosyasındaki pinlerle uyumlu şekilde bağlandığından emin olun.
- Rahime Uysal – Kodlama, Donanım Testleri
- Zeynep Vuslat Solmaz – Algoritma, Proteus Devre Tasarımı, Raporlama
Arduino Mega · Araç Güvenlik Sistemi · Proteus · Sensör · LCD · Motor Kontrolü · Akıllı Sistem · Seatbelt Safety · Temperature Control · Fuel Warning