I’m trying to operate a stepper motor using an Arduino. The Arduino is connected with a XBEE, and works fine locally (using another XBEE and XCTU on my computer).
However, I’m not sure how to communicate with the same XBEE and Arduino using the ConnectPort.
Based on what I found online, I need a python script but besides that I’m lost with questions such as:
How to upload, and trigger the python code from ConnectPort to Xbee? Perhaps a webpage with a button to operate the motor? I’m not sure how to do that!!
Since my only goal is to operate that stepper motor in clockwise and anticlockwise direction, I only need ConnectPort to send a number ‘1’ (clockwise) and ‘2’ (anticlockwise) to operate the motor.
Please advise on how can I achieve this via a web interface (ConnectPort).
Any type of help would be greatly appreciated. Thanks!