Tag Archives: Arduino
Arduino Tutorial 7: Understanding the Arduino Analog Write Command
Arduino Tutorial 5: Understanding and Working With Binary Numbers
Digital devices are simply made up of very large numbers of tiny switches. A modern digital computer might have over 10 billion switches cleverly connected together. Each switch can be thought of as a zero or a one. Hence, even though a switch is a very simple device, when you have lots of them, very complicated things can be done.
Arduino Tutorial 4: Understanding Arduino Variables
In our earlier lessons we would program using “constants” when we needed numbers. For example, if we wanted to set pin 13 to an output, we would use the command:
pinMode(13, OUTPUT);
The problem with using constants like the number 13, if you decided later to use pin 8 instead, you would have to edit every line of code that used that number. It is much better practice to use variables when coding. In this video we show you have to program using variables. We start by doing things the wrong way, using constants, then show you the advantages of using variables.
Hopefully you can see from this video how much better it is, and more efficient to use variables instead of constants. In all the future lessons, we expect you to use variables.
Arduino Tutorial 3: Understanding How Breadboards Work
The video below describes in detail how to use a breadboard, and even helps you get your first circuit prototype up and running.
As explained in the video, key to using the breadboard to create circuits is to understand how the little holes on the breadboard are connected. This graphic will help you understand which holes are connected and which are not.
Study this graphic, and make sure you understand how the breadboard works. You can see that to connect two leads together, they should be plugged into the same column on the breadboard. It does not matter which column, as long as the two leads are in the same column.
It will take some practice, but if you follow the video carefully, you should be able to get your first circuit connected and working.