Does anybody know how to connect the arduino to mathematica?
Does anybody know how to connect the arduino to mathematica?
Does anyone else know what mathematica is? Post a link.
I am having the same problem, i think? I am trying to read serial data into Mathematica for analysis (the serial monitor receives the data) but i can't get it into Mathematica List. I have used a NETLink methoud with the COM port working with LinkObject. The support team at Wolfram has not been able to help any further.
Since this may be a new subject i will list it also as "Problem connecting Arduino to Mathematica"
This net link is very problematic. It is only stable when running from a Mac environment. This is not very clearly.
Wolfram Mathematica V10 release is preloaded with a much advance function that will connect Arduino via USB port.
Mathematica V10 has a neat serial connection function. Try this (you will need to use your serial port name, the name given is an example)...
port = "/dev/tty.usbserial-DA00X00E"
dev = DeviceOpen["Serial", {port, "BaudRate" -> 9600}]
out = DeviceReadList[dev, 200];
ListPlot[out]