The Arduberry is a simple and inexpensive way to bring Arduino shields to the Raspberry Pi. The device is a shield that slides over the Raspberry Pi and allows you to stack and use Arduino shields. The Arduberry requires no physical configuration to work with most shields. You can write Arduino sketches (programs) right on your Raspberry Pi.
Blink is the simplest Arduberry example project. This example will show you how to blink an LED connected to the Arduberry.
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Parts Needed
- Raspberry Pi
- A LED
- A 330 ohm resistor
- Jumper wires
Step 2: Connect the LED
In this step we will wire up the LED using a breadboard. Insert a 330-ohm resistor on a breadboard and connect it to pin 13 on the Arduberry. Attach the long leg of an LED (the positive leg, called the anode) to the resistor. Attach the short leg (the negative leg, called the cathode) to ground using a jumper wire.
Step 3: Start the Raspberry Pi
Power on the Raspberry Pi with the Arduberry connected to it and open the Arduino program
Step 4: Run the Blink Sketch
Open the Blink example in Examples folder (Examples ->01.Basics->Blink) and change the programmer to RaspberryPi GPIO (Tools ->Programmer) and press Ctrl +Alt +U to upload the program (Upload using Programmer).
The LED will start blinking.
Have a problem? Did we make a mistake? Post it on the forums and we’ll help you out.
Participated in the