Skip to content

Temporary repository for EESTEC Challenge Local Round 2025.

Notifications You must be signed in to change notification settings

Infineon/hackathon

Repository files navigation

Infineon Logo

Smart Grippers with Infineon Magnetic Sensing and Motor Control

Hackathon Material

Running the Example

Overview

The example is meant to help you to understand how the gripper can be programmed and how you can communicate, with the motor controller (IFX007T Shield 2Go), the angle sensor (TLE5012B E1000) and the 3D Magnetic Sensor. It's not mandatory to run the example or to follow the same approach, but it is recommended that you can understand the whole system and also FOC. Feel free to refer to the documention pages linked below and follow a different approach.

Preparation

Please start by installing XMC for Arduino and all the requiered libraries.

Installation of XMC for Arduino

Follow the instructions from this website and make sure to use the alternative installation link provided here: https://github.com/LinjingZhang/XMC-for-Arduino/releases/download/V3.5.3-beta/package_infineon_index.json

Installation of the XENSIV™ Angle Sensor TLx5012B library for Arduino

The Infineon TLE5012B E1000 angle sensor is used to get the postion from the BLDC motor. A diametrically magnet is attached to the motor, so the we get the postion from the motor. You can find the Arduino library manager by looking for "XENSIV™ Angle Sensor TLx5012B".

Installation of 3D Magnetic Sensor library for Arduino

The Infineon 3D Magnetic Sensor messures the magnetic field in 3 directions (X, Y and Z). You can find it in the Arduino library manager by looking for "XENSIV™ 3D Magnetic Sensor TLx493D".

Installation of Simple FOC library for Arduino

The [Simple FOC library] (https://docs.simplefoc.com)(Simple Field Oriented Control) is an open-source Arduino-compatible library designed to make it easy to control BLDC and PMSM motors using Field Oriented Control (FOC).

You can find it in the Arduino library manager by looking for "SimpleFOC".

Cloning this Repository

Afterwards you can clone this git repo:

git clone https://github.com/Infineon/hackathon

Compile & Run the Example

Now that you have the example on your computer you can open it in the Arduino IDE (it's located in examples/adaptiveGripper/torque_control/). Afterwards, install the following files in you SimpleFOC library folder: "TLE5012Sensor.h, TLE5012Sensor.cpp". Then you can connected the gripper to your computer and selected the right board (XMC4700 Relax Kit) and serial port. Now, you can compile & upload the example.

Of course this is only an example to undestand how everything works - So now it is your task to grasp every object :)

And if you have questions or a problem just come to us, we may help you or just follow this quote: "If there is no path before you, create your own." (Quote: Star Wars the Clone Wars: Season 7, Episode 5 – Gone with a Trace)

Useful Links

Infineon Team

Eric (Embedded Systems Engineer)

Eric

Linjing (Embedded Software Engineer)

Linjing

How to reach us?

Please open an issue in this repository or just talk to us at the venue.

About

Temporary repository for EESTEC Challenge Local Round 2025.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •