Raspberry Pi

A full version of the Wolfram Language is available for the Raspberry Pi computer and comes bundled with the Raspbian operating system. Programs can be run from a Pi command line or as a background process, as well as through a notebook interface on the Pi or on a remote computer. On the Pi, the Wolfram Language supports direct programmatic access to standard Pi ports and devices.

Command-Line Programs

wolfram Wolfram Language command-line interface (/usr/bin/wolfram)

mathematica Wolfram notebook interface (/usr/bin/mathematica)

wolframscript Wolfram Language command-line script interpreter

Running Scripts

wolframscript run a Wolfram Language script

/etc/rc.local file in which to install a command to run at startup

Connecting from a Remote Desktop

Evaluation Kernel Configuration Options set up a remote kernel on the Raspberry Pi

RemoteEvaluate run a remote command on the Raspberry Pi

Parallel Computing »

Evaluation Parallel Kernel Configuration set up a Pi cluster for parallel computation

ParallelEvaluate  ▪  ParallelTable  ▪  ParallelTry  ▪  ...

Connected Devices »

DeviceRead  ▪  DeviceReadList  ▪  DeviceReadTimeSeries  ▪  DeviceReadBuffer  ▪  ...

DeviceWrite  ▪  DeviceExecute  ▪  BinaryRead

Standard Devices

"GPIO" read/write access to all GPIO pins

"Serial" read/write access to built-in and external serial connections

"I2C" read/write access to the I2C bus

"RaspiCam" read access to the camera module

Additional Devices

"WeatherStation" read access to temperature, humidity, and pressure sensors

Network Programming »

ChannelListen  ▪  SocketListen  ▪  NetworkPacketCapture  ▪  ...

External Services

SendMail send an email from the Raspberry Pi

SendMessage send a tweet or other message