Geschwindigkeitsmessstrecke mit Arduino: Unterschied zwischen den Versionen

Aus HSHL Mechatronik
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 22: Zeile 22:
==== Current status of the Speed Tracker ====
==== Current status of the Speed Tracker ====


It is not fully functional. Need to reset it before every time measuring speed. It is giving random result even if there is no testing.
The sensor parts are fully functional.  
Probable cause:
The display board of the measured speed is under development
1. Error in measurement algorithm
2. Error in source code
3. Faulty wiring
4. Defective sensor or other hardware parts





Version vom 16. Mai 2023, 12:30 Uhr


Author: Syed Rafsan Ishtiaque
Category: Part of Main Internship
Duration: 02.05.2023 - 00:00:0000
Supervisor: Prof. Dr.-Ing Ulrich Schneider


Objective

Developing the speed measuring unit for any car project

Hardware

Sensor

1. Sharp 2D120X F 09

The Sharp distance measuring sensor is used to determine the speed/ velocity of the car unit. In this case, two identical sensors were used. According to the manufacturer SHARP, the range of the sensor is 4 cm to 30 cm, typical response time apprx. 39 ms, typical start up delay apprx. 44 ms, Average Current Consumption: 33 mA. The operating temperature is -10°C to 60°C, so that is ideal for this project as it is initially an indoor project. according to the stamp on the sensor, the manufacturing date was September 2016. According to the data sheet, the sensor should be mounted on any frame in such way that it gives the optimum result. For that the general instructions are available on the Data Sheet.

Current status of the Speed Tracker

The sensor parts are fully functional. The display board of the measured speed is under development


Display

LED Based 8 segment display

A simple LED based 8 segment display will be implemented for the project

Future development

Instead of using a led based display we can implement MQTT protocol to get the end result from the sensor in our smartphone with help of raspberry pi. That will allow to record the result more conveniently. During the implementation of MQTT protocol, the raspberry pi module will work as MQTT broker and both Arduino and Smartphone will be MQTT client. The broker will receive sensory data from the Arduino (1st client) and then it will forward the message to the smartphone (2nd client). As the system will only be used to receive the data collected by the sensor and processed by the arduino and not to control the sensor, it will be uni-directional; that means we will opt out the part to control any sensor from the smartphone application.