Message Boards Message Boards

GROUPS:

Question About MicrocontrollerEmbedCode Function

Posted 13 days ago
121 Views
|
0 Replies
|
0 Total Likes
|

I have been trying to connect an Arduino Uno to Mathematica using the DeviceOpen function and the MicrocontrollerEmbedCode function to try to get readings from a distance sensor, using the portion of the code that connects the Arduino to Mathematica (The section is titled "Sensor Calibration") in this link except replacing the port with "COM3", since I use Windows and that was the port my arduino was connected to when I looked in my Device Manager. However, when I try running the code, I find that MicrocontrollerEmbedCode output has a red circle reading "The system cannot find the path specified", even though DeviceOpen appears to work fine, and indicates that the arduino is indeed connected to COM3. I have also verified in Arduino IDE that I can get data from my distance sensor. Attached below is my notebook file. Any help would be greatly appreciated. Thanks.

Attachment

POSTED BY: S C
Answer
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract