So in last lecture we will learn about the rjbs and single leds. But currently we will go with the arduino that how to design an arduino circuit in the tinkerboard and how to load the program so ill, just create on the click new, create a new circuit so that ill get to my design area. So, firstly, we will see how to upload a program in that and how to run after that, we will see how to use the predefined program from the tinkercad. So for this i need an uno circuit, so ill, just search for uno. So now from here ill go out my arduino uno r3. So what i have to do, i just have to drag and drop so now my uno is here. I can move it like this so now for the single led we did for the last time. So now we will do for three leds, so this is the program i have which is in the ordinary. So from here i can see that how the leds are connected here – the pin mode 10, 11, 12 and 13. That means four leds are connected, so i need and four leds and the positives are connected to the 10, 11, 12 and 30 so ill go to my tinker. Cad ill took four leds here. Okay, here we can change the colors. Also. We will change the color after that, so first we will do the connection. This is the cathode so that it will go to ground okay.

So this is the 13th one Music. This will go to 10. This will go to 11 and this will go to 12. So now the ill connect this grounds just to the common ground ill give here on the ground. Pin after these connections, i will change the color also. So it will be easy for me to understand what is the ground and what is the positive supply, but for first i will just connect with the green colors. Now you can see we can bend the lines as per our requirement with this. So now this line is selected. I will go here and as this is on ground, so i will make it black so that it will be easy to understand the connections. Okay, this one will go black and this pin will also go black okay. So now the simple circuit is done so now i have this arduino programming, which i wrote in the arduino ide. So what i have to do, i just select all my control a ill. Do the control c. That means for copying ill come to my tinkercad page ill, go in the course so now in the course i have this crash coding is there. That means with the block. Coding is also there, but i dont have the program written, so i will go here and go with the text. It will ask me for the permission. I may continue so here the predefined one is there.

That means for the building led. The program is written. I dont want this. What ill do i just select this all and delete this, and what is my controlled one ill paste it here. So i know that this is my program for the multiple leds and here in the void. Setup is the main program and they made the pin 10 pin number 10 as an output, so i can see for the pin number 10. My led is connected for pin number 11. They connected on second led to super number 11. My second leds anode is there for pin number 12 also the same and four bit number 13, also so what they did in the loop, so they made the 10 11 12 high and 13 is the low okay. That means this will be off and this will be on and after that they made an alternate okay opposite of that, and they gave the delay of 500. That mean the weight will be in the seconds. So now this code is done. So what i have to do, i just have to start the simulation, so ill click on the start. It will listen, nice and see. This is connected. That means my audio is working now and we can see so this is there. That means i didnt connected the led with register, so the resistance which is flowing with the from the leds have very high rather than the sustainable rate, so i am getting that alarm one so for ignoring this, i can connect the leds also otherwise ill just stop.

This okay, so that is just for a warning purpose. I can ignore that warning or ill make the changes by connecting the register. So we will just connect registers now to see, because my code is done so for that what we have to do. We just have to delete these lines. That means for we will connect the resistor to the positive side, okay, so frame, i can make it tilt also, so it will be easy. So now, as i have the four leds, i need four registers. For the sake of understanding, i will make it red so that the positive supply will be with the red. Okay again, i have to make it more so that it will be easy. So my connector the register, but the currently the value of register is one key. So i just make it to the 220 ohms. So for that what i have to do, i just have to click on the register, so this panel will open – and here i can change to 220 ohms. Okay, i have the other options, also mostly ill play for 220, because its very low value, it will be very easy to find anywhere in the labs. So when we are going to do the physical practicing with this also it will be easy okay. So now this is done so ill again start the simulation to start. The initial you see. Currently, the intensity is varied right because i connected the register.

Thats right – and here i guess here – the value is 220 kilo, ohms thats why this led? The second led is not going so what ill do ill change this value to the ohms? So now, currently we can see as i change the resistance. The intensity of the resistor is get value varied. So now we stop the simulation ill go in the code. Now i want this timing as a thousand so ill just do the changes ill make it thousand ill come out of this and ill start the simulation it will start, and now we can see its on and off for the more time and ill stop it. For the saving, we know what we have to do well go here. We make it as a multiple led program, okay, so that we can from whenever we will try to recall or something it will be easy for us to send multiple program one. What do i do? I just have to click on the export and the vr. Then i it will be saved as a dot, brd format. Now this is saved and if i go to my dashboard, i will know that this is saved properly see this multiple program. We can see here which is saved so that i can use it from here for the next time.