Digital Sandbox Arduino Companion
The Digital Sandbox is a learning platform that engages both the software and hardware worlds. It’s powered by a microcontroller that can interact with real-world inputs – like light or temperature sensors – while at the same time controlling LEDs, motors, and other outputs. The Digital Sandbox is equipped with everything, on board, that you will need to complete 13 experiments including controlling an LED, measuring how loud things are, detecting the temperature is, and more. Think of this as a SparkFun Inventor’s Kit all in one board!
In our original Digital Sandbox Experiment Guide, we show you how to program the Sandbox using a simple, graphical programming language called ArduBlock. This time around, we'll show you how to ditch the graphical editor in favor of actual Arduino code.
If you're looking to get into Arduino coding, this is a great place to begin. Grab a Sandbox and get started!
Experiment List (Table of Contents):
We'll explore the Sandbox through a series of progressive experiments. If you've already completed the Sandbox Experiment Guide, this list will look familiar. We've recreated the code from those experiments using Arduino code instead of ArduBlock.
After setting up your Sandbox, here's what's covered:
- Setup and Loop
- Exploring Blink
- Dimming (the Hard Way)
- Dimming (the Easy Way)
- Color Mixing
- Number Storage with Variables
- If This Then That
- The Reaction Tester
- Serial Calculator
- Do the Analog Slide
- Automatic Night Light
- Thermal Alert!
- Sound Detecting
- Opto-Theremin (Addon)
- Serial Motoring (Addon)
- Servo Sweeper (Addon)
Click here to download a complete set of example code.
Need a little quick reference guide to Arduino? Download our Digital Sandbox / Arduino Quick Reference (Cheatsheet)