Differences

This shows you the differences between two versions of the page.

Link to this comparison view

iothings:proiecte:2023sric:msama [2024/05/30 06:06]
alin_calin.dutu [Problem Description]
iothings:proiecte:2023sric:msama [2024/05/30 08:20] (current)
alin_calin.dutu [Hardware]
Line 11: Line 11:
  
 ==== Problem Description ==== ==== Problem Description ====
- +In 2022 it became mandatory for car companies to include an essential kit with assistance and safety sensors in their new models, but some models still lack essential sensors. However, according to DRPCIV, at the end of 2023, more than 81% of the cars in Romania had been used for more than 10 years [[msama#​references|[1]]], so it is clear that most of them don't have the essential set of sensors. So this project aims to implement a system that makes the sensor integration in cars straightforward and easy to understand.
-In 2022 it became mandatory for car companies to include an essential kit with assistance and safety sensors in their new models, but some models still lack essential sensors. However, according to DRPCIV, at the end of 2023, more than 81% of the cars in Romania had been used for more than 10 years [[msama#​references|1]],​ so it is clear that most of them don't have the essential set of sensors. So this project aims to implement a system that makes the sensor integration in cars straightforward and easy to understand.+
  
 ===== Architecture ===== ===== Architecture =====
Line 25: Line 24:
 ==== Hardware ==== ==== Hardware ====
 === Components List === === Components List ===
-  * 4 x ESP-WROOM-32\+  * 4 x ESP-WROOM-32
   * 1 x Arduino Uno   * 1 x Arduino Uno
   * 1 x NodeMCU32S   * 1 x NodeMCU32S
   * 2 x HC-SR04   * 2 x HC-SR04
   * 1 x DHT11   * 1 x DHT11
-  * 1 x MQ7 
   * 1 x Wi-Fi ESP32-CAM   * 1 x Wi-Fi ESP32-CAM
   * 1 x BMP280   * 1 x BMP280
Line 73: Line 71:
  
 == Broker Module == == Broker Module ==
-The broker module consists of an ESP32 that will mainly collect all the data sent to it, process it, and send it to the Firebase module through Wi-Fi. Additionally,​ the module has a button that will trigger the gear_mode which will be discussed in the [[msama#​software|Software section]].\\+-- Reference here\\ 
 +The broker module consists of an ESP32 that will mainly collect all the data sent to it, process it, and send it to the Firebase module through Wi-Fi. Additionally,​ the module has a button that will trigger the gear_mode which will be discussed in the [[msama#​software|[Software section]]].\\
 The circuit diagram: The circuit diagram:
  
Line 85: Line 84:
 === MQTT protocol === === MQTT protocol ===
  
-MQTT is an OASIS standard messaging protocol for the Internet of Things (IoT). It is designed as an extremely lightweight publish/​subscribe messaging transport which is ideal for connecting remote devices with a small code footprint and minimal network bandwidth. MQTT today is used in various industries, such as automotive, manufacturing,​ telecommunications,​ oil and gas, etc.[2]. For the project, the MQTT is used to easily transfer data from multiple sensors to a single broker that will process all the data provided by the sensors with some functionality additions. The MQTT communication visualization is presented as follows:+MQTT is an OASIS standard messaging protocol for the Internet of Things (IoT). It is designed as an extremely lightweight publish/​subscribe messaging transport which is ideal for connecting remote devices with a small code footprint and minimal network bandwidth. MQTT today is used in various industries, such as automotive, manufacturing,​ telecommunications,​ oil and gas, etc. [[msama#​references|[2]]]. For the project, the MQTT is used to easily transfer data from multiple sensors to a single broker that will process all the data provided by the sensors with some functionality additions. The MQTT communication visualization is presented as follows:
  
 {{ :​iothings:​proiecte:​2023sric:​msama-mqtt-protocol.drawio.png?​nolink&​700 |}} {{ :​iothings:​proiecte:​2023sric:​msama-mqtt-protocol.drawio.png?​nolink&​700 |}}
Line 118: Line 117:
   * Dashcam screen   * Dashcam screen
   * Parking mode screen   * Parking mode screen
-  *  
 == Car status screen == == Car status screen ==
  
Line 153: Line 151:
 ===== Results ===== ===== Results =====
  
- +  *  [[https://​drive.google.com/​file/​d/​14Jysw1xTE-Di58k-lfeYa--UVa4MZZf3/​view?​usp=sharing | Demo Firebase database]] 
 +  ​* ​ [[https://​drive.google.com/​file/​d/​1MrtXqs0ulWYbTQywI7b4PM8juwMydfHG/​view?​usp=sharing | Demo mobile app]]
 ===== Conclusions and Future work ===== ===== Conclusions and Future work =====
  
Line 162: Line 160:
  
 ===== References ===== ===== References =====
 +
 +==== Tutorials ====
 +  * Tutorial DHT11 - https://​randomnerdtutorials.com/​esp32-dht11-dht22-temperature-humidity-web-server-arduino-ide/​
 +  * Tutorial ESP32 Cam - https://​randomnerdtutorials.com/​upload-code-esp32-cam-mb-usb/​
 +  * Tutorial HC-SR04 - https://​randomnerdtutorials.com/​esp32-hc-sr04-ultrasonic-arduino/​
 +  * Tutorial BMP280 - https://​www.electronicwings.com/​esp32/​bmp280-barometer-sensor-interfacing-with-esp32
 +
 +==== Libraries ====
 +  * PicoMQTT - https://​github.com/​mlesniew/​PicoMQTT
 +  * Firebase ESP Client - https://​github.com/​mobizt/​Firebase-ESP-Client/​tree/​main
 +  * MQ7 - https://​github.com/​fjebaker/​MQ7
 +
 +==== MIT plugins ====
 +  * CustomWebView plugin - https://​github.com/​vknow360/​CustomWebView/​tree/​master
 +  * FastBase - https://​community.appinventor.mit.edu/​t/​fastbase-extension-to-retrieve-data-from-firebase/​97538
 +
 +==== Other references ====
 +[1] - Parc auto la data de 31.12.2023 - DRPCIV - https://​dgpci.mai.gov.ro/​news-details/​statistica/​65bb3a421f34e39b8431ba42\\ ​
 +[2] - Mqtt protocol - https://​mqtt.org/​
iothings/proiecte/2023sric/msama.1717038365.txt.gz · Last modified: 2024/05/30 06:06 by alin_calin.dutu
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0