# Position Tracking with Embedded Systems ## Introduction For this project we want to design an embedded system that can track a users position. We want to track their current position on the ground. This system will be used to track their position to determine if a user is doing the exercises correctly. ## Objectives - Design an embedded system that can track user position. - Develop an algorithm to process the data from the sensor and determine the user's position. - Sync the code to the current task for the user. ## Research and Analysis ### Choosing the sensor For this project we have chosen LDR's as our primary sensor. The LDR's will be placed on the ground in a board and the user will stand on top of the board. The LDR's will be used to track the user's position. The LDR's will be connected to the esp32s3 microcontroller and the data will be processed to determine the user's position. We have chosen this sensor since it's one of the easiest and cheapest solutions to our problem. Other sensors like pressure sensors, accelerometers, and Wii Balance Board are either too expensive, not the most optimal for the task, or hard to integrate with other systems. ### Alternative Solutions There are other sensors that can be used for position tracking, such as pressure sensors, Wii Balance Board or accelerometers. However, these sensors are either too expensive, not the most optimal for the task or hard to integrate with other systems. Example of other sensors that can be used for position tracking: Wii Balance Board: - Description: The Wii Balance Board is a balance board that can measure a user's weight and center of balance. - Pros: Low-cost. - Cons: Very hard to intergrate with other systems. - Cost: ~ 20 euros (https://www.amazon.nl/Nintendo-Wii-Balance-Board-Wii/dp/B0013E9HP6) Pressure sensors: - Description: Pressure sensors can be used to measure the force applied by the user on the ground. By measuring the pressure distribution, the user's position can be determined. - Pros: High accuracy, can measure force applied by the user. - Cons: Expensive, will require additional hardware for data transfer. - Cost: ~ 33 euros (https://www.antratek.nl/flexiforce-a401-sensor-25lbs?gad_source=1&gclid=CjwKCAjwupGyBhBBEiwA0UcqaMMrIXGafsF2oE-15JaTPT5tDhfCyDHz2D2gSghyPvg11okv_QIFThoCw5oQAvD_BwE) Accelerometers: - Description: Accelerometers can be used to measure the user's acceleration and orientation. By integrating the acceleration data, the user's position can be determined. - Pros: Can measure acceleration and orientation, cheap. - Cons: Will require additional hardware for data transfer. - Cost: ~ 5 euros (https://www.amazon.nl/versnellingsmeter-gyroscoop-versnellingssensor-converter-gegevensuitgang/dp/B07BVXN2GP/ref=asc_df_B07BVXN2GP/?tag=nlshogostdde-21&linkCode=df0&hvadid=430548884871&hvpos=&hvnetw=g&hvrand=5187253011954678898&hvpone=&hvptwo=&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=1010543&hvtargid=pla-928293154057&psc=1&mcid=43bf111afa7b3ba593f4a49321683352) ### System Requirements To be added ## System Design ### Hardware The hardware of the system will consist of the following components: - LDR: The sensor that will be used to track the user's position based on the light intensity. - ESP32S3: The microcontroller that will process the data from the LDR. - Pepper: The controller that will recieve the processed data from the ESP32S3 and will sync the data to the current task for the user. #### Connection diagram To be added ### Software To be added ### Integration To be added ## Implementation ### Prototyping To be added ### Testing and Validation To be added ## Conclusion To be added ## References [Bluetooth Discovery](https://developer.android.com/develop/connectivity/bluetooth/find-bluetooth-devices) ## Appendices To be added