/DeflectionAnalyzer

A XMC microcontroller based platform for analysis and interpretation of sensors focused on motorcycle suspensions

Primary LanguageCMIT LicenseMIT

Contributors Forks Stargazers Issues MIT License


Logo

A XMC microcontroller based platform for analysis and interpretation of sensors focused on motorcycle suspensions
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents

  1. About The Project
  2. Getting Started
  3. License
  4. Contact
  5. Acknowledgements and Resources

About The Project

Product Name Screen Shot

Motivation

The main goals of this project are:

  • Design of an detachable Platform used to analyze motorcycle suspensions
  • Highly modular code structure to be reused in various situations
  • Creation of an reusable embedded system platform with sensor/bus input (0-5V, 4-20mA, I2C, SPI, CAN, ...) as well as output via TFT and logging on an SD-Card

Description

This project aims to design an extensible microcontroller system to support the user in calibrating, monitoring and recording of sensor data. The highly modular System implements a menu-framework for touchscreens as well as multiple concepts for efficient sensor data management and SD-Card retention. For use in other projects the Hardware and Software is kept highly expandable.

Based on this, motorcycle suspension tracing is realized. Here the system allows the acquisition of spring deflections with position sensors at the axes, while keeping the possibility for extensions. The designed menu guides the user during the process of calibration, reference level setup and file-administration. In the end the values can be shown if form of graphs and indicators. With the press of a button the values are efficiently recorded and converted to readable format, to be processed externally.

Preview Video: https://www.youtube.com/watch?v=uU-0lam_NbY

Hardware

Getting Started

The application is developed with Infineon DAVE 4.4.2. You need to download the project and import it into the DAVE workspace. Make sure it is imported correctly and set as active project. Next use the "Rebuild Active Project" button to compile it and click the "Debug" button. In the pop up window double click "GDB SEGGER J-Link Debugging" and it should configure it self automatically. In the tab "Startup" the checkbox "Enable semihosting" MUST be activated to use this (enables debug message transport without uart).

This is meant to be used with an Infineon XMC4700 Relax Kit (Version with assembled SD-Card mount, CAN transceiver and RTC) as microcontroller and a RiTFT-43-CAP-UX (4.3″ 480x272px TFT with capacitive touchscreen and BT81x Embedded Video Engine (EVE) coprocessor from Riverdi). The used (custom) mainboard is not necessary, but in this case the connections must be done according to following figure:

Main schematics of the main board

Note that the pinout of the TFT connector was designed to use an inverted flat cable (type B). If you use an Breakout board (like this ZIF-20 Adapter) the pinout might be inverted (20 ->1 instead of 1->20).

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Project Link: https://github.com/MechResato/DeflectionAnalyzer

Acknowledgements and Resources