Differences

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

Link to this comparison view

pm:prj2023:apredescu:laser_distance [2023/05/07 14:36]
flaviu.popescu
pm:prj2023:apredescu:laser_distance [2023/05/28 14:35] (current)
flaviu.popescu
Line 2: Line 2:
 ===== Introducere ===== ===== Introducere =====
  
-<note tip> +The Laser Measurement Device is digital tool designed to measure the distance between two points. This project originated from the desire to enhance traditional analog measuring devices, providing ​more efficient and potentially more accurate method of distance measurement. The usefulness of this device extends to various fields, such as construction,​ surveying, and DIY projects, where precise measurement is required​ 
-Prezentarea pe scurt proiectului vostru: +
-  * ce face +
-  * care este scopul lui +
-  * care fost ideea de la care aţi pornit +
-  * de ce credeţi că este util pentru alţii şi pentru voi +
-</​note>​+
 ===== Descriere generală ===== ===== Descriere generală =====
  
-<note tip> +The device employs an array of hardware ​components, including an Arduino microcontroller,​ an OLED display, ​laser distance sensor, ​laser diode, a gyroscope, and a microswitchThe software module, running on the Arduino, processes the measurements and controls the interaction between these componentsHowever, the device currently suffers from accuracy issues, likely due to the use of low-cost components and the inherent complexity of the measurements it attempts to perform​
-O schemă bloc cu toate modulele proiectului vostru, atât software cât şi hardware ​însoţită de o descriere ​acestora precum şi modului în care interacţionează. +
- +
-Exemplu de schemă bloc: http://www.robs-projects.com/​mp3proj/​newplayer.html +
-</​note>​+
  
 ===== Hardware Design ===== ===== Hardware Design =====
  
