Comments: Digital Sandbox Experiment Guide
Looking for answers to technical questions?
We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.
If you have having issues uploading, makes sure that you have the the correct board (i.e. Digital Sandbox) and COM port selected as explained earlier in the tutorial. Also, ensure that the "CHARGE" switch is position on one side of the board so that the Atmega328P is receiving power. If you are using a LiPo battery connected to the JST connector and connecting a USB cable, you will want to flip the switch to the "ON" position.
Very nice guide. However, I can't select the Digital Sandbox in the boards menu. I use the newest version of the Arduino IDE 1.6.1 and have placed the files such shown in the picture pic below. I've tried the complete package that the guide links to (uses Arduino 1.0.6). This seems to work just fine. However, the portable version of Arduino still check my user/Arduino folder for addons, libs, etc.. So I have the option to choose between two Digital Sandbox boards.
Doesn't the new version of Arduino support Digital Sandbox?
Sorry about that, we've just updated the addon to support 1.6.0 and later versions of the Arduino IDE. The updated addon is available here and installation instructions are the same as the were for the previous version.
When my son attempted to do this experiment, it appears there is not enough power to drive the motor. I tested by sending a signal in Setup directly to Analog#3 and also a HIGH to Digital#4. If I set A3 to 0; the D4 light lights. If I set A3 to 50, the light dims noticeably (almost to nothing) and the motor hums receiving power but not enough to drive it. Any higher setting then that and the light simply goes out.
In the actual experiment, the serial printout gets corrupted after entering a value (where it is supposed to print the speed value it is set to). The motor does not drive. I did the above test to verify if the basics worked and they did not appear to. Any suggestions on how best to proceed? I also did verify that the serial is set for 9600.
Send us an email at firstname.lastname@example.org with a copy of your code and a few more specifications on what you are doing and they should be able to help you.
If you've found an issue with this tutorial content, please send us your feedback!
-------------------- Tech Support Tips/Troubleshooting/Common Issues --------------------
Compile Issues on Arduino and Windows
If you see this output error when trying to upload to the Digital Sandbox:
The error appears to be due to the custom Digital Sandbox Arduino IDE v1.6.7 not finding avrdude. It's possible that there is an issue with the board add-on [ https://github.com/arduino/Arduino/issues/4110#issuecomment-203327457 ] or the Arduino IDE version. Try reinstalling the latest board add on from this GitHub repository [ https://github.com/sparkfun/Arduino_Boards ]. There are instructions in the README.md to update the board add-ons. Otherwise, try using the custom Arduino IDE v 1.6.7 packaged with ArduBlock from our tutorial [ https://learn.sparkfun.com/tutorials/digital-sandbox-experiment-guide/setting-up-arduino-and-ardublock ].
Compile Issues on Arduino v.1.6.6 and Mac
If you are using the Digital Sandbox with Arduino IDE v1.6.6 and the ArduBlock Add-on on a Mac (I was testing this on iOS v10.7.5 Lion ) and see this issue:
Usually, you can ignore that message since it is a warning. However, if you are not able to compile and see this issue:
The new Arduino IDE v1.6.6 has a new file structure requirement when compiling. Try using the most recent board add ons from the SparkFun Arduino board's GitHub repository https://github.com/sparkfun/Arduino_Boards . There are instructions in the README.md to update the board add-ons.
Digital Sandbox Board Add-On
The Digital Sandbox board add-on linked in the tutorial should work [ [https://learn.sparkfun.com/tutorials/digital-sandbox-experiment-guide/setting-up-arduino-and-ardublock(https://learn.sparkfun.com/tutorials/digital-sandbox-experiment-guide/setting-up-arduino-and-ardublock) ]. If you have issues uploading with that board definition, try using the latest board definitions from our GitHub Repository [ https://github.com/sparkfun/Arduino_Boards/] .
Mac OSX Error Message
If you see this error when opening the custom Arduino IDE v1.6.9 in our Digital SandBox tutorial:
, there is a program on your Mac OSX that is preventing you from downloading and opening it. Do a search with the same message " "Arduino" is damaged and can’t be opened. You should move it to the Trash", and you should be able to see some answers. The message is misleading. Try to click on the cancel button. Here's one solution from the search results and the reason why you are getting that message => https://www.baldengineer.com/how-to-fix-arduino-is-damaged-and-cant-be-opened.html .
Otherwise, you would need to uninstall/reinstall the Arduino IDE. You might also need to re-install the ArduBlock and Digital SandBox board add-on.