Placeholder Image

Subtitles section Play video

  • please go to the line the computer guy dot com in order to view schematics, code and Maur for the projects that you are learning about.

  • So welcome back today I want to give you an introduction of shields for our do we know boards.

  • So if you want to go out and you want to use an Arduino board for a project when the first things that you need to do is figure out the appropriate aren't we know board for what you're doing?

  • So you may want to go with an Arduino, you know, board This is the basic art we know board.

  • You may want to go with a nano board.

  • That's one of the really small boards.

  • You may want to go with a mega board with large boards.

  • You may want to go with honor.

  • We know, you know, with WiFi that actually has WiFi built into the yard.

  • We know board.

  • But one of the questions that's gonna come up is but But what if I need a functionality out of mired Ueno board and there are no art We know boards out there that are built with that functionality on the single board where?

  • Well, one of the things that you can do is you can use shields.

  • So what a she old is Basically, it's kind of like it.

  • It's an ad on board, essentially, for our do we know boards and this gives you additional functionality.

  • Think of think of something like a PC.

  • I card on a PC.

  • That's more or less what a shield is in the Arduino world.

  • So basically, you have your board, you put the shield on top and then you're able to access additional functionality.

  • So this is a nick.

  • This is a network Arduino shield.

  • So this allows you to plug in an R J 45 jack, and actually have your Arduino be able to connect to an Ethernet TCP i p for network.

  • So if you want a sensor that you can access over a normal wired network, you could add this this network shield.

  • If you're going to be doing something, let's say with robotics.

  • So you're going to have motors.

  • You need to turn motors.

  • You need to turn servo motors.

  • You needed a lot of accuracy with what you're doing, you can use something like this.

  • This is actually a motor and servo shield.

  • So this allows you to control motors and servos much more easily.

  • Or if let's say you have something that's gonna have a lot of sensors on it.

  • So so again, I don't know.

  • I got 20 year, different types of sensors.

  • They actually have a sensor of shield.

  • And so this has been specifically designed to allow you have a lot more inputs for sensors so that you can pull all of that information and from whatever whatever sensor modules that you have connected to your we know projects.

  • So basically, when we're talking about Shields were talking about ad on boards four.

  • You're aren't we know board to give that extra functionality?

  • So let's go over the work bench so I can show you these a little bit closer and give you a better idea of what shields can do for you.

  • So here we have our we know, you know, bored.

  • And here we have the three different shields that I've shown you before.

  • So again, this is a network shield, so this gives you that are gay.

  • 45.

  • Jack allows you to connect to a T C P I P.

  • four Ethernet network.

  • And so again it allows you to do things such as, basically, use your Arduino to pull and sensor data and then be able to display that as a web page.

  • So these network network shields are very cool again.

  • You're gonna be doing something such as building a robot, then using something like this motor shield.

  • So if you have a lot of different motors that have to fire off, you're going to be it would be a bit interact with them.

  • Precisely.

  • And so this motor shield gives you more motor and servo accessibility.

  • The same is true with this.

  • This aren't we know sensor shield.

  • So this sensor shield allows you to much more easily be able to read data from sensors read data from from multiple sensors.

  • Now, the what you gotta look at is when you want to connect these shields to the yard wayto board basically these pens here these pens here lineup with depends on their Dwayne O board.

  • So if you want to connect these two together, all you do is line them up and we go on Google and hope they go.

  • The one thing to be cleaner When you put these in, it's not as easy.

  • It's not as easy as a PC.

  • I slot again.

  • If you're used to computers, you're used to these things slipping and a hell of a lot more easily.

  • This is one of those design were designed issues, and it really is not a joke.

  • It could be an utter pain in the butt.

  • Get these things to go and properly.

  • So there we go.

  • We can slide it in.

  • That's one thing when I talk about issues where going with Arduino built our Do we know Boards versus Clone are doing aboard one of the really issues you can have with a clone?

  • Or do we know boards?

  • Is that the pins don't align quite quite correctly.

  • And so when you go to try to put on a shield IQ and it can really get a big pain in the butt, eso again.

  • That's that's one of the differences between going with a an official Arduino board.

  • Going with a club board is how everything lines up.

  • But basically, once it lines up and you're able to just push it down and then you just have this one big old block.

  • Now the cool thing is, you can see you have the connectors on top.

  • And so what you could do is you can actually add multiple shields to a single artery.

  • No boards.

  • If we wanted to add the motor shield on top of this again, would you just go slotted and hopefully it all works out.

  • Supposed Thio.

  • You know, again, it's kind of ugly.

  • It's kind of ugly.

  • You have to make sure the electrical connectors All right, so this can go on top.

  • But what you see is that this network port is so big that you can't make it lay flat, lay flush.

  • So this is one of the things that you'll have to be thinking about when you design your project.

  • You think about why hearing these and making sure everything connects properly.

  • But then after that, if you want to keep going, you can layer more Maur and more pins on top, and you can get a big old aren't we No shield sandwich that could turn surprisingly ugly.

  • But one of the big problems of your own run into is, although technically this connects making sure everything actually fits so that it electrically connect.

  • So I would I would be worried about these top pins up here making sure that they actually do the electrical connection.

  • Other supposed thio even though, theoretically, it's lots off.

  • And so then basically didn't.

  • Then you have a mess that looks like this.

  • And so this we could give you the network functionality and the motor functionality, and she'll functionality again.

  • One of things you have to be thinking about when you're going to be layering these shields on top of each other is whether the shield you have actually has these additional connectors.

  • So again, with the motor seal and the network shield they have, they have the connectors on top.

  • But then we go to the sensor shield.

  • You see that this doesn't have any additional connectors on top.

  • So something to be thinking about is if you're going to be building an Arduino device with multiple shields, that you only have one shield where there's no additional connectors on top.

  • Because if you had to, if you had to that looked like this, well, then then you're you're kind of stuff.

  • The other thing to realize with Shields is that the shields actually do you use specific pens in order to do whatever it is that they're doing?

  • So with the network shield, it uses three or four pins in order to do its communications.

  • So something to realize is as you go up in the boards that you won't be able to use those specific pins.

  • So let's say let's say pen, I don't know.

  • 10 through 13 is used to make this network shield work.

  • Then when you're adding and sensors or you're adding other things, you just have to remember that you're not able to use pens 10 through 13.

  • The other issue that you may theoretically run into the into the shields, depending on how they're designed, is if if to shield, used the same pens for communication, then that's also going to turn into an issue for you in order to figure that all you do is you look at the documentation for the shields that you're using, and from there it's paint by numbers.

  • This shield uses these pens.

  • The shield uses different pens.

  • This shield doesn't have connectors on top, so therefore we sandwich it all this way.

  • We can have a device that we're using So this is This is basically what the shields look like And how you can actually interact with shields.

  • Put everything together.

  • One thing to realize again, this is an Arduino, you know, board s o.

  • The shields can't fit on many different types of boards as long as they have the same pin out.

  • So this is our dino dude aboard.

  • This is a mega board.

  • So the mega board obviously is much bigger than the, you know, board.

  • But it has the same basic pin out.

  • And so it has the east, east, the top, the analog power and the top digital pens.

  • So therefore, this particular motor board can actually go.

  • Oh, it does, I swear.

  • Yeah, there it can go on top.

  • And so now this mega board can be using this shell again.

  • The same is true with the Leonardo board s o.

  • The Leonardo board has the exact same pin out as a, you know, in the mega, and so this particular shield will work on top.

  • So that's one thing to be thinking about when you're thinking about shields is making sure that the shield you purchase has the correct form factor for the board that you're going to be using.

  • So generally the standard she old size will work.

  • Who knows where on Leonardo's will work on Maiga's?

  • But if you start using things like nano boards, so nano boards again are those small boards.

  • So those nano boards have specific shields that have to be used on them.

  • So you can't purchase a Nano board and put it onto a mega.

  • So just make sure you're dealing with the proper form factor when you're dealing with these shields.

  • So that's a little bit of an introduction to the shields for our do we know boards now.

  • One thing with Shields, just like with our do we know boards themselves, is that clones are manufactured.

  • So this is in our yard.

  • We know Network Shield, actually from Arduino, and this is an Arduino network shield that is a clone.

  • This particular one is from saying smart.

  • So if you take a look at them again, they both have network connections.

  • But you can see that there are some differences again, with all these things deciding whether or not you go with the official version of the clone version.

  • The clone version is generally generally going to be about half the price of the official version.

  • So this network shield directly from our do we know if they cost about 2022 or $24.

  • Whereas this saying smart one I think cost around 12 s o the clones could be a lot more affordable.

  • But I was running into some very weird issues with this particular clone when I was trying to do an analog sensor and be able to read the data from the sensor.

  • This was actually throwing off some weird issues.

  • Um, so this is something that you're gonna have to be thinking about when you're going to go out and purchase shields.

  • Do you buy the shield directly from our Do we know that goes through quality assurance?

  • Or do you save a couple of bucks and buy something a little bit cheaper?

  • Really, It depends on what you're doing.

  • What, you're trying to fire off how specific readings and things actually have to be If you're gonna just throw something again, if you're If you're doing a project for the house, you're gonna throw something outside.

  • Just want to give it a little bit of network and activity.

  • Then you may want to go with the 10 or $12 clone board.

  • On the other hand, again, if you're gonna be doing class, if you're learning how to do this kind of stuff, I would highly recommend going with the official Arduino board because then you can guarantee there's quality assurance again.

  • Just just so everybody knows, put my opinion here a little bit.

  • Quality assurance is worth something.

  • Insurance is actually has financial value.

  • So just something to think about there.

  • So that's Ah, that's a little bit about Arduino Shields and look forward to seeing you at the next video.

please go to the line the computer guy dot com in order to view schematics, code and Maur for the projects that you are learning about.

Subtitles and vocabulary

Click the word to look it up Click the word to find further inforamtion about it