Home  >  Support  >  Support Forum  >  Arduino + XBEE + ConnectPort ???
Notice! We've recently migrated to using a new forum, we hope you enjoy it. If you are an existing member and this is your first time visiting our new forum, please reset your password to be able to sign in.
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Arduino + XBEE + ConnectPort ???

0 votes
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!
asked Oct 28, 2013 in 3rd Party Python and API development in other Languages by ajadsjames New to the Community (0 points)

Please log in or register to answer this question.

3 Answers

0 votes
ajadsjames,

Since your replacing your PC Xbee with a gateway, part of your solution will likely involve a python app running on the gateway to handle the commands between your PC and the arduino:
http://www.digi.com/wiki/developer/index.php/Xbee_transport
answered Oct 30, 2013 by kjensen8 Veteran of the Digi Community (441 points)
0 votes
Hi James,

I am also trying to find answer similar problem. I have connect port X2e. If you do not use Python. (are you using Digi Python ESP? ).

Here is the link, which may useful to you.. It based on XIG and PHP application.

http://examples.digi.com/internet/controlling-a-lamp-from-the-internet-with-device-cloud/

With regards,
Chandra
answered Nov 1, 2013 by chandras002 New to the Community (2 points)
0 votes
Thanks for sharing useful information.
answered Nov 4, 2013 by romanoprodi New to the Community (1 point)
Your M2M Expert™for Businessfor Developers
Newsletter SignupYouTubeGoogle+FacebookCopyright © 1996-2013 Digi International Inc. All rights reserved. Legal
...