close
The Wayback Machine - https://web.archive.org/web/20240324045423/https://www.wolfram.com/datadrop/quick-reference/arduino/
Wolfram Data Drop Quick Reference

Arduino

Use the Wolfram Language Device Connection for Arduino to read data and add it to a databin.

Read directly from the pins:

In[1]:=
BERJAYA
X
Out[1]= {{This returns a DeviceObject that you may use for communicating with the Arduino.}}
In[2]:=
BERJAYA
X
In[3]:=
BERJAYA
X

Upload custom C code to the Arduino to take more sophisticated readings.

Prepare the Arduino and upload a sketch:

In[1]:=
BERJAYA
X
Out[1]= {{This returns a DeviceObject that you may use for communicating with the Arduino.}}
In[2]:=
BERJAYA
X

Execute the code and add the results to a databin:

In[3]:=
BERJAYA
X
de es ja ko pt-br zh