What is an Arduino Shield?

What is an Arduino Shield?

If you are learning about Arduino, you have no doubt come across the term Arduino Shield. This tutorial will explain what Arduino Shields are, why they are awesome, and several things to consider when buying shields.

cool electronics ideas that you have.

Now the Arduino in and of itself is pretty amazing - you can do a lot of stuff with an Arduino alone. But when you want to start adding all types of cool technologies like bluetooth, wifi, RF, motor-drivers, etc. it can be pretty tricky; especially if you are new to electronics and programming.

Arduino shields take all the complexity of the hardware and reduce it to a simple interface. This allows you to get your idea up and running fast.

Now it's not just the hardware that shields take care of, in many cases, Arduino shields also have programming libraries associated with them. These libraries allow you to easily implement the hardware features available on the shield.

There are shields for all types of things - LCD shields, LED matrix shields, wifi and bluetooth shields, motor shields, power supply shields, geiger counter shields, there are even shields for cooking hot dogs. Chances are if you need to do something, a shield exists to get you up and running quick.

Shields plug right into the top of an Arduino. The black plastic rows of holes along the sides of an Arduino are called headers, and on the bottom of a shield, you have these long spiky pieces of metal, these are called pins. The pins on a shield line up with the header rows on an Arduino and fit snuggly (more on this later).

Buying an Arduino Shield? Think about this stuff:

Does it have good documentation?

Documentation is the fancy way of saying - "will they show me how to use this thing?" Basically, is there some type of tutorial or user manual or forum that talks about how to use the shield.

This is one of the biggest factors for me when it comes to buying an Arduino shield. For all the ease of use that a shield provides, if I don't know how to use it, it's about as a good as a rock.

Lucky for us, people who use Arduino tend to be awesome and do a great job writing about how to use stuff, so even if the manufacturer doesn't have good instructions, if people actually use the shield, then you will find a wealth of information online. But if you do a web search and it doesn't turn up much of anything useful, you might consider looking for another option.

Two US companies that provide superb documentation of the shields they make and sell are Adafruit Industries and Sparkfun.

Soldering may be required

Many shields are sold as kits, that means they are not fully assembled - and will require you to do some soldering. If you are buying from a reputable source, you should know this ahead of time, but it is worth double checking.

Sometimes manufacturers will offer the shield as a kit or fully assembled - I often go for the fully assembled option just to save time. If you have not soldered before, shields are usually a cinch to solder, so don't be intimidated - go get a cheap soldering iron and some solder and go for it!

Probably the most important thing when soldering a shield is making sure that the pins on the bottom of the shield are straight up and down, if they aren't they won't line up to the Arduino headers and be a major pain to connect.

Stackable or Not Stackable Arduino Shields

If you plan on stacking an Arduino shield with other shields, you will want to make sure it is stackable. If it doesn't have pin headers on the top of the shield, or they don't look aligned correctly (usually too narrowly spaced), than it is likely another shield cannot be stacked on top of it.

You might also run into a problem if components on the shield stick up too high to allow shields above from getting a snug fit. Manufactures of shields are getting more savvy to this issue, but you should always check.

Not all Arduino shields have the same pinout

Some older Arduino shields may not have all the pins to fill the header rows of an Arduino. This is because older versions of Arduino didn't have as many pin header slots. This usually isn't too much trouble, unless you needed to use those pins that are not connected on the shield.

If you have an older version of Arduino, then a shield you buy might have more pins than your Arduino has headers for - usually they are still physically compatible - this should not be anything to sweat about.

Matching Hardware and Software Versions

On a final note, if you are having trouble with a shield working, it worth checking to see if you are using the most current library version for your version of shield.

A great example is the near ubiquitous Adafruit motor shield. There is a hardware version 1 and a hardware version 2. There are two separate code libraries for these. If you are trying to run your new version of the hardware on the old version of the library - then you will likely run into troubles. It worth checking to see you have the correct library for the job.

I hope you found this tutorial helpful, please be sure to check out our free Arduino Crash Course (signup below) if you want to accelerate your learning.

Avsnitt(61)

Arduino Course for Absolute Beginners 2nd Edition

Arduino Course for Absolute Beginners 2nd Edition

29 Aug 20173min

What is Arduino?

What is Arduino?

Have you seen some really cool stuff being made with a thing called Arduino? What is Arduino anyway? It sounds like an Italian sandwich with extra cheese or something... Well - it's that and a lot mor...

28 Apr 20174min

How to change the font color in the Arduino IDE

How to change the font color in the Arduino IDE

Have you ever wanted to change the font color in the Arduino IDE? Maybe it is hard for you to read the light grey comments in the Arduino IDE, or maybe you prefer something a little bolder. Whatever y...

27 Apr 20174min

Use Serial.print() to display Arduino output on your computer monitor: Part 2

Use Serial.print() to display Arduino output on your computer monitor: Part 2

In many cases while using an Arduino, you will want to see the data being generated by the Arduino. One common method of doing this is using the Serial.print() function from the Serial library to disp...

26 Apr 20176min

Use Serial.print() to Display Arduino output on your computer monitor: Part 1

Use Serial.print() to Display Arduino output on your computer monitor: Part 1

In many cases while using an Arduino, you will want to see the data being generated by the Arduino. One common method of doing this is using the Serial.print() function from the Serial library to disp...

25 Apr 20178min

How to make a secret knock detector to trigger anything with only an Arduino and a few cheap components

How to make a secret knock detector to trigger anything with only an Arduino and a few cheap components

There are a couple good use-case scenarios for making a secret knock detector using an Arduino. You are a spy who needs to authenticate your cohorts You are a super hero who wants a secret knock to o...

24 Apr 201712min

Arduino Pseudo Random Non-Consecutive Number Generator

Arduino Pseudo Random Non-Consecutive Number Generator

In this video we demonstrate how to create pseudo random numbers with Arduino - with a useful twist. This lesson was inspired by the following viewer question: How do I create Random Non-Consecutive ...

23 Apr 201711min

A Review of Make: Magazine

A Review of Make: Magazine

I don't subscribe to many magazines, but I love my subscription to Make: magazine. And even though I rarely have time to sit down and enjoy a magazine in peace and quiet (parents forget what peace and...

22 Apr 20178min

Populärt inom Utbildning

historiepodden-se
rss-bara-en-till-om-missbruk-medberoende-2
det-skaver
harrisons-dramatiska-historia
alska-oss
nu-blir-det-historia
johannes-hansen-podcast
rss-foraldramotet-bring-lagercrantz
not-fanny-anymore
roda-vita-rosen
rss-viktmedicinpodden
sektledare
allt-du-velat-veta
rss-sjalsligt-avkladd
sa-in-i-sjalen
rss-max-tant-med-max-villman
i-vantan-pa-katastrofen
rss-basta-livet
rib-podcast
rss-traningsklubben