This tutorial takes you step-by-step through creating a simple device for measuring distances. The measurements are made with an ultrasonic sensor connected to an arduino microcontroller. The results are displayed on an LCD screen.
Atal Tinkering Labs ATL
In this tutorial we show simple step-by-step lesson on how to measure distance with an arduino microcontroller and an ultrasonic sensor. The measured distance is based on the ping time to the target of an ultrasonic ping. The measured distance is displayed via a servo and hand drawn scale. The sensor used is the virtuabotix ultrasonic sensor, and the servo is from the Sparkfun Inventor kit. Key concept in this lesson is to show students how important it is to apply what they know from Algebra related to lines in order to map inputs (distance measurements) onto outputs (servo angle)….
This tutorial presents simple step-by-step instructions on how to accurately measure the speed of sound using an arduino microcontroller and an ultrasonic sensor. It operates based on echolocation, and is similar to the mechanism used by bats to navigate in a dark cave. It is also similar to how Sonar works on submarines.
This tutorial shows you how to create a project where a color sensor reads the color of a colored card, and then sets the RGB LED to that color. This is done with an arduino microcontroller. The system works well for a wide variety of colors, not just the primary colors.
This tutorial shows simple technique of how to control an RGB LED with an arduino with step by step instructions and detailed circuit schematic. Schematic and sample code can be found at arduino lesson 13 at http:www.toptechboy.com
This tutorial is a simple and easy way to read Strings over the Arduino Serial Port. Also, will cover reading Ints and Floats.
This video describes how to make analog voltage measurements on the arduino using pins A0 through A5. A simple voltage divider circuit is set up using a potentiometer. The circuit schematic can be found on lesson 10 at www.toptechboy.com
This lesson shows how you can output analog voltages on the Arduino microcontroller. On the arduino uno you can do analog writes on pins 3,5,6,9,10,11. These are the pins marked with the squiggly lines. You can get more supporting information including code and schematics at our WEB site http://www.toptechboy.com
This arduino lesson presents a simple tutorial on getting user input from the serial monitor over the serial port. This allows you to interact with the user, and not have to hard code your parameters into your program. You can get the schematic and starting code at Lesson 6 at http://www.toptechboy.com
Arduino Lesson 3 introduces the concept of a for loop and shows how it works. The lesson centers around controlling two LED’s. Concepts of code documentation and comments are also introduced. See resources and full details at http://www.toptechboy.com