- Forum
- Roboteq Motor Controllers
- Controller Configuration & Operation
- Interface between HDC2540 and Arduino Uno
Interface between HDC2540 and Arduino Uno
4 years 7 months ago #29533302
by cdb0ewm
Interface between HDC2540 and Arduino Uno was created by cdb0ewm
I have a joystick application on an Arduino Uno that generates messages in the range of -1023 to 1023 for each axis. I'm trying to understand what form the Arduino needs to decode this range to create PWM signals for input as pulse signals for the Roboteq and the range Roboteq is expecting.
Thanks
Thanks
Please Log in or Create an account to join the conversation.
4 years 7 months ago #29533307
by blake
Replied by blake on topic Interface between HDC2540 and Arduino Uno
You can use a PWM output from your arduino of 50 - 250 Hz. Accepted pulse duration is 10us - 20000us.
This is shown in table 8 of the HDC2450 datasheet
This is shown in table 8 of the HDC2450 datasheet
Please Log in or Create an account to join the conversation.
4 years 7 months ago #29533309
by cdb0ewm
Replied by cdb0ewm on topic Interface between HDC2540 and Arduino Uno
Thanks for the reply
I'm looking at Table 8 of the HDC24XX datasheet, Version 1.5 and I see a frequency capture - is this the same as pulse duration
I'm looking at Table 8 of the HDC24XX datasheet, Version 1.5 and I see a frequency capture - is this the same as pulse duration
Please Log in or Create an account to join the conversation.
Moderators: tonysantoni
- Forum
- Roboteq Motor Controllers
- Controller Configuration & Operation
- Interface between HDC2540 and Arduino Uno
Time to create page: 0.084 seconds