Part 1: Arduino Blink sketch using tinkercad.com

WATCH THIS TUTORIAL.  CLICK HERE
Click here to watch the video tutorial.

Scroll down to the bottom of this page for sample code.

  1. Begin by logging into www.tinkercad.com.  You will need to create a tinkercad.com account if necessary.
  2. Look on the left side menu and click on Circuits.  Then create a new circuit by clicking onto green button labeled “Create new Circuit”.
  3. Drag a breadboard (if it’s not already there) and an Arduino Uno onto your work surface.
  4. Click on  Code Editor  on the top menu bar.
  5. Click on the blue button labeled “Block”.  A window will pop up asking if you want to close the blocks editor.  Click OK.
  6. Delete all the code.  All of it.
  7. Now enter the program below into the code editor.  You don’t need to type the line numbers on the left side.
    Screen Shot 2017-10-16 at 7.10.03 AM
  8. Click Upload and Run.  What happens?  Note: use the scroll wheel on your mouse to zoom in and out.
  9. Click the “Stop Simulation” button on the top menu bar.
  10. Now experiment:
    1. change the line below to read int red=12; – what happens?
    2. change it back to 13 and what happens?
    3. change the delay value in parentheses to something other than 1000. What happens?  What does 1000 represent?
  11. Done?  Go to Part 2.