Академический Документы
Профессиональный Документы
Культура Документы
Group 2
1. Introduction
2. Before Arduino
a. Parallax Basic Stamp (over 1990)
A BASIC Stamp module is a single-board computer that runs the Parallax PBASIC
language interpreter in its microcontroller. The developer’s code is stored in an
EEPROM, which can also be used for data storage. The PBASIC language has easy-
to-use commands for basic I/O, like turning devices on or off, interfacing with
sensors, etc. More advanced commands let the BASIC Stamp module interface with
other integrated circuits, communicate with each other, and operate in networks.
PBASIC program that uses ASCII code.
a. What is Arduino ?
Advantages of Arduino
You don't need a programmer chip device because it already has a bootloader
that will handle uploading programs from your computer.
Already have a USB communication facility, so laptop users who do not have
a serial port / RS323 can use it.
It has a ready to use module (shield) that can be plugged into an Arduino
board. For example shield GPS, Ethernet, SD Card and others Arduino.
Disadvantages of Arduino
b. What is microcontroller ?
Alv and Vegard's Risc microcontroller or often abbreviated to AVR is an 8-bit RISC
microcontroller. Because of this RISC most of the instruction code is packaged in one
clock cycle.
Advantages of Microcontroller
In the form of IC
Longer lifetime
Disanvadtages of Microcontroller
1) USB Port
Used to connect an Arduino Board to a computer via a USB connection. as a
power supply to the board or for microcontroller programming.
2) TX dan RX LED
TX (Transmit) and RX (Receive), the two LEDs will blink during IC or
Arduino Board programming. This pin is used for serial data communication
with other devices.
8
9
1 7
2 6
5
3
4
Picture 1. Pins of Arduino
1) Power Connector
power is used as a supply or source of electric for Arduino with Jack type. DC
input of 5-12 V. 9V recommended steel.
2) Analog Input
The Arduino UNO board has six analog pins A0 through A5. Used to read
analog signals or sensors such as proximity sensors, temperature, etc., and
convert them into digital values.
3) Ic Microcontroller
IC or Integrated Circuit, aka the brain of the Arduino Board. This IC is
programmed by the Arduino board to set digital pins (15) and analog pins
(10).
4) ON Board LED
Most Arduino has on-board LEDs that you can control. At UNO, MEGA and
ZERO are attached to digital pin 13, on MKR1000 on pin 6. LED_BUILTIN
is set to the correct LED pin regardless of which board is used. If you want to
know what pins are attached to the board LEDs on your Arduino model,
check the Technical Specifications of your board at:
https://www.arduino.cc/en/Main/Products
5) Power LED
This lamp will light up and indicate the Arduino Board is getting a good
power supply. If it does not turn on, there is something wrong with the power
supply or the audio card.
7) Reset
Used to repeat the Arduino program from the beginning or Reset. The first
method is by pressing the reset button on the board. The second way is by
connecting the reset pin with GND briefly.