Skip to content

Simulate a smartwatch with FreeRTOS tasks using ESP-IDF’s QEMU emulator (no hardware needed).

Notifications You must be signed in to change notification settings

fikrimusa/smartwatch_simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smartwatch Simulator (FreeRTOS + ESP-IDF)

ESP-IDF FreeRTOS QEMU

🔍 Project Highlights

Core Innovation: Developed a realistic heart-rate simulation demonstrating FreeRTOS capabilities using ESP-IDF's QEMU emulator.

Key Features

Feature Description FreeRTOS Element Used
❤️ Heart-rate Sensor Simulated values (60-140 BPM) with workout mode Tasks + Event Groups
👟 Step Counter Auto-increments with CLI reset capability Software Timers
🕒 Time/Date Simulated real-time clock NVS Storage
🔘 CLI Interface Virtual buttons via terminal input Queue

Getting Started

Prerequisites

  • ESP-IDF v5.5+
  • QEMU (included with ESP-IDF)
  • Python 3.8+

Project Structure

smartwatch-simulator/
├── main/              # Core application
├── components/
│   └── cli/           # Command interface
│   ├── common/        # Global header
│   └── datetime/      # datetime interface
│   ├── heart_rate/    # BPM simulation
│   ├── memory/        # Memory monitoring
│   ├── step_counter/  # Pedometer logic
└── partitions.csv     # Memory allocation

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

Simulate a smartwatch with FreeRTOS tasks using ESP-IDF’s QEMU emulator (no hardware needed).

Topics

Resources

Stars

Watchers

Forks