The SparkFun Digital Sandbox (Sandbox) is an educational platform designed to introduce electronics and programming in an easy-to-understand format. It is equipped with built-in sensors and components, making it an ideal tool for beginners to experiment with and learn the basics of electronic circuits and coding without the need for soldering or breadboarding.
Pin Number | Function | Description |
---|---|---|
1 | Reset | Resets the microcontroller |
2-13 | Digital I/O | Digital input/output pins |
A0-A5 | Analog Input | Analog input pins |
5V | Power | 5V power supply |
GND | Ground | Ground connection |
AREF | Analog Reference | Reference voltage for the analog inputs |
3.3V | 3.3V Supply | 3.3V power supply |
// Blink an LED connected to pin 13
void setup() {
pinMode(13, OUTPUT); // Set pin 13 as an output
}
void loop() {
digitalWrite(13, HIGH); // Turn the LED on
delay(1000); // Wait for a second
digitalWrite(13, LOW); // Turn the LED off
delay(1000); // Wait for a second
}
Q: Can I power the Digital Sandbox with a battery? A: Yes, you can use a battery pack with a USB connector or a regulated 5V supply connected to the VIN pin.
Q: Is the Digital Sandbox compatible with all Arduino shields? A: Not all shields will be compatible due to the Sandbox's unique form factor and pin layout. Check compatibility before attempting to connect a shield.
Q: How do I extend the capabilities of the Digital Sandbox? A: You can connect additional sensors and actuators to the Sandbox using the I/O pins, following the Sandbox's voltage and current specifications.