Introduction: Arduino Blink With Codebender & 123D Circuits

I always wanted to make a basic instructable for Blinking an Arduino, and spice it up a bit by using 123D Circuits and codebender.

This is a very simple introductory sketch to Arduino, but I'm exploring how an instructable could be improved by using 123D Circuits to show the breadboard connections and simulate the circuit, and using codebender to actually program the Arduino from the instructable page, straight from the browser

So, let's get started!

Step 1: Step 1: the Circuit

Most Arduino boards have a built-in LED on pin 13, but for extra effect, we are going to be adding our own.

The connections are pretty easy, just connect a resistor to pin 13, then connect the long pin of the LED to the free pin of the resistor, and then the short pin of the LED to GND.

Here's the circuit from 123D Circuits

Try clicking on the Start Simulation button and see what happens

Step 2: Step 2: the Code

Now the code is pretty self-explanatory, and the comments do a better job than me explaining how it works, so I'm gonna leave this aside.

Here's the Blink code, embedded using codebender

Try downloading the codebender plugin and clicking on the Run on Arduino button to program your Arduino with the Blink sketch. Nifty, huh?

And that's it, you've programmed your first Arduino with the basic Blink sketch!

For extra coolness, click on the Edit button and start making your own modifications to the code. Try playing with the delays and timing in general.

I hope you liked this, let me know in the comments. And welcome to the Arduino world!


ntemposd made it!(author)2015-05-14

Veery nice one!

seamster made it!(author)2015-05-14

Nicely done. Very simple and straight forward, thank you!