Modul 2: Arduino Simulator
Modul 2: Arduino Simulator
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
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
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
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