Arduino Introduction

Fatih Çağlar
3 min readOct 27, 2020

--

Arduino kit for starters

Arduino is an open source programmable circuit board that can be used in wide applications. Board contains a microcontroller which is able sensing and controlling objects. Now, I will be introducing common Arduino board and what is the use of it;

Arduino boards has several pins on it, which are mostly(if we talk about Arduino Uno);

  • Reset Button — This will restart any code that is loaded to the Arduino board
  • 2. AREF — Stands for “Analog Reference” and is used to set an external reference voltage
  • 3. Ground Pin — There are a few ground pins on the Arduino and they all work the same
  • 4. Digital Input/Output — Pins 0–13 can be used for digital input or output 5. PWM — The pins marked with the (~) symbol can simulate analog output
  • 6. USB Connection — Used for powering up your Arduino and uploading sketches
  • 7. TX/RX — Transmit and receive data indication LEDs
  • 8. ATmega Microcontroller — This is the brains and is where the programs are stored
  • 9. Power LED Indicator — This LED lights up anytime the board is plugged in a power source
  • 10. Voltage Regulator — This controls the amount of voltage going into the Arduino board
  • 11. DC Power Barrel Jack — This is used for powering your Arduino with a power supply
  • 12. 3.3V Pin — This pin supplies 3.3 volts of power
  • 13. 5V Pin — This pin supplies 5 volts of power
  • 14.Ground Pins — There are a few ground pins on the Arduino and they all work the same(GND)
  • 15.Analog Pins — These pins can read the signal from an analog sensor and convert it to digital (https://en.wikipedia.org/wiki/Analog-to-digital_converter)

After mentioning about voltage inputs, you will be asking about #10–11–12–13. Arduino source needs a power for operation. It does not just working by embedding a code. There are several ways of supplying a power to your board. First one is, DC supply. As mentioned #11, DC power jack helps you to connect your DC supply directly to system, so that you will be transfering a voltage through your circuit itself. Especially, if you want your project be mobile, you would need a 9V DC battery supply pack.

Breadboards used with projects

Breadboard also needs power and this can be given through system via cables. These cables(wires) are also used for placing resistors and other electronic parts. By looking at picture, one can imagine how to wire the circuit in a correct way.

Coding an Arduino board

Once you open your Arduino program, there will be a sketch which is created automatically. The sketch is a set of instructions that tells the board what functions it needs to perform. If you still don’t have the program, https://www.arduino.cc/en/Main/Software .

void setup()

  • This function is a void type and also created automatically on every sketch of an Arduino. This one allows your set up, such as definition of pins, input, output, defined rpm values and some other setting parameters that you might need.

void loop()

  • Once you create your void setup, you will be writing how you would like this circuit, to perform, it will execute it as a cycle until it is turned off.

--

--

Fatih Çağlar

Koç University - Master of Science | Sabancı University — Physics lover & Mechatronics Engineer & tactical analysis of sport games