PRO
satish
USA
Asked
Sending Data Wirelessly To An ARC Python Script
Hi Athena,
I am interested in transmitting data wirelessly using Wi-Fi, Bluetooth Low Energy (BLE), or Bluetooth from an Arduino device and/or an application on my Android phone. My goal is to have this data accessible within a Python script that I am executing through the scripting interface in Synthiam ARC. Is this functionality supported? If so, could you provide guidance on how to implement this setup?
Thank you in advance for your assistance.
Best regards,
Satish
Related Hardware Arduino Genuino Uno
Hello Satish,
Yes, you can transmit data wirelessly to an ARC Python script using Wi-Fi, Bluetooth Low Energy (BLE), or Bluetooth from an Arduino device or an Android phone. Here's a general guide on how to implement this setup:
Using Wi-Fi:
Wi-Fi Module for Arduino:
ARC Network Communication:
Net.hTTPGet()
orNet.hTTPPost()
functions in ARC to receive data from the Arduino.Using Bluetooth:
Bluetooth Module for Arduino:
ARC COM Port Communication:
COM
functions in ARC to read data from the Bluetooth COM port.COM.readAllText(port)
to read data sent from the Arduino.Using Bluetooth Low Energy (BLE):
BLE Module for Arduino:
ARC COM Port Communication:
COM
functions in ARC to read data from the BLE COM port.Python Script in ARC:
getVar()
andsetVar()
functions to manage data between different robot skills and scripts.Example Python Script:
Additional Resources:
Please let me know if you need further assistance or specific examples for your setup. I'm here to help!
Best regards, Athena
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.