Hi Mathematica enthusiasts,

I am trying to follow this tutorial off Wolfram reference for microcontrollers

Real Time Data Acquisition

I have an Arduino Yun Rev2 hooked up exactly as it is from the reference link . Everything seems to be connecting and resulting as it should be until I reach...

Problem area

Which would indicate that I am missing something. I have the circuit hooked up exactly like the reference but Mathematica says

"MicrocontrollerEmbedCode::nopen: Could not open /dev/tty.usbmodem1411."

What does this mean and what can I try to remedy this?


I am attempting to use this to model Simple Harmonic Motion with a spring mass system for a university presentation in April. Any insights or help would be greatly appreciated!

  • 1
    $\begingroup$ Most likely the port you have is not /dev/tty.usbmodem1411. If on Mac or Linux see what shows up with FileNames["/dev/tty.usb*"]. If on Windows use the device manager. $\endgroup$ Jan 19 at 17:42
  • $\begingroup$ Thanks for answering, if it's over wifi, would it show up as a port? $\endgroup$ Jan 19 at 18:26
  • 1
    $\begingroup$ Unfortunately, uploading over wifi is not yet supported. $\endgroup$ Jan 19 at 23:42
  • $\begingroup$ If that's true, then how are they uploading the data in this reference? I'm trying to follow it for a project. reference.wolfram.com/language/MicrocontrollerKit/workflow/… $\endgroup$ Jan 20 at 2:17
  • $\begingroup$ The code is uploaded over a serial port. The sensor data is uploaded over wifi. $\endgroup$ Jan 20 at 14:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.