Fireship · @fireship
Arduino in 100 Seconds
Uploaded December 12, 2022 · Length 2:22
Summary
Arduino basics explained in 100 seconds, covering hardware, programming and projects.
- arduino
- microcontroller
- hardware development
- programming language
- iot projects
Transcript preview
The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.
- 0:00
Arduino an open source programmable
- 0:02
circuit board and microcontroller that
- 0:04
makes it possible for anyone to build
- 0:06
digital Hardware products the idea
- 0:08
started in Italy in 2005 and today has
- 0:11
sold over 10 million boards worldwide
- 0:12
the most popular model is the Uno and at
- 0:15
its heart we have a microcontroller
- 0:17
which is like a small inexpensive
- 0:18
computer that can run on low power the
- 0:21
board is surrounded by pins that can be
- 0:22
used to construct a circuit by
- 0:24
connecting various input and output
- 0:26
devices most importantly though it has a
- 0:28
USB port that's used to easily upload
- 0:30
your code to the device in Arduino a
- 0:33
software program is called a sketch
- 0:34
which is written in a purpose-built easy
- 0:36
to learn programming language every
- 0:38
program has two basic functions setup
- 0:40
runs once when the hardware is first
- 0:42
powered on and loop runs continuously to
- 0:45
react to signals from input devices or
- 0:47
changes to the state of the program
- 0:48
arduinos have been used to build iot
- 0:50
products robots wearable devices and all
- 0:53
kinds of other crazy Hardware ideas to
- 0:55
get started obtain a board then download
- 0:57
its custom IDE or use the vs code plugin
- 1:00
if you prefer once installed connect
- 1:02
your board via USB then create a new
- 1:04
sketch which is just a file ending in
- 1:06
dot Ino the language itself feels like a
- 1:08
simplified version of C with plenty of
- 1:10
built-in functions to make Hardware
- 1:11
coding more accessible the setup
- 1:13
function runs once when the board is
- 1:15
reset or powered up we could use the
- 1:17
built-in pin mode function to select a
- 1:19
pin like the built-in LED and then
- 1:21
configure it as an input or output and
- 1:23
now in the loop function we can turn the
- 1:25
LED on by writing to it with a value of
- 1:28
high which is a constant that will
- 1:30
increase the voltage to that pin and
- 1:32
make it shine to make it blink we can
- 1:34
follow it with a delay then switch the
- 1:36
voltage to low and now we can hit the
- 1:38
upload button to compile and run this
- 1:40
code on the arduino's microcontroller
- 1:42
congratulations you just built a custom
- 1:44
Hardware product but there's a lot more
- 1:46
we could do here connect a breadboard to
- 1:48
it to create circuits without the need
- 1:49
for soldering the Arduino can power it
- 1:51
by connecting the positive side to the 5
- 1:53
volt pin and the negative side to the
- 1:55
ground pin and now connect components
- 1:57
like LEDs capacitors resistors battery
- 1:59
attacks Motors and switches to the


