0% found this document useful (0 votes)
104 views34 pages

Modul 2: Arduino Simulator

The document introduces an Arduino simulator called Tinkercad that allows users to design and simulate Arduino circuits online without physical hardware. It provides tutorials on breadboards, resistors, LEDs and creating basic circuits with them. This includes explanations of components like breadboards, resistors, LEDs and creating simple blinking LED circuits and a traffic light circuit using Arduino code. It also discusses tasks like making an LED flip flop and shift register circuits.

Uploaded by

HANDRI ZALIL
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
104 views34 pages

Modul 2: Arduino Simulator

The document introduces an Arduino simulator called Tinkercad that allows users to design and simulate Arduino circuits online without physical hardware. It provides tutorials on breadboards, resistors, LEDs and creating basic circuits with them. This includes explanations of components like breadboards, resistors, LEDs and creating simple blinking LED circuits and a traffic light circuit using Arduino code. It also discusses tasks like making an LED flip flop and shift register circuits.

Uploaded by

HANDRI ZALIL
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 34

Modul 2

Arduino Simulator
Oleh :
Sugeng Purwantoro E.S.G.S
Muhammad Mahrus Zain
Agus Urip Ari Wibowo
Introduction of Arduino Simulator
https://www.tinkercad.com/
Introduction of Arduino Simulator
Registration
Introduction of Arduino Simulator
Web UI of Arduino simulator
Introduction of Arduino Simulator
Web UI of Arduino simulator
Introduction of Arduino Simulator
Menu: Starters → Arduino
Introduction of Arduino Simulator

Breadboard
Understanding
of
Breadboard
Understanding of Breadboard
A breadboard is a rectangular plastic board with a bunch
of tiny holes in it.

Reference: https://www.sciencebuddies.org/science-fair-projects/references/how-to-use-a-breadboard
Understanding of Breadboard
A breadboard is a rectangular plastic board with a bunch
of tiny holes in it.

https://learn.sparkfun.com/tutorials/how-to-use-a-breadboard
Understanding of Breadboard

https://learn.sparkfun.com/tutorials/how-to-use-a-breadboard
Understanding of Breadboard - Major features

https://learn.sparkfun.com/tutorials/how-to-use-a-breadboard
Understanding of Breadboard - Terminal Strips

https://learn.sparkfun.com/tutorials/how-to-use-a-breadboard
13
Understanding of Breadboard - Terminal Strips

https://learn.sparkfun.com/tutorials/how-to-use-a-breadboard
Understanding of Breadboard - Power Rails

https://learn.sparkfun.com/tutorials/how-to-use-a-breadboard
Understanding of Breadboard - Power Rails

https://learn.sparkfun.com/tutorials/how-to-use-a-breadboard
Understanding of Breadboard - DIP Support

https://learn.sparkfun.com/tutorials/how-to-use-a-breadboard
Understanding
of
Resistor
Understanding of Resistor – Ohm’s Law

The relationship between Voltage, Current and Resistance in


any DC electrical circuit

https://www.electronics-tutorials.ws/dccircuits/dcp_2.html
Understanding of Resistor

https://www.parts-express.com/resources-resistor-color-code-chart
Understanding of
(LED, Light
Emitting Diode)
Understanding of LED
A light-emitting diode (LED) is a semiconductor device that
emits visible light when an electric current passes through it.

https://en.wikipedia.org/wiki/Light-emitting_diode
Understanding of LED - Practice
Connect USB cable between Arduino board and computer
Current flow
- 5V pin(+) → Resistor → Long pin of LED(+) → Short pin of
LED (-) → GND

Resistor : 220 ~ 330[Ω]


Understanding of LED - Practice

LED blinking – circuit


Understanding of LED - Practice
LED blinking – sketch

void setup()
{
pinMode(12, OUTPUT);
}

void loop()
{
digitalWrite(12, HIGH);
delay(1000);
digitalWrite(12, LOW);
delay(1000);
}
Understanding of LED - Practice
Making two LEDs blinking each other – circuit
Understanding of LED - Practice
Making two LEDs blinking each other – sketch

void setup() {
pinMode(13, OUTPUT);
pinMode(12, OUTPUT);
}

void loop() {
digitalWrite(13, HIGH);
digitalWrite(12, LOW);
delay(1000);
digitalWrite(13, LOW);
digitalWrite(12, HIGH);
delay(1000);
}
Understanding of LED - Practice
Making a traffic light – circuit
Understanding of LED - Practice
Making a traffic light – sketch

void setup() void loop() {


{ digitalWrite(13, HIGH);
pinMode(13, OUTPUT); digitalWrite(12, LOW);
pinMode(12, OUTPUT); digitalWrite(11, LOW);
pinMode(11, OUTPUT); delay(1000);

digitalWrite(13, LOW); digitalWrite(13, LOW);


digitalWrite(12, LOW); digitalWrite(12, HIGH);
digitalWrite(11, LOW); digitalWrite(11, LOW);
} delay(1000);

digitalWrite(13, LOW);
digitalWrite(12, LOW);
digitalWrite(11, HIGH);
delay(1000);
}
Understanding of LED - Practice
Making LED Flip Flop
Understanding of LED - Practice
Making LED Flip Flop

void setup() {
pinMode(4, OUTPUT);
}

void loop() {
digitalWrite(4, HIGH);
delay(1000);
digitalWrite(4, LOW);
delay(1000);
}
Task of LED - Practice
Making Right Left Shift LED
Task of LED - Practice
Making Right Left Shift LED 2
Task of LED - Practice
Arduino 3 Bit Counter

You might also like