Alex Glow
Published © GPL3+

RasPi 2: Zero to VROOM!

Blink a multimeter dial or LED, using the built-in Wolfram Mathematica environment. From "startx" to GPIO control!

BeginnerFull instructions provided1,114
RasPi 2: Zero to VROOM!

Things used in this project

Hardware components

Raspberry Pi 2 Model B
Raspberry Pi 2 Model B
×1
LED (generic)
LED (generic)
×1
100-ohm resistor
×1

Software apps and online services

Wolfram
The Wolfram language editor, which comes free with Raspbian.

Story

Read more

Schematics

soldering.jpg

Black wire to ground; red wire to digital pin 4; micro-USB charger for power; HDMI cable to monitor; USB cable to hub, which hooks you up to the keyboard, mouse, and WiFi dongle.

Code

Pi / Wolfram commands

Plain text
Enter these sequentially for LED mastery!!
sudo wolfram
DeviceWrite[ "GPIO", First[pins] -> 1 ]
DeviceWrite[ "GPIO", First[pins] -> 0 ]

Credits

Alex Glow

Alex Glow

145 projects • 1569 followers
The Hackster team's resident Hardware Nerd. I love robots, music, EEG, wearables, and languages. FIRST Robotics kid.

Comments