Arduino-RaspberryPi-BannanaPi
Arduino-RaspberryPi-BannanaPi
Arduino is a great tool for people of all skill levels. However, you will
have a much better time learning along side your Arduino if you
understand some basic fundamental electronics beforehand. We
recommend that you have at least a decent understanding of these
concepts before you dive in to the wonderful world of Arduino.
What Does it Do?
The Arduino hardware and software was designed for artists, designers,
hobbyists, hackers, newbies, and anyone interested in creating
interactive objects or environments. Arduino can interact with buttons,
LEDs, motors, speakers, GPS units, cameras, the internet, and even
your smart-phone or your TV! This flexibility combined with the fact
that the Arduino software is free, the hardware boards are pretty cheap,
and both the software and hardware are easy to learn has led to a large
community of users who have contributed code and released
instructions for a huge variety of Arduino-based projects.
For everything from robots and a heating pad hand warming
blanket to honest fortune-telling machines, and even a Dungeons and
Dragons dice-throwing gauntlet, the Arduino can be used as the brains
behind almost any electronics project.
GND (3): Short for ‘Ground’. There are several GND pins on the
Arduino, any of which can be used to ground your circuit.
5V (4) & 3.3V (5): As you might guess, the 5V pin supplies 5
volts of power, and the 3.3V pin supplies 3.3 volts of power. Most
of the simple components used with the Arduino run happily off
of 5 or 3.3 volts.
Analog (6): The area of pins under the ‘Analog In’ label (A0
through A5 on the UNO) are Analog In pins. These pins can read
the signal from an analog sensor (like a temperature sensor) and
convert it into a digital value that we can read.
Digital (7): Across from the analog pins are the digital pins (0
through 13 on the UNO). These pins can be used for both digital
input (like telling if a button is pushed) and digital output (like
powering an LED).
PWM (8): You may have noticed the tilde (~) next to some of the
digital pins (3, 5, 6, 9, 10, and 11 on the UNO). These pins act as
normal digital pins, but can also be used for something called
Pulse-Width Modulation (PWM).
AREF (9): Stands for Analog Reference. Most of the time you
can leave this pin alone. It is sometimes used to set an external
reference voltage (between 0 and 5 Volts) as the upper limit for
the analog input pins.
Reset Button
Just like the original Nintendo, the Arduino has a reset button (10).
Pushing it will temporarily connect the reset pin to ground and restart
any code that is loaded on the Arduino. This can be very useful if your
code doesn’t repeat, but you want to test it multiple times. Unlike the
original Nintendo however, blowing on the Arduino doesn't usually fix
any problems.
TX RX LEDs
TX is short for transmit, RX is short for receive. These markings appear
quite a bit in electronics to indicate the pins responsible for serial
communication. In our case, there are two places on the Arduino UNO
where TX and RX appear -- once by digital pins 0 and 1, and a second
time next to the TX and RX indicator LEDs (12). These LEDs will give
us some nice visual indications whenever our Arduino is receiving or
transmitting data (like when we’re loading a new program onto the
board).
Main IC
The black thing with all the metal legs is an IC, or Integrated
Circuit (13). Think of it as the brains of our Arduino. The main IC on
the Arduino is slightly different from board type to board type, but is
usually from the ATmega line of IC’s from the ATMEL company. This
can be important, as you may need to know the IC type (along with
your board type) before loading up a new program from the Arduino
software. This information can usually be found in writing on the top
side of the IC. If you want to know more about the difference between
various IC's, reading the datasheets is often a good idea.
Voltage Regulator
The voltage regulator (14) is not actually something you can (or should)
interact with on the Arduino. But it is potentially useful to know that it
is there and what it’s for. The voltage regulator does exactly what it
says -- it controls the amount of voltage that is let into the Arduino
board. Think of it as a kind of gatekeeper; it will turn away an extra
voltage that might harm the circuit. Of course, it has its limits, so don’t
hook up your Arduino to anything greater than 20 volts
The Arduino Family
Arduino makes several different boards, each with different
capabilities. In addition, part of being open source hardware means that
others can modify and produce derivatives of Arduino boards that
provide even more form factors and functionality.
LilyPad Arduino
This is LilyPad Arduino main board! LilyPad is a wearable e-textile
technology developed by Leah Buechley and cooperatively designed
by Leah and SparkFun. Each LilyPad was creatively designed with
large connecting pads and a flat back to allow them to be sewn into
clothing with conductive thread. The LilyPad also has its own family
of input, output, power, and sensor boards that are also built specifically
for e-textiles. They're even washable!
RedBoard
At SparkFun we use many Arduinos and we're always looking for the
simplest, most stable one. Each board is a bit different and no one board
has everything we want -- so we decided to make our own version that
combines all our favorite features.
The RedBoard can be programmed over a USB Mini-B cable using the
Arduino IDE. It'll work on Windows 8 without having to change your
security settings (we used signed drivers, unlike the UNO). It's more
stable due to the USB/FTDI chip we used, plus it's completely flat on
the back, making it easier to embed in your projects. Just plug in the
board, select "Arduino UNO" from the board menu and you're ready to
upload code. You can power the RedBoard over USB or through the
barrel jack. The on-board power regulator can handle anything from 7
to 15VDC.
Sensors
With some simple code, the Arduino can control and interact with a
wide variety of sensors - things that can
measure light, temperature, degree of
flex, pressure, proximity, acceleration, carbon
monoxide, radioactivity, humidity, barometric pressure, you name
it, you can sense it!
Just a few of the sensors that are easily compatible with Arduino
Shields
Additionally, there are these things called shields -- basically they are
pre-built circuit boards that fit on top of your Arduino and provide
additional capabilities -- controlling motors, connecting to the
internet, providing cellular or other wireless
communication, controlling an LCD screen, and much more.
All over the world, people use the Raspberry Pi to learn programming
skills, build hardware projects, do home automation, implement
Kubernetes clusters and Edge computing, and even use them in
industrial applications.
The Raspberry Pi is a very cheap computer that runs Linux, but it also
provides a set of GPIO (general purpose input/output) pins, allowing
you to control electronic components for physical computing and
explore the Internet of Things (IoT).
Pi 1 Model B (2012)
Pi 1 Model A (2013)
Pi 1 Model B+ (2014)
Pi 1 Model A+ (2014)
Pi 2 Model B (2015)
Pi Zero (2015)
Pi 3 Model B (2016)
Pi Zero W (2017)
Pi 3 Model B+ (2018)
Pi 3 Model A+ (2019)
Pi 4 Model A (2019)
Pi 4 Model B (2020)
Pi 400 (2021)
Some people buy a Raspberry Pi to learn to code, and people who can
already code use the Pi to learn to code electronics for physical projects.
The Raspberry Pi can open opportunities for you to create your own
home automation projects, which is popular among people in the open
source community because it puts you in control, rather than using a
proprietary closed system.
Here are some of the projects you can tackle with Raspberry Pi:
Banana Pi
*******************************************************