BLDC_SHIELD_TLE9879 keep track of motor position

Announcements

Webinar: Integrated solutions for smaller, simpler low-voltage motor control design.
Join the webinar to experience!

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Mielos
Level 1
Level 1
5 sign-ins First like received First reply posted

Hello!

I have my Arduino Uno set up  to two BLDC_SHIELD_TLE9879s and have my motors with encoders connected to it. I'm trying to figure out a way to keep track of the position of the motors as they work together on a x and y axis. Is there a way to keep track of the position through the hall sensors? Or maybe a different way?

Please ask if you need more information and thanks for helping!

0 Likes
1 Solution
Pablo_EG
Moderator
Moderator
Moderator
First question asked 250 sign-ins 250 replies posted

Hello Mielos,

Thank you for posting on Infineon Community.

We understand that you want to read the hall sensor position data.

Currently the evaluation board does not include any function to read the hall sensor data.
You can check the functions supported in:
Infineon-BLDC_Shield-Software-v01_00-EN/01_arduino_library/docs/class_t_l_e9879___group.html
Which is located inside the .zip software download in:
https://www.infineon.com/cms/en/product/evaluation-boards/bldc_shield_tle9879/#!tools

It is only possible to read the static parameters from the board.
By the description of your request, I understand that you want to read the real-time position value.
Unfortunately, this is not possible using the provided code example.

However, you could make use of the ADCs of the Arduino UNO.
For this, you can connect the hall sensors to the ADC pins of the Arduino, and use:

analogRead(analogPin);

Best regards,
Pablo

View solution in original post

0 Likes
1 Reply
Pablo_EG
Moderator
Moderator
Moderator
First question asked 250 sign-ins 250 replies posted

Hello Mielos,

Thank you for posting on Infineon Community.

We understand that you want to read the hall sensor position data.

Currently the evaluation board does not include any function to read the hall sensor data.
You can check the functions supported in:
Infineon-BLDC_Shield-Software-v01_00-EN/01_arduino_library/docs/class_t_l_e9879___group.html
Which is located inside the .zip software download in:
https://www.infineon.com/cms/en/product/evaluation-boards/bldc_shield_tle9879/#!tools

It is only possible to read the static parameters from the board.
By the description of your request, I understand that you want to read the real-time position value.
Unfortunately, this is not possible using the provided code example.

However, you could make use of the ADCs of the Arduino UNO.
For this, you can connect the hall sensors to the ADC pins of the Arduino, and use:

analogRead(analogPin);

Best regards,
Pablo

0 Likes