- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
Solved! Go to Solution.
- Labels:
-
MOTIX™ MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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