-<note tip> +The Laser Measurement Device uses the following components
-Aici puneţi tot ce ţine de hardware design+  ​- Arduino microcontroller 
-  ​* listă de piese +  - OLED display 
-  ​* scheme electrice (se pot lua şi de pe Internet şi din datasheet-urie.ghttp://www.captain.at/electronic-atmega16-mmc-schematic.png) +  - Laser distance sensor 
-  * diagrame de semnal ​ +  - Laser diode 
-  * rezultatele simulării +  - Gyroscope 
-</​note>​+  - Microswitch 
 + 
 +These components are interconnected based on electrical schematics derived from the datasheets and usage guides of each component. Simulations during the design phase aided in fine-tuning the operation of the device 
 + 
 +In addition to the electronic componentsa significant part of the hardware design involved creating a custom enclosure for the deviceThe enclosure was designed using Fusion360, a popular 3D modeling software, and subsequently 3D printedThis approach allowed for a tailored fit of all the components, ensuring a compact and portable deviceThe design of the box was carefully thought out to provide easy access to the device'​s controls while protecting the sensitive ​electronic ​components inside 
 + 
 +{{:​pm:​prj2023:​apredescu:​img_20230528_135113.jpg?​800|}} 
 +{{:​pm:​prj2023:​apredescu:​img_20230528_135149.jpg?​400|}}
  
 ===== Software Design ===== ===== Software Design =====
  
 +The software for the Laser Measurement Device is developed in the Arduino IDE. The code includes libraries for the OLED display, the laser distance sensor, and the gyroscope, among others. Also, it uses the Madgwick filter for sensor fusion, which is crucial in calculating the distance accurately
  
-<note tip> +The software first measures the initial distance and orientation,​ stores these values, and then measures the final distance and orientation. It then calculates the actual distance moved in 3D space using these measurements. However, due to potential inaccuracies in sensor readings and the assumptions made in the calculations,​ the computed distance might not always match the actual distance moved 
-Descrierea codului aplicaţiei (firmware)+ 
-  mediu de dezvoltare (if any) (e.gAVR StudioCodeVisionAVR) +The software part of the project is designed in C++ and is intended to run on an Arduino board. The codebase is modular and includes several custom libraries to manage the different functions of the project
-  librării şi surse 3rd-party (e.gProcyon AVRlib) + 
-  algoritmi şi structuri pe care plănuiţi să le implementaţi +**common.h** – A header file that contains definitionsconfigurations,​ and utility functions that are used across the entire project. 
-  * (etapa 3surse şi funcţii implementate + 
-</​note>​+**distance.h** – A header file responsible for measuring distances. This is especially important for the project as the primary function is to calculate the distance between two points
 + 
 +**display.h** – A header file that manages the display of information on an external device. 
 + 
 +**gyro.h** – A header file that manages the gyroscope sensor data. This information is used in conjunction with the distance measurements to calculate the three-dimensional displacement of the device. 
 + 
 +The main algorithm is responsible for the calculation of the displacement of the device. The device records two distance measurements,​ and from these, it calculates the displacement in three dimensions ​(x, y, z). The calculation uses the pitch and yaw data from the gyroscope to account for the rotation of the device 
 + 
 +The code uses the MadgwickAHRS library for sensor fusion, which is a method used to combine data from multiple sensors to improve the quality and reliability of the data 
 + 
 +The software is designed to be robust and accurate, with the ability to handle errors and uncertainties in the sensor data
  
 ===== Rezultate Obţinute ===== ===== Rezultate Obţinute =====
  
-<note tip> +Although the Laser Measurement Device conceptually offers an innovative approach to distance measurement,​ in practice, it currently falls short in terms of accuracyThis discrepancy is likely due to the use of low-cost components and the inherent complexity of the calculations involved. Further improvements and calibration are necessary to enhance the accuracy of the device
-Care au fost rezultatele obţinute în urma realizării proiectului vostru. +
-</​note>​+
  
 ===== Concluzii ===== ===== Concluzii =====
  
-===== Download =====+The Laser Measurement Device represents a step forward in the digitalization of traditional measuring tools. With its capability to measure distances in a digital and potentially more precise manner, it holds significant promise. While the current iteration of the device has shown room for improvement,​ it nonetheless serves as a crucial stepping stone towards a more accurate and reliable digital distance measurement tool.
  
-<note warning>​ +The project'​s combination of various hardware componentssuch as the Arduino microcontrollerlaser distance sensorand gyroscopeshowcases the power of integrating different technologiesMoreover, the software design exhibits the potential of applying advanced algorithms and sensor fusion techniques in practical applications
-O arhivă (sau mai multe dacă este cazul) cu fişierele obţinute în urma realizării proiectului:​ surseschemeetc. Un fişier READMEun ChangeLogun script de compilare şi copiere automată pe uC crează întotdeauna o impresie bună ;-).+
  
-Fişierele se încarcă pe wiki folosind facilitatea **Add Images or other files**Namespace-ul în care se încarcă fişierele este de tipul **:​pm:​prj20??:​c?​** sau **:​pm:​prj20??:​c?:​nume_student** (dacă este cazul). **Exemplu:​** Dumitru Alin331CC -> **:​pm:​prj2009:​cc:​dumitru_alin**. +Despite the challenges faced in terms of accuracy, the project has been an invaluable learning experienceIt underscores the importance of careful component selectionmeticulous algorithm design, and thorough testing in the development of an electronic deviceAs the project progresses, these learnings will undoubtedly serve as a guide towards refining the device and achieving better accuracy in future iterations
-</​note>​+
  
-===== Jurnal =====+In conclusion, the Laser Measurement Device project is an exciting venture in the field of digital measuring tools. With ongoing improvements and refinements,​ it has the potential to revolutionize the way we measure distances, ultimately providing benefits in various applications ranging from construction and surveying to personal DIY projects
  
-<note tip> +===== Download =====
-Puteți avea și o secțiune de jurnal în care să poată urmări asistentul de proiect progresul proiectului. +
-</​note>​+
  
-===== Bibliografie/​Resurse =====+{{:​pm:​prj2023:​apredescu:​electronic_meter.zip|}}
  
-<​note>​ +===== Bibliografie/​Resurse ​=====
-Listă cu documente, datasheet-uri,​ resurse Internet folosite, eventual grupate pe **Resurse ​Software** şi **Resurse Hardware**. +
-</​note>​+
  
-<​html><​a class="​media mediafile mf_pdf"​ href="?​do=export_pdf">​Export to PDF</​a></​html>​+Various resources were utilized in the development of the Laser Measurement Device. These resources include datasheets for the hardware components, libraries for managing the components, and online tutorials and guides for the Arduino platform
pm/prj2023/apredescu/laser_distance.1683459408.txt.gz · Last modified: 2023/05/07 14:36 by flaviu.popescu
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