Posts

Week 4 - Final Debugging & System Integration

Image
🚀 Week 4 - Final Debugging & System Integration 📅 Date: 2025-02-17 – 2025-02-23 🏷️ Tags : Year 2 Project, ESP32-S3, Smart Knob, HID Debugging, Motor Control, System Integration 🎯 This Week's Goals Debug Surface Dial integration with PC software to ensure seamless operation. Further optimize motor control logic, force feedback, and fine-tune torque adjustments . Test and validate Bluetooth HID performance under different usage scenarios . Integrate all components and conduct final system-wide debugging . 🔹 1️⃣ Debugging Surface Dial Integration To achieve full Surface Dial compatibility , we implemented and debugged the BLE HID reports to match Microsoft's expected input format. ✅ Implemented precise rotation event handling . ✅ Mapped the knob's movements to left/right dial rotation events . ✅ Fine-tuned Bluetooth connectivity to improve stability . 📌 Code Implementation - Surface Dial BLE HID Reports ✅ What This Does: Handles Surface Dial-style rotation events ...

Week 3 - Advanced HID Control, Motor Optimization

Image
🚀 Week 3 - Advanced HID & Motor Optimization 📅 Date: 2025-02-10 – 2025-02-16 🏷️ Tags : Year 2 Project, ESP32-S3, Smart Knob, HID Expansion, FOC, Force Feedback 🎯 This Week's Goals Expand Bluetooth HID functionalities to include more input methods (keyboard shortcuts, Surface Dial emulation). Optimize motor control using Field-Oriented Control (FOC) to improve force feedback. Improve real-time motor response to user interactions . Integrate Bluetooth HID with force feedback for dynamic resistance changes . 🔹 1️⃣ Enhancing HID Functionality To make the Smart Knob more versatile , we expanded its HID (Human Interface Device) capabilities , allowing: ✅ Rotational input mapped to scrolling, zooming, and volume control . ✅ Clicking the knob to perform shortcut actions (e.g., Ctrl+Z, Enter, Tab switching) . ✅ Long press and double-click for advanced functions . ✅ Integration with Surface Dial API for better Windows compatibility. 📌 Code Implementation - BLE HID Shortcuts We m...

Week 2 - Bluetooth Connection, HID Control & Motor Optimization & 3D Printed Housing

Image
Week 2 - Bluetooth Connection, HID Control & Motor Optimization & 3D  Printed Housing 📅 Date: 2025-02-09 – 2025-02-15 🏷️ Tags : Year 2 Project, ESP32-S3, Smart Knob, HID, Bluetooth, FOC 🎯 This Week's Goals Implement Bluetooth HID communication so that the ESP32-S3 can act as a wireless input device. Integrate motor control with force feedback to improve user interaction. Test and refine the Bluetooth HID response time and stability. Design a suitable 3D knob housing 🔹 1️⃣ Bluetooth HID Integration To enable wireless control, we implemented Bluetooth HID (Human Interface Device) on the ESP32-S3, allowing the knob to function as a mouse, keyboard, and Surface Dial alternative. 📌 Key Features Implemented ✅ Rotational input for scrolling (mapped to arrow keys or volume control). ✅ Short press for click-like actions (e.g., Enter, Ctrl + Z). ✅ Long press and hold for function switching (e.g., toggle between scrolling & zooming). ✅ Bluetooth auto-reconnect support for sea...

Week 1 - Hardware Assembly & Connections

Image
🚀 Week 1 - Hardware Assembly & Connections 📅 Date: 2025-01-27 – 2025-02-02 🏷️ Tags : Year 2 Project, ESP32-S3, Smart Knob, Hardware Setup, Motor Wiring 🎯 This Week's Goals Familiarize with all hardware components used in the project. Assemble the Smart Knob hardware , including screen, motor, and control board. Connect the ESP32-S3 development board with the motor driver and screen driver. Verify basic hardware functionality , ensuring proper power and signal transmission 📌 Hardware Materials This week, we begin assembling the SuperDial Smart Knob . Since we are using a pre-assembled ESP32-S3 development board , we do not need to solder the main control board, but we still need to properly connect the motor driver board, screen driver board , and complete the full hardware assembly.   Hardware Components Overview   🔹 Additional Components Component Purpose MT6701 Magnetic Encoder Reads the rotation angle and direction of the knob EG2133 Motor Driver Chip Controls t...