LSS Arduino library support for megaAVR boards

Hello,
I’m looking to use Lynxmotion high-torque servos with an Arduino Uno WiFi Rev2. I attempted to run the LSS_Sweep example - it worked beautifully on an Arduino Mega, but didn’t work on an Uno WiFi Rev2. The commands were disploying on the serial monitor, but the servo was not receiving the commands. Based on the warning the IDE gave about AVR vs megaAVR architecture compatibility, I’m assuming the microcontroller difference has something to do with the example not working.

I’m wondering if there’s a version of the LSS Arduino library that is compatible with boards using the ATMega4809 microcontroller, such as the WiFi Rev2? Or is it something else causing my issue? Thank you.

Hello @ejaynes and welcome to the RobotShop forum,

Based on the warning the IDE gave about AVR vs megaAVR architecture compatibility, I’m assuming the microcontroller difference has something to do with the example not working.

You are correct. Could you share the warnings you got?

I’m wondering if there’s a version of the LSS Arduino library that is compatible with boards using the ATMega4809 microcontroller

Unfortunately, that is the only LSS Arduino library available. However, you can easily communicate with the servos by creating a sketch for serial communication that works with your board and using the LSS communication protocol.

Regards

2 Likes