- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hey all,
My current stack is an Intel Edison, a sparkfun baseblock, and a sparkfun Arduino block (https://www.sparkfun.com/products/13036 SparkFun Block for Intel® Edison - Arduino - DEV-13036 - SparkFun Electronics ). The code I have uploaded to the Arduino requires a serial input (1-9600) which results in a stepper motor activating and rotating at the set speed. I want to be able to run a python script on the Edison which asks what input to enter, have the command sent to the Arduino, and the stepper motor to function accordingly. I have MRAA functioning on the Edison, I just don't know how to send the commands. Any help would be appreciated. I'm pretty new to this so the more detail the better.
Thank you!
- Tags:
- Python
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi ProgrammingN00b,
If I understood you well, you want to send information from the Python script to the Arduino sketch, right? If so, I recommend you to check the following guide that explains how to share data between environments: https://software.intel.com/en-us/blogs/2015/05/05/efficient-data-sharing-using-interrupts-on-intel-e...
The guide uses a Nodejs script in the explanation, but you could use a Python script instead. I hope you find it useful.
Regards,
Diego
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Thank you Sergio this was an informative link. I was able to send and read the data through the serial port.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Do you still need help with this thread, were you able to send data?
-Sergio

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page