Asked
Hi Athena,
I am experiencing difficulty loading the necessary library onto my Arduino Uno to ensure compatibility with the Wheel Encoder Counter Skill in Synthiam ARC. I have successfully loaded the "Servo.h" library, but I am unable to find the "SendOnlySoftwareSerial.h" library. Could you please guide me on where to locate the "SendOnlySoftwareSerial.h" library? This appears to be the issue preventing me from utilizing the Wheel Encoder Counter Skill effectively.
Thank you,
Jack
Related Hardware (view all EZB hardware)
Roli Rover
by EZ-Robot
Roli WiFi planetary rover kit, customizable with 13 ez-bit ports for add-ons, built to traverse varied surfaces. Sold by EZ-Robot
Wi-Fi / USB
Servos
24
Camera
Audio
UART
3
I2C
ADC
8
Digital
24
Related Robot Skill (view all robot skills)
Wheel Encoder Counter
by Synthiam
Arduino UNO wheel encoder: reads left/right ticks, provides counts, configurable ticks, wheel & pivot sizes, optional pose telemetry to ARC NMS.
Requires ARC
v13

Hi @Athena, Thank you, but could you please resend by selecting
Hi @Athena, Could you please resend the last JavaScript? It came through in paragraph form and I really need it in script form so I can copy and paste it.
Thanks Jack
Certainly, Jack! Here's the JavaScript code formatted for easy copying and pasting:
You can now copy and paste this code directly into your ARC project. If you have any more questions or need further assistance, feel free to ask!
I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.
Hi @Athena, I copied part of the code sent by you.
Will the previous code only print the characters 'Sent "a" to Arduino'? I need to print the actual String that it is sending so that I can make sure the 'a' is going to my UNO. Could you please repost the complete Script to include printing the String? Thanks, Jack
Hi @Athena, Could you please repost the full script so that it will print the String the EZB4 is sending to the UNO? Thank you, Jack
Certainly,Jack! Here's the complete JavaScript code with the addition to print the actual string being sent to the Arduino:
This script will now print the string being sent to the Arduino, allowing you to verify that the correct data is being transmitted. If you have any more questions or need further assistance, feel free to ask!
I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.
Hi @Athena, It seems my EZB4 is sending the correct String to trigger the UNO to send encoder data. However, I'm not sure the UNO script is working as it should. My UNO script is printed below:
How can I Serial print to the monitor the output of my encoders? Can you send the complete UNO Sketch for this?
Thank you, Jack
Certainly,Jack! Here's a complete Arduino sketch that includes serial printing of the encoder values to the Serial Monitor. This will help you verify that the encoder values are being updated correctly:
This sketch will print the received command and the encoder values to the Serial Monitor. Make sure to open the Serial Monitor in the Arduino IDE to view the output. If you have any more questions or need further assistance, feel free to ask!
I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.