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

(RefLink[wolfram, paclet:ref/program/wolfram]) — Wolfram Language command-line interface (/usr/bin/wolfram)

(RefLink[mathematica, paclet:ref/program/mathematica-unix]) — Mathematica 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

(MenuGrayLink[Evaluation, paclet:ref/menuitem/KernelConfigurationOptions]) ▶ (MenuGrayLink[Kernel Configuration Options, paclet:ref/menuitem/KernelConfigurationOptions]) — set up a remote kernel on the Raspberry Pi

(OrangeLink[Parallel Computing », paclet:guide/ParallelComputing])

(MenuGrayLink[Evaluation, paclet:ref/menuitem/ParallelKernelConfiguration]) ▶ (MenuGrayLink[Parallel Kernel Configuration, paclet:ref/menuitem/ParallelKernelConfiguration]) — set up a Pi cluster for parallel computation

(OrangeLink[Connected Devices », paclet:guide/UsingConnectedDevices])

Standard Devices

(StringTypeLink["GPIO", paclet:ref/device/GPIO]) — read/write access to all GPIO pins

(StringTypeLink["Serial", paclet:ref/device/Serial]) — read/write access to built-in and external serial connections

(StringTypeLink["I2C", paclet:ref/device/I2C]) — read/write access to the I2C bus

(StringTypeLink["RaspiCam", paclet:ref/device/RaspiCam]) — read access to the camera module

Additional Devices

(StringTypeLink["WeatherStation", paclet:ref/device/WeatherStation]) — read access to temperature, humidity, and pressure sensors

External Services

(RefLink[SendMail, paclet:ref/SendMail]) — send an email from the Raspberry Pi

(RefLink[SendMessage, paclet:ref/SendMessage]) — send a tweet or other message