This shows you the differences between two versions of the page.
iothings:proiecte:2022:lorabasedrealtimeaquisitionsystem [2023/01/15 20:21] mihai_paul.firtala |
iothings:proiecte:2022:lorabasedrealtimeaquisitionsystem [2023/01/20 11:19] (current) mihai_paul.firtala |
||
---|---|---|---|
Line 4: | Line 4: | ||
=== 1. Introduction === | === 1. Introduction === | ||
- | The project aims to provide real time data acquisition (suspension force, GPS) capabilities for UPB Drive's formula student race car. The system consists of 2xESP32 microcontrollers transferring data using 2xLoRa transceivers. One ESP32 is equipped with additional sensors such as linear potentiometers and a GPS module and will be mounted on the car to track the posistion and measure the suspension force. These data will further be sent via LoRa protocol to the second ESP32 which is connected to the local WiFi router and will load the received information to a server which can be accessed using WebSocket protocol. | + | The project aims to provide real time data acquisition (suspension force, GPS, accelerations etc.) capabilities for UPB Drive's formula student race car. The system consists of 2xESP32 microcontrollers transferring data using 2xLoRa transceivers. For this project only the suspension force will be measured because the GPS and the accelerometer malfunctioned. One ESP32 is equipped with additional sensors such as linear potentiometers and will be mounted on the car to measure the suspension force which will be translated into a variable voltage that will be captured by the internal ADC of the ESP32. These data will further be sent via LoRa protocol to the second ESP32 which is connected to the local WiFi router and will load the received information to a server which can be accessed using WebSocket protocol. |
=== 2. Hardware === | === 2. Hardware === | ||
Line 12: | Line 12: | ||
* 2 x LoRa modules (868 MHz) | * 2 x LoRa modules (868 MHz) | ||
* 1 x GPS module | * 1 x GPS module | ||
+ | * 2 x 868 MHz antennas (or 8.2 cm wires) | ||
* Jumper wires | * Jumper wires | ||
* Micro USB data cable | * Micro USB data cable | ||
Line 17: | Line 18: | ||
{{:iothings:proiecte:2022:paulfirtala_acqsys.jpg?500|}} | {{:iothings:proiecte:2022:paulfirtala_acqsys.jpg?500|}} | ||
+ | |||
+ | Fig. 2.1. - Overview diagram | ||
+ | |||
+ | {{:iothings:proiecte:2022:upb_drive_rtas-connections2.jpg?500|}} | ||
+ | |||
+ | Fig. 2.2. - Electrical wiring | ||
+ | |||
+ | {{:iothings:proiecte:2022:paulf_1.jpeg?300|}} {{:iothings:proiecte:2022:paulf_3.jpeg?300|}} | ||
+ | |||
+ | Fig. 2.3. - Acquisition System | ||
+ | |||
=== 3. Software === | === 3. Software === | ||
Line 69: | Line 81: | ||
=== 5. Conclusions === | === 5. Conclusions === | ||
+ | Although the approach of acquiring the data in this manner is not the most efficient one because the baud rate is limited, this approach provide the capability to observe and analyze the behavior of the monopost in real time. | ||
+ | |||
+ | Here is a link to the github repository: | ||
+ | https://github.com/BlackSeaArmadillos/RTASdrive/tree/develop | ||
+ | |||
+ | Video can be seen on my YouTube channel: https://www.youtube.com/watch?v=LqijF9BFF4c | ||
=== 6. Resources === | === 6. Resources === | ||
+ | https://randomnerdtutorials.com/esp32-lora-rfm95-transceiver-arduino-ide/ | ||
+ | https://randomnerdtutorials.com/esp32-adc-analog-read-arduino-ide/ |