Monday, February 25, 2019


ELECTRICAL ENGINEERING TECH. (EE 306) Arduino interrogation Date 2013/2/16 INTRODUCTION In this brief publish we will discuss a family of electronic get ons called Arduino. At the beginning we shall offer an overview of the Arduino plug-ins and what they atomic number 18. After that we will tackle the boards component and how the board works. Finally an example of one of the applications will be shown. WHAT IS AN ARDUINO? An Arduino board is plainly a microcontroller board. The board is designed with the purpose of facilitating the physical exertion of electronics in projects. The use of the board was intentionally made easy so that anyone cornerstone use it.The board comes with a software called the Arduino Integrated Development Environment. The software is use to program the Arduino board to do the required operations. An Arduino board receives inputs from different sensors and responds by controlling different types of actuators. It is also worth-mentioning that the boa rd and its software are open-source. It center that anyone can do anything with the board and its software. This nature has made the Arduino boards very prevalent among users because everyone can innovate with the board and share their innovations.However, this nature has also allowed clones with small qualities to be sold under the Arduino name. COMPONENTS There are many types of Arduino boards. round components vary from type to type, but a simple Arduino board that can be built at home have the following components 1- An Atmel Microcontroller. 2- light-emitting diodes. 3- Resistors. 4- Capacitors. 5- measure Crystal. 6- Switch 7- Voltage regulator. 8- Connection pins. 9- Diode. 10- Transistors. An Arduino boards capabilities can be extended by the use of shields. Arduino shields are boards that can be attach on the Arduino board to perform different tasks.For example the Xbee shield allows sixfold Arduino boards to communicate wirelessly, the motor shield allows the Arduin o board to control a DC motor. 2P a ge HOW IT WORKS In general, a code is put in the shop of the board and then polished in the microcontroller. This code interacts with inputs and outputs. Inputs can be signals coming from sensors (light, voice, heat, etc. ) or results from another(prenominal) processed task. After processing the inputs in the microcontroller and applying the codes from the memory, the result comes in an output form (alarm, light, etc. ).Codes are written in the memory by connecting the Arduino board to a computer. Connecting the Arduino board requires the use of an ICSP header or a USB cable such as the one found in the newer versions e. g. Arduino UNO ( go for figure 1). An Arduino board can be powered from a USB cable, an ACDC adaptor or a battery by connecting it in the Gnd and Vin pins. Figure 1 Connect Arduino by USB EXAMPLE OF APPLICATION Blinking LED In this example, we will use the Arduino board like a timer to upset a LED on for 1 second and off for a nother second. 3P a ge To do this function see the code below / Example Blinking LED const int LED = 13 void setup () pinMode(LED, OUTPUT) void loop() digitalWrite(LED, HIGH) delay(1000) digitalWrite(LED, LOW) delay(1000) The First line written later // is a comment that does not affect the program. In the second line, we condition the constant attached to pin 13 as LED. After attaching the LED to the pin, we decide whether the LED should be an input or an output, in this case, we chose output. Next, we indite the processing code, (digitalWrite(LED, HIGH)) this promoter to provide voltage to the LED, (delay(1000)) means waiting 1000ms ? s, (digitalWrite(LED, LOW)) means cutting off the voltage, (delay(1000)) the same process, which is waiting 1s. This code will be repeated in a loop. CONCLUSION An Arduino board can be a great starting point for anyone interested in microcontrollers. The board is easy to use and has a wide variety of applications. There are many tutorials ava ilable in the world web for the board receivable to its popularity. Although the board has many advantages, it still has its own limitations. REFERENCE 1 Arduino site, (http//arduino. cc/en/) 2 Simply Arduino, Eng. Abdullah Ali Abdullah, (http//simplyarduino. com/? page_id=5) 4P a ge

No comments:

Post a Comment