All posts by admin

Arduino Tutorial 13: Understanding Arduino If Statements

In many real world applications, you want your programs to branch into different directions depending on values that you are reading from sensors. For such cases, you need to us IF statements. IF statements allow you to do different things depending on conditions. This lesson shows you how to use IF statements, and the different conditions that can be used with these commands. If you want to follow along at home, an official Arduino Uno R3 is available HERE. In this new series of lessons, I will be using the sensor and other components found in this KIT

 

Arduino Tutorial 12: Understanding Potentiometers

Potentiometers are very powerful components that allow a variety of cool capabilities when incorporated into a project. A potentiometer is a knob, which can be used to control all manner of different components in your project. The potentiometer is basically a variable resistor, whose resistance depends on the position of the knob. We can use a potentiometer to do things like control the volume in a speaker, or to control the brightness of an LED. If you want to follow along at home, an official Arduino Uno R3 is available HERE. In this new series of lessons, I will be using the sensor and other components found in this KIT

Arduino Tutorial 11: Understanding the Arduino Serial Port and Print Commands

In this lesson we will learn how to print from the Arduino. Since you are often using the arduino to make reading from sensors or other devices that interact with the environment, you need an easy way to get that information out to the user. The easiest way to do this is to send it over a serial port to the IDE Serial Monitor. There, is can be easily read and watched by the user. In this lesson we show you how to configure the serial port, and send values from the Arduino. If you want to follow along at home, an official Arduino Uno R3 is available HERE. In this new series of lessons, I will be using the sensor and other components found in this KIT

 

Arduino Tutorial 10: Understanding How To Read Analog Voltage using analogRead Command

So far in these lessons, we have just been using the Arduino output pins. If we actually want to read values from a sensor or other such components, we need to learn how to read values from the analog pins. These are pins A0 through A5. This lesson will teach you all about the analogRead command that allows you to interact with these pins. Enjoy!

An official Arduino Uno R3 is available HERE. In this new series of lessons, I will be using the sensor and other components found in this KIT