{"id":18717940,"url":"https://github.com/zazi2002/pedometer-project","last_synced_at":"2025-11-10T13:30:21.993Z","repository":{"id":255838248,"uuid":"853718125","full_name":"ZaZi2002/Pedometer-Project","owner":"ZaZi2002","description":"Sensory \u0026 Measurment project, simulating pedometer by designing analog circuit in LTSpice and processing its signal in MATLAB. ","archived":false,"fork":false,"pushed_at":"2024-09-07T17:36:39.000Z","size":4860,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-28T10:44:35.527Z","etag":null,"topics":["analog-circuit","ltspice","matlab","pedometer","sensor-measurement"],"latest_commit_sha":null,"homepage":"","language":"MATLAB","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ZaZi2002.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-07T10:40:17.000Z","updated_at":"2024-09-09T14:57:40.000Z","dependencies_parsed_at":"2024-09-07T11:51:08.889Z","dependency_job_id":"caf639ef-2885-4499-a2a1-6d55a8c2fd7c","html_url":"https://github.com/ZaZi2002/Pedometer-Project","commit_stats":null,"previous_names":["zazi2002/pedometer-project"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZaZi2002%2FPedometer-Project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZaZi2002%2FPedometer-Project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZaZi2002%2FPedometer-Project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZaZi2002%2FPedometer-Project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZaZi2002","download_url":"https://codeload.github.com/ZaZi2002/Pedometer-Project/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239581793,"owners_count":19662958,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["analog-circuit","ltspice","matlab","pedometer","sensor-measurement"],"created_at":"2024-11-07T13:18:35.818Z","updated_at":"2025-11-10T13:30:21.922Z","avatar_url":"https://github.com/ZaZi2002.png","language":"MATLAB","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pedometer Project\n\n## Overview\n\nThis project simulates a pedometer system using two methods:\n1. Analog circuit simulation with LTSpice\n2. Signal processing and analysis using MATLAB\n\n## LTSpice Simulation\n\n![Pedometer full circuit](https://github.com/user-attachments/assets/2d1206a0-a9df-4628-8680-411362b8c149)\n\nThe LTSpice simulation includes the following components:\n- **Input Signal**: Represents the accelerometer data.\n- **Pre-Amplifier**: Amplifies the input signal.\n- **Low Pass Filter**: Removes high-frequency noise.\n- **High Pass Filter**: Removes low-frequency noise.\n- **Comparator**: Converts the filtered signal into a digital signal.\n- **Binary Counter**: Counts the number of steps based on the digital signal.\n\n## MATLAB Code\n![Filtered signals 1](https://github.com/user-attachments/assets/a8c62ed6-3427-4cbc-9d97-d1107f06abd6)\n\nThe MATLAB code processes accelerometer data to simulate a pedometer. The key steps include:\n\n1. **Loading Data**: Loads the recorded accelerometer data.\n2. **Generating Noisy Signals**: Adds white noise to the X, Y, and Z axis data.\n3. **Filtering Signals**: Applies a bandpass filter to the noisy signals.\n4. **Generating Accelerometer Signal**: Combines the X, Y, and Z axis signals to generate a single accelerometer signal.\n5. **Generating Pulse Wave**: Creates a pulse signal based on a predefined threshold.\n6. **Counting Steps**: Counts the number of steps detected from the pulse signal.\n\n## Results\n\n- **Noisy Signal Plots**: Visual representation of the noisy signals for X, Y, and Z axes.\n- **Filtered Signal Plots**: Visual representation of the filtered signals for X, Y, and Z axes.\n- **Combined Signal Plot**: Shows the combined accelerometer signal.\n- **Fourier Transform Plot**: Provides frequency domain analysis of the combined signal.\n- **Pulse Signal Plot**: Displays the generated pulse signal indicating detected steps.\n- **Steps Count**: Shows the total number of steps detected.\n\n## Requirements\n\n- MATLAB\n- LTSpice (for analog simulation)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzazi2002%2Fpedometer-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzazi2002%2Fpedometer-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzazi2002%2Fpedometer-project/lists"}