
WHAT IS ARDUINO? HOW IS IT USED IN ELECTRONICS PROJECTS?
What is
Arduino?
Arduino
is an open-source electronics platform consisting of hardware and software. It
offers a simple and easy way to create interactive electronic projects for
beginners and experts. Arduino boards are built with microcontrollers, which
are small computer chips that can be designed to control various electronic devices.
Free
hardware is hardware whose features and illustrations are publicly available
so that anyone can copy them. This means that Arduino provides the foundation
for other people or companies to build their own boards that may be different
from each other but work the same way at the start of the same foundation.
Free
software is a computer program whose code is accessible to everyone, so anyone
who wants to use it can use and modify it. Arduino provides the Arduino IDE
(Integrated Development Environment) platform, a workspace that anyone can use
to build applications to integrate Arduino boards with various devices.
Arduino
is an ATMEL AVR microcontroller-based board. Microcontrollers are integrated circuits
that can write commands that you can write in the programming language found in
the Arduino IDE environment. The most commonly used microcontrollers on the
Arduino
platforms are Atmega168, Atmega328, Atmega1280, and ATmega8 due to their simplicity.
Main Arduino
boards:
What's on the Arduino board?
Power (USB/Barrel Jack)
Each Arduino board needs a
method for being associated with a power source. The Arduino UNO can be fueled
from a USB link coming from your PC or a wall power supply that is ended in a
barrel jack. In the image, the USB association is named (1), and the barrel
jack is marked (2).
The USB association is
additionally the way that you will stack code onto your Arduino board.
NOTE: Don't utilize a power
supply more prominent than 20 volts, as you will overwhelm (and in this way
obliterate) your Arduino. The suggested voltage for most Arduino models is
somewhere in the range of 6 and 12 volts.
Pins (5V, 3.3V, GND, Analog,
Digital, PWM, AREF)
·
GND (3): Short for 'Ground.'
There are a few GND pins on the Arduino, any of which can be utilized to ground
your circuit.
·
5V (4) and 3.3V (5): The 5V pin
supplies 5 volts of force, and the 3.3V pin supplies 3.3 volts of force. The
vast majority of the straightforward parts utilized with the Arduino run
cheerfully off of 5 or 3.3 volts.
·
Simple (6): The area of pins under
the 'Simple In' name (A0 through A5 on the UNO) are Simple In pins. These pins
can peruse the sign from a simple sensor (like a temperature sensor) and
convert it into a computerized estimate that we can peruse.
·
Advanced (7): Opposite the
simple pins are the computerized pins (0 through 13 on the UNO). These pins can
be used for both digital input (like telling if a button is pushed) and digital
output (like powering an LED).
·
PWM (8): You might have seen the tilde
(~) close to a portion of the computerized pins (3, 5, 6, 9, 10, and 11 on the
UNO). These pins go about as should be expected for advanced pins; however, they can
likewise be utilized for something many refer to as Heartbeat Width Tweak
(PWM).
·
AREF (9): Represents Simple Reference.
More often than not, you can let this pin be. It is at times used to set an
outer reference voltage (somewhere in the range of 0 and 5 volts) as far as
possible for the simple information pins.
·
Reset Button
·
Arduino has a reset button
(10). Pushing it will temporarily connect the reset pin to ground and restart
any code that is loaded on the Arduino. This can be very useful if your code
doesn’t repeat, but you want to test it multiple times.
·
Power LED
Indicator
·
Just underneath and to one
side of "UNO" on your circuit board, there's a small driver close to
the word 'ON' (11). This drive ought to illuminate at whatever point you plug
your Arduino into a power source. In the event that this light doesn't turn on,
there's a decent opportunity something is off-base. Time to actually look at
your circuit!
·
TX RX LEDs
·
TX is short for communicate, and RX is short for get. These markings show up a lot in hardware to demonstrate
the pins liable for sequential correspondence. For our situation, there are two
ports on the Arduino UNO where TX and RX show up—one by computerized pins 0
and 1 and a second time close to the TX and RX pointer LEDs (12). These LEDs
will give us a few decent visual signs at whatever point our Arduino is getting
or communicating information (like while we're stacking another program onto
the board).
·
Main IC
·
The dark thing with every
one of the metal legs is an IC, or Coordinated Circuit (13). Consider it the
cerebrum of our Arduino. The principal IC on the Arduino is marginally not the
same from board type to board type; however, it is ordinarily from the ATmega line of ICs from the ATMEL organization. This can be significant, as you might have to
know the IC sort (alongside your board type) prior to stacking up another
program from the Arduino programming.
·
Voltage
Regulator
·
The voltage controller (14)
isn't really something you can (or ought to) connect with on the Arduino.
However, it is possibly helpful to realize that it is there and what it's for.
The voltage controller does the precise, exact thing it says- it controls how
much voltage is allowed into the Arduino board. Consider it a sort of
watchman; it will dismiss an additional voltage that could hurt the circuit.
Obviously, it has its cutoff points, so don't attach your Arduino to anything
more prominent than 20 volts.
Arduino IDE:
The
Arduino IDE (Integrated Development Environment) is the software used to write,
compile, and upload code to Arduino boards. It provides a user-friendly
interface and a set of tools to facilitate Arduino programming.
With
Arduino it is possible to automate anything to make autonomous agents (if you
want, we can call them robots). To control lights and devices, or anything else
you can think of, you can go for an Arduino-based solution, especially in
developments of devices connected to the Internet.
To use Arduino with an electronic
project, follow these general steps:
Get an Arduino board: Arduino offers
various board models, such as Arduino Uno, Arduino Nano, and Arduino Mega.
Choose the board that best suits your project's requirements.
Install the Arduino IDE: The Arduino
Integrated Development Environment (IDE) is software used to write and upload
code to Arduino boards. Download and install the Arduino IDE from the official
Arduino website (https://www.arduino.cc/en/software).
Connect the
Arduino board: Connect your Arduino board to your computer using a USB
cable. The board should be recognized by your computer as a serial port.
Write your code. Open the Arduino IDE
and write your code in the editor. Arduino programming is based on a simplified
version of C/C++. The IDE provides a range of built-in functions and libraries
that make it easy to interact with electronic components.
Upload the code: After writing your
code, click the "Upload" button in the Arduino IDE to compile and
upload the code to the Arduino board. The code will be stored in the
microcontroller's memory.
Connect electronic components: Connect
the electronic components (sensors, actuators, LEDs, etc.) to the appropriate
pins on the Arduino board. The specific connections depend on your project
requirements and the components you are using. Refer to the Arduino
documentation, component datasheets, or online tutorials for guidance.
Test and iterate: Once everything is
connected, power up your Arduino board and test your project. Monitor the
output, observe the behavior of your components, and make adjustments to the
code as needed. You can modify and re-upload the code multiple times to refine
your project.
Example:
LCD with
Arduino
Connection:
* LCD RS pin to digital pin
12
* LCD Enable pin to digital pin 11
* LCD D4 pin to digital pin 5
* LCD D5 pin to digital pin 4
* LCD D6 pin to digital pin 3
* LCD D7 pin to digital pin 2
* LCD R/W pin to ground
* LCD VSS pin to ground
* LCD VCC pin to 5V
* 10K resistor:
* ends to +5V and ground
* wiper to LCD VO pin (pin 3)
Circuit stimulation:
https://www.tinkercad.com/things/0jxN1QpUtp9
There have been thousands of
Arduino-based projects that have been made since its introduction, from simple
to complex projects like musical instruments, car robots, remote controls, and
even security systems. Arduino is a revolutionary tool in electronics. Its
comprehensible hardware and software make it a great tool for learning and
building DIY projects.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>