Close

Electronics/Firmware Development & Testing

A project log for Measuring-Node-for-Equilibrium-Evaluation

Developed a stand-alone node for equilibrium evaluation, integrating sensors and software to enhance therapy for children.

ivan-hernandezIvan Hernandez 06/12/2024 at 21:400 Comments

Phase 1: Electronics Selection

The initial phase was crucial for setting the foundation of the IMU balance node. Our primary goal was to select the most suitable electronic components that would ensure precision, reliability, and seamless integration into our system. 

Phase 2: Initial Circuit Design and Prototyping

The initial phase focused on designing the circuit for the IMU balance node. We began by selecting appropriate IMUs, settling on the BMI270 and BMI150 for their precision and reliability. Using tools like EasyEda Designer, we drafted the initial schematic and created prototype PCBs. These prototypes were essential in understanding the basic requirements and limitations of our design, ensuring a solid electronic foundation for further development.

Phase 3: Sensor Integration and Communication Protocol

In this phase, we integrated the BMI270 and BMI150 sensors with the Arduino Nano BLE 33 Rev2. Developing a robust communication protocol was critical, so we implemented a BLE (Bluetooth Low Energy) protocol to facilitate seamless data transmission between the sensors and the main application. This involved writing and testing code to ensure reliable data acquisition and transmission, laying the groundwork for real-time monitoring.

----------more ----------

Phase 4: Firmware Development and Calibration

Firmware development was undertaken to process and manage the sensor data. Using the Arduino IDE, we wrote firmware to capture and filter raw data from the IMUs. We implemented the Madgwick filter for sensor fusion, which significantly improved orientation estimation. Calibration routines were developed to ensure accuracy, involving extensive testing to fine-tune the sensor readings and eliminate drift.

Phase 5: System Integration and Testing

The IMU balance node was integrated with the overall system, including the vision system. Comprehensive testing was conducted to ensure all components worked harmoniously. We focused on synchronizing data from the IMUs with the vision system, validating the accuracy and reliability of the combined data. This phase involved iterative testing and refinement, ensuring that the system met performance expectations.

Phase 6: Optimization and Power Management

Optimization efforts were undertaken to enhance the efficiency and performance of the IMU balance node. We refined the firmware to reduce latency and improve data throughput. Power management features were implemented to extend battery life, ensuring that the device could operate for extended periods without frequent recharging. These optimizations were crucial for the practical deployment of the system in real-world therapy settings.

Phase 7: Documentation and Deployment

Comprehensive documentation was prepared, detailing the design, development, and usage of the IMU balance node. see on GitHub

Discussions