The ProtoSnap is an Arduino-compatible development platform aimed at teaching the basics of Arduino programming as efficiently as possible. It does not require any assembly, wiring, or soldering, so you can jump right into programming the ProtoSnap to control LEDs, buzzers, light sensors, and more. There's even a small prototyping space so you can add your own parts!
Here is a picture of the board
Of course as the boards can be snapped apart once you have finished doing some practice development you can use the boards individually, here's what you get
1 x Arduino Pro Mini 5V/16MHz
1 x FTDI Basic Breakout 5V
1 x Buzzer
1 x RGB LED
1 x Light Sensor
1 x Push Button
1 x Protoboard
The breakouts connect to various Arduino pins, here is a table which shows these pins, so as you can see its quite easy to use the various inputs and outputs and modify existing examples
Component Pin | Arduino Pin |
Button | 7 |
Light Sensor | A0 |
Green LED | 5 |
Blue LED | 6 |
Red LED | 3 |
Buzzer | 2 |
Lets look at some code examples
Code
Flash the RGB led various colors
[codesyntax lang=”cpp”]
int redPin = 3; // red RGB LED int greenPin = 5; // green RGB LED int bluePin = 6; // blue RGB LED void setup() { /* set all LED pins as outputs */ pinMode(redPin, OUTPUT); pinMode(greenPin, OUTPUT); pinMode(bluePin, OUTPUT); } void loop() { color(0,255,255); delay(1000); color(255,0,255); //turn the RGB LED green delay(1000); color(255,255,0); //turn the RGB LED blue delay(1000); color(0,0,255); //turn the RGB LED yellow delay(1000); color(0,0,0); //turn the RGB LED white delay(1000); color(128,255,0); //turn the RGB LED purple delay(1000); color(255,255,255); //turn the RGB LED off delay(1000); } void color (unsigned char red, unsigned char green, unsigned char blue) { analogWrite(redPin, 255-red); analogWrite(bluePin, 255-blue); analogWrite(greenPin, 255-green); }
[/codesyntax]
Links
This product is actually discontinued on Sparkfuns website but you can still obtain it – here's a source, costs about $15
7in1 ProtoSnap Pro Mini ATMEGA328P & TEMT6000 & FTDI Basic FT232RL For Arduino