The ultrasonic sensor (HC-SR04) is great for all kinds of projects that need distance measurements. The HC-SR04 is inexpensive and easy to use. We will be sending signals directly to the sensor and interpreting the results without the need for a library.
Ultrasonic sensor module HC-SR04 provides a 2cm-400cm non-contact measurement function, the accuracy can reach 3mm. The modules include ultrasonic transmitters, receivers, and control circuits. We will be wiring the ultrasonic sensor to our Arduino UNO R3 controller on our super starter kit. Let’s get started. Continue Reading!
We will now look at the tilt ball switch on our Arduino Uno super starter kit. Tilt sensors (tilt ball switch) allow you to detect orientation or inclination. They are small, inexpensive, low-power, and easy to use. Their simplicity makes them popular for toys, gadgets, and appliances. Tilt ball switches are sometimes referred to as “mercury switches”, “tilt switches”, or “rolling ball sensors”.
We will be wiring a tilt ball switch to our Arduino UNO R3 controller on our super starter kit. Let’s get started. Continue Reading!
We will now look at active and passive buzzer outputs on our Arduino UNO controller. Electronic buzzers are DC-powered and equipped with an integrated circuit. They are widely used in computers, printers, photocopiers, alarms, electronic toys, automotive electronic devices, telephones, timers, and other electronic products for voice devices. Buzzers can be categorized as active and passive. Turn the pins of two buzzers face up. The one with a green circuit board is a passive buzzer, while the other enclosed with black tape is an active one.
We will be wiring passive and active buzzers to our Arduino UNO R3 controller on our super starter kit. Two pushbuttons with pull-down resistors will control the buzzers. Pressing the first button will play a melody on the passive buzzer. A two-tone alarm will sound using the active buzzer when the other push button is selected. Let’s get started. Continue Reading!
We will now be looking at how to use analog inputs to our Arduino UNO controller. An analog input converts a voltage level into a digital value. This can then be used in our Arduino program or sketch. The analog input signal can represent many different items. Speed, levels, distance, brightness, density, humidity, etc. are a few items that this external input can represent.
We will be wiring a 10K potentiometer to the first analog input of the controller. The Arduino Uno R3 from our Super Starter Kit will be used. As the analog values changes via our potentiometer, we will use PWM to change the brightness of an LED. We will look at how this conversion from analog voltage to digital is done. Values will be displayed on the built-in serial monitor of our Arduino IDE software. Let’s get started. Continue Reading!
We will now be looking at using digital inputs (pushbuttons) to turn LEDs on and off. This will be programmed using our Arduino Uno R3 from our Super Starter Kit. Pushbuttons will allow actions to be performed that our Arduino program sketch will interpret and take action.
We will be wiring two pushbutton switches. A pull-down resistor will be wired to the first switch and a pull-up resistor will be wired to the second switch. This will change the state of the input (High (1) or Low (0)) based on the wiring. Two LEDs will be wired to the outputs of the Arduino Uno. This will show the state of the switches and allow the switch inputs to modify the state of the LED. We will look at three different programs.
Eliminating switch bouncing will also be discussed and programmed using our Arduino Uno super starter kit. Let’s get started. Continue Reading!
We will now install software to program our arduino uno. This arduino uno software is a free download and will operate on several operating systems. The IDE (Integrated Development Environment) software uses a streamlined version of C++ to write and upload code to the boards. This software is open-sourced and available free of charge. It will run on Windows, Mac, or Linux.
We will be installing the Arduino IDE on a Windows 7 machine. Connecting to our Arduino Uno, we will modify the blink program. (sketch) Let’s get started. Continue Reading!