Hardware: Arduino Genuino Uno
Author: DJ Sures
This firmware converts a Arduino Genuino Uno into an EZB for ARC to connect to it.
The EZ Wheel Encoder firmware, developed by Synthiam Inc, is designed for Arduino UNO and compatible microcontrollers. It integrates seamlessly with the Synthiam ARC platform, specifically the Wheel Encoder Counter robot skill, enabling precise tracking of wheel movement using encoders.
Wheel Encoder Robot Skill: https://synthiam.com/Support/Skills/Navigation/Wheel-Encoder-Counter?id=17591
This firmware leverages two interrupts to handle signals from left and right wheel encoders, ensuring accurate and responsive updates to the encoder counts. It extends the EZB communication protocol to include specialized commands for interacting with encoder data. These commands allow you to:
- Retrieve Encoder Values: Fetch the current count of left and right wheel encoders.
- Reset Encoder Values: Clear the encoder counts to zero, providing a fresh start for new operations.
- Set Movement Direction: Specify the direction of wheel movement (forward or backward), ensuring the encoder values are correctly incremented or decremented.
The Synthiam ARC platform sends commands to this firmware to manage wheel direction dynamically. This functionality allows the encoder values to reflect real-world movement accurately, whether the robot is moving forward, backward, turning, or reversing.
For detailed integration, users can refer to the Wheel Encoder Counter robot skill documentation. This skill enhances navigation and positioning capabilities for robots by using encoder feedback to track distance and rotational changes.
Additional Features:
- Interrupt-Driven Design: Ensures reliable and fast processing of encoder signals without missing pulses, even at high speeds.
- EZB Protocol Compatibility: Extends the robust Synthiam ARC ecosystem with easy-to-use commands for encoder management.
- Serial Communication: Enables seamless data exchange between the Arduino and Synthiam ARC, allowing real-time feedback and control.
This firmware is ideal for robotics enthusiasts and developers seeking to enhance their robots' navigation precision using wheel encoders. Whether you're building a wheeled robot or a complex autonomous system, the Wheel Encoder firmware provides the foundation for accurate movement tracking.
Wow, downloading and testing....
Updated for version 2 with the fixes mentioned above