WEBVTT

00:00.000 --> 00:07.840
components of a robot. Learning objective, creating a new circuit in

00:07.840 --> 00:12.760
TinkerCAD, adding the Arduino Uno, writing and running the Blink code,

00:12.760 --> 00:19.440
simulation and experimentation. Hey there! In this video, we will walk through

00:19.440 --> 00:24.000
the simple process of using TinkerCAD to test the built-in LED on your Arduino

00:24.000 --> 00:31.720
board with a Blink test. Step 1. Open TinkerCAD. First, open TinkerCAD and create a

00:31.720 --> 00:38.240
new circuit. If you don't have a TinkerCAD account yet, sign up at TinkerCAD.com.

00:38.240 --> 00:45.400
Choose the type of account. Then, there are a number of ways to sign up, including

00:45.400 --> 00:51.200
email, Google or Apple Mail. Follow the on-screen instructions and fill the

00:51.200 --> 00:55.880
prompted detailed and sign-up into your TinkerCAD account.

01:03.080 --> 01:07.520
Here's the typical homepage, where you can see a lot of pre-built designs in

01:07.520 --> 01:11.280
the gallery. You can scroll through and change these designs if you're

01:11.280 --> 01:17.680
interested. There is a vast collection of circuits, 3D designs and code blocks

01:17.680 --> 01:24.880
for you to copy, edit and tinker with them. Step 2. Create a new circuit. Click

01:24.880 --> 01:29.720
create then, new circuit from the drop-down menu to create your first circuit.

01:29.720 --> 01:36.040
Step 3. Add the Arduino Uno. Now, we need to add an Arduino Uno to our

01:36.040 --> 01:39.800
workspace. Simply drag and drop it from the components panel on the right

01:39.800 --> 01:45.480
side of the screen. By default, the Arduino Uno has an inbuilt LED connected

01:45.480 --> 01:50.920
to pin 13, so we won't need to wire anything externally for this blank test.

01:50.920 --> 01:57.560
Step 4. Let's start coding. Now, let's open the code editor by clicking on

01:57.560 --> 02:03.040
code in the top right. TinkerCAD uses block-based coding by default, but for this

02:03.040 --> 02:09.480
test, we'll switch to text-based code. To do that, click on text at the top

02:09.480 --> 02:16.840
left of the code window. Step 5. The Blink Code. By default, the code for the

02:16.840 --> 02:22.680
inbuilt Blink test comes with the code editor. Let's understand the code. Here's

02:22.680 --> 02:29.440
a quick breakdown of the structure. In the setup, function, we configure pin

02:29.440 --> 02:36.440
13 as an output. In the loop, function, the LED turns on for one second, then

02:36.440 --> 02:41.240
off for another second, repeating this cycle indefinitely. The digital right

02:41.240 --> 02:47.400
function to control the LED and delay to set how long it stays on or off.

02:47.400 --> 02:52.120
TinkerCAD provides features like schematic sketches for the circuits you built

02:52.120 --> 02:56.560
that can be shared and printed when required, and it is useful while building

02:56.560 --> 03:01.320
complex circuit, involving multiple components, giving a visual representation

03:01.320 --> 03:07.720
that helps in prototyping. Step 6. Start the simulation. Once the code is in,

03:07.720 --> 03:14.480
click start simulation at the top right to run the circuit. Step 7. Observe the

03:14.480 --> 03:20.240
inbuilt LED. Great. You can see that the inbuilt LED on pin 13 is now blinking.

03:20.240 --> 03:27.080
This means your code is working. Step 8. Experiment with the code. If you'd like

03:27.080 --> 03:30.720
to experiment, you can adjust the delay times in the code to make the Blink

03:30.760 --> 03:40.720
faster or slower. The shorter the delay, the faster the Blink. Step 9. Explore and

03:40.720 --> 03:46.200
improvise. TinkerCAD allows to rename, share, and let others make a copy of your

03:46.200 --> 03:53.880
project for tinkering. TinkerCAD to test the built-in LED on an Arduino board is

03:53.880 --> 03:58.680
a simple and effective way to learn basic circuit simulation and coding. By

03:58.680 --> 04:03.080
following these steps, you can easily experiment with the Blink test and explore

04:03.080 --> 04:06.280
further Arduino projects.

