Download ebooks file Science and Engineering Projects Using the Arduino and Raspberry Pi: Explore STEM Concepts with Microcomputers 1st Edition Paul Bradt all chapters
Download ebooks file Science and Engineering Projects Using the Arduino and Raspberry Pi: Explore STEM Concepts with Microcomputers 1st Edition Paul Bradt all chapters
com
https://textbookfull.com/product/science-and-engineering-
projects-using-the-arduino-and-raspberry-pi-explore-stem-
concepts-with-microcomputers-1st-edition-paul-bradt-2/
OR CLICK BUTTON
DOWNLOAD NOW
https://textbookfull.com/product/beginning-robotics-with-raspberry-pi-
and-arduino-using-python-and-opencv-jeff-cicolani/
textboxfull.com
https://textbookfull.com/product/beginning-robotics-with-raspberry-pi-
and-arduino-using-python-and-opencv-2nd-edition-jeff-cicolani/
textboxfull.com
https://textbookfull.com/product/beginning-robotics-with-raspberry-pi-
and-arduino-using-python-and-opencv-2nd-edition-jeff-cicolani-2/
textboxfull.com
Internet of Things with Raspberry Pi and Arduino 1st
Edition Rajesh Singh (Author)
https://textbookfull.com/product/internet-of-things-with-raspberry-pi-
and-arduino-1st-edition-rajesh-singh-author/
textboxfull.com
https://textbookfull.com/product/action-movement-light-and-sound-with-
arduino-and-raspberry-pi-first-edition-monk/
textboxfull.com
https://textbookfull.com/product/internet-of-things-with-raspberry-pi-
and-arduino-first-edition-edition-rajesh-singh/
textboxfull.com
https://textbookfull.com/product/raspberry-pi-home-automation-with-
arduino-2nd-edition-andrew-k-dennis/
textboxfull.com
https://textbookfull.com/product/hacking-electronics-learning-
electronics-with-arduino-and-raspberry-pi-2nd-edition-simon-monk/
textboxfull.com
Paul Bradt and David Bradt
David Bradt
Houston, USA
Apress standard
© Paul Bradt and David Bradt 2020
What Is STEM?
STEM (Science, Technology, Engineering, Mathematics) is a program
based on educating students in science, technology, engineering, and
mathematics in an integrated, interdisciplinary approach to learning.
School systems today strive to improve education in STEM. This goal
is an area where educators can use outside help developing and
improving students’ knowledge when they actively contribute, design,
and build hands-on projects. In many ways, the young mind is excited
and motivated building projects. They develop an in-depth
understanding of what is required and how it works. The authors
believe this is the best way to learn and remember these concepts,
which results in a solid STEM foundation for students.
A question not often understood is how the scientific method is
different from an engineering approach. Understanding the difference
between science and engineering can be seen in the original Star Trek
series. Mr. Spock was the science officer, and Montgomery Scott (Scotty)
was the chief engineer. Their jobs and how they approached new
scenarios or problems really provide a great explanation about the
differences and similarities between science and engineering. Let’s
examine some examples.
Mr. Spock used the term fascinating when describing a new event or
phenomenon. The role of science is to expand knowledge and
investigate new events. This fascination with new and unique areas is
key for a scientist. Scotty, the engineer, on the other hand always had to
fix the warp engines, the transporter, or some other critical system. The
normal role of an engineer is to develop and implement solutions to
problems. In one of the episodes, Scotty indicated he would rather read
his engineering journals to learn about how others solved problems
than go on shore leave!
Science
Researchers use the scientific method as a tool to understand questions
in their area of interest. Based on the information they have initially,
they develop a hypothesis and then methods to test the validity of the
hypothesis. When sufficient test data are gathered and analyzed, the
researcher either accepts or rejects the hypothesis. In many cases,
positive or negative results point to the next step or direction of
exploration and contribute to the general body of scientific and
engineering knowledge.
Engineering
The primary goal of engineering is to evaluate alternatives and choose
the optimal solution to minimize or eliminate specific problems or
issues. Solutions are not necessarily new, but may be repurposed
concepts applied to different problem areas. Other aspects of
engineering include planning the work, selecting components to meet
requirements, and following through on managing and completing a
project. Often projects or systems fail because the planning, scheduling,
and logistics of activities are not adequately engineered for an optimum
solution. These skills are important and necessary in any job.
Science and engineering use many of the same tools and techniques,
but it is important to understand the distinction between scientific
experimentation and the engineering process of developing optimal
solutions. For one thing, they both use the language of mathematics to
describe percentages, results, probability, and other physical
parameters. However, science’s goal is to expand knowledge which is
different than engineering’s goal of selecting an optimum solution and
proceeding with solving the problem. One other difference is a scientific
test often gains new knowledge, whereas an engineering test often
demonstrates how a system performs a function. In many ways, they
are synergistic as science often provides new tools and ideas for
engineers to use to solve problems.
In the authors’ minds, the roots of some key technological
advancements that exist now can be traced back 50 years to the
original Star Trek TV show. For example, in the show, they used
tricorders to gather data about aliens, equipment failures, medical
problems, and a host of other out of this world challenges. They had
communicators that allowed them to contact crewmembers all over
alien worlds. Finally, they had the replicators that allowed them to
produce any type of food they desired. Today we don’t have tricorders,
but we do have some examples that 50 years ago would have been
amazing. Today there are personal computers, cell phones, 3D printing,
and incredible sensors based on the early transistors of the 1960s. The
Arduino and the Raspberry Pi, two examples of new technology, can be
built into devices similar to the incredibly versatile Star Trek tricorders.
Both Mr. Spock and Scotty realized they needed each other (science
and engineering) to accomplish the goals of exploration and keep the
Enterprise flying safely through space. In today’s complex world,
integrating science and engineering is key to researching problems and
developing solutions.
In the following chapters, the authors will demonstrate all of the
components of STEM needed to research scientific questions, use new
technology (Arduino and Raspberry Pi), employ engineering
techniques, and use mathematics to quantify the scientific data. As Star
Trek boldly went forth to explore new worlds, the authors hope the
students of today do the same!
Acknowledgments
This book would not be possible without the authors’ gaining early
technical insight regarding the Raspberry Pi and Arduino from others.
Jared Brank and Dennis Pate provided a lot of basic information, key
insights, and Arduino hardware early in the process. The authors thank
the following individuals who listened to them on many occasions and
provided help, insight, and inspiration with their own experiences with
the Raspberry Pi and other projects: Jeff Dunehew, Todd Franke, and
Fitz Walker. Additionally, significant assistance with 3D printing was
provided by Mitch Long and David Thoerig.
Producing this book would not have been possible without the
excellent help and guidance regarding scope and early editorial reviews
by Joanna Opaskar and Ed Weisblatt. The authors also utilized many
ideas from Andrew Bradt and Laura Brank’s science fair experience.
Most important was the support and advice from Andrea Bradt.
Table of Contents
Chapter 1:Key Technology Tools
Arduino Basics
Arduino Setup
Ports and Interfaces
Lessons Learned About the Arduino
Raspberry Pi Basics
Raspberry Pi Setup
Lessons Learned About the Raspberry Pi
Basic Electronics Definitions
Summary
Chapter 2:Data Logging Basics
Data Logging with the Arduino
Data Logging with the Raspberry Pi
Summary
Chapter 3:Physics and Mathematics Basics
Temperature
Force
Pressure
Basic Concept of Algebra
Statistical Concepts
Direct Compared to Inferred Measurements
Summary
Chapter 4:Simple Science and Engineering Projects
Buoyancy of Air
Arduino Buoyancy of Air Version
Raspberry Pi Buoyancy of Air Version
Buoyancy Recap
Demonstrating Pressure
Pressure/Force Recap
Capturing Counts
Counts Recap
Summary
Chapter 5:Advanced Physics and Mathematics for Science and
Engineering
Basics Terms of Calculus
How Heat Transfer Works
Conduction Heat Transfer
Convection Heat Transfer
Radiation Heat Transfer
All Three Heat Transfer Mechanisms Work Together!
Mass
Velocity and Acceleration
Inertia
Momentum
Friction
More Advanced Aspects of Calculus
Summary
Chapter 6:Time/Condition-Dependent Projects
Conduction Heat Transfer Through an Aluminum Rod
Ensure Consistency in Temperature Sensor Readings
Aluminum Rod Conduction Heat Transfer Recap
Conduction Heat Transfer Through a Window
Window Conduction Heat Transfer Recap
Convection Heat Transfer
Convection Heat Transfer Recap
Zero Gravity Demonstration
Zero Gravity Recap
Measuring Frictional Force Projects
Arduino Frictional Force Project
Operational Schematic
Arduino Frictional Force Recap
Raspberry Pi Frictional Force Project
Raspberry Pi Frictional Force Recap
Acceleration Projects
Acceleration Direct to Computer
Acceleration with Computer Recap
Acceleration Measurement Without a Computer
Acceleration Without Computer Recap
Summary
Chapter 7:Light and Imaging Projects
Radiation Heat Transfer
Analysis of Heat Transfer
Radiation Heat Transfer Recap
Astrophotographywith the Raspberry Pi Camera
Assembling the Meade ETX-60AT and Raspberry Pi
AstrophotographyMeade ETX-60AT Setup Recap
Assembling the 4 1/2-Inch Reflector Telescope and the
Raspberry Pi
Components Needed to Assemble the Raspberry Pi 3
Mounting System to the 4 1/2-Inch Telescope
Reflector Telescope Setup Recap
Basic Raspistill Previewing an Image with the Terminal
Command Line
Using Raspistill to Capture an Image
More Advanced Raspistill Input Without a Keyboard
Raspistill Image Capture Recap
AstrophotographyRaspberry Pi Python GUI
Initiating the GUI
PI_SN003 Raspberry PI GUI Recap
Assembling the Raspberry Pi and Touchscreen in the Case
Raspberry Pi, Touchscreen, and Case
Modification of the Case and Assembly
Components and Assembly of the Raspberry Pi Case Recap
Camera Modifications, Camera Case, and Power Cables
Camera Modifications
Building the Camera Case
Final Assembly of the Camera in the Case
Power Cord Combination
Camera, Camera Case, and Power Cord Assembly Recap
Building the Shelf for the Meade ETX-60AT
Shelf Components and Assembly Recap
Helpful Hints Using the Telescope and Raspberry Pi
Lessons Learned Recap
Example Images and Enhancing Them Using a Video Capture
GUI
Example Images Taken with the Upgraded Meade ETX-60AT
AstrophotographySystem
Recap of Example Images and Enhancement Techniques
Summary
Appendix:Reference Material
Soldering Safety
General Shop Safety
Manufacturing Techniques
Soldering
Basic Arduino and Raspberry Pi Python Commands
3D Printing
Computer-Aided Design Options
Project Management for Engineering
Decision Analysis for Engineering
Thermal Conductivity Coefficients
Coefficients of Friction
Astronomy Terms
Specifications of the Meade ETX-60AT
Setup, Updates, and Repairs
Helpful Books
Index
About the Authors
Paul Bradt
has a BS in Computer Science from the
University of Houston–Clear Lake. He
currently owns a small business and
writes books, develops code, and does IT
support work. He has experimented with
the Arduino and Raspberry Pi system
and believes them to be excellent tools
for developing an understanding of
electronic components and hardware
interaction in integrated systems. He
believes they are very useful as a
teaching aid in learning computer
programming, science, and engineering.
He likes to perform sophisticated
troubleshooting of computer problems
and has found that online resources can be a great help for novice users
to get their experiments operating quickly and effectively.
David Bradt
has a BS in Mechanical Engineering from New Mexico State University
with many years of experience in the aerospace industry and in the
petrochemical industry. He enjoys building and designing devices to
measure and control systems. He has found the Arduino and Raspberry
Pi to be incredibly powerful little devices that with a little bit of work
can do many different tasks. He is a big fan of Star Trek: The Original
Series and astronomy.
About the Technical Reviewer
Sri Manikanta Palakollu
is an undergraduate student pursuing his bachelor’s degree in
Computer Science and Engineering at SICET under JNTUH. He is a
founder of the OpenStack Developer Community in his college. He
started his journey as a competitive programmer. He always loves to
solve problems that are related to the data science field. His interests
include data science, app development, web development,
cybersecurity, and technical writing. He has published many articles on
data science, machine learning, programming, and cybersecurity in
publications like Hacker Noon, freeCodeCamp, Noteworthy, and DDI
through the Medium platform.
© Paul Bradt and David Bradt 2020
P. Bradt, D. Bradt, Science and Engineering Projects Using the Arduino and Raspberry Pi
https://doi.org/10.1007/978-1-4842-5811-8_1
This chapter will highlight some of the basics about the Arduino and
the Raspberry Pi. It will help the reader get started if they are
unfamiliar with these powerful devices. It is amazing what these
devices can do and this chapter provides some basic aspects for getting
them set up to run.
Arduino Basics
The Arduino is a powerful microcontroller that is ready to program and
acts as an intermediary device between a personal computer and
various sensors. It is relatively new technology that is a great tool for
gaining insight into physical properties and other scientific parameters.
The Arduino board was first developed in Italy in 2004 as a tool to
help train students in programming. It is an open source tool and as
such has developed a large base of helpful web sites and user groups. It
represents a breakthrough as an easy-to-use, relatively inexpensive,
programmable interface between a computer and various sensors. The
software development package and all of the online resources help
make this an ideal data logging tool for science fair/college projects.
The Arduino, Adafruit, SparkFun, Hacktronics, and other web sites
are great places to start. There are also several introductory books to
help the researcher get started using this device. Getting started with
Arduino by Banzi is a very good beginner’s book on Arduino.
Other sources of information for the Arduino novice are maker
faires and user group activities.
There are several versions and sizes, but for the projects in this
book, the Arduino Uno and the Integrated Development Environment
(IDE) version 1.89 were utilized. Figure 1-1 shows an example of the
Arduino Uno. The authors recommend for the person unfamiliar with
Arduinos to use an official version and not a clone. The authors have
never experienced a problem with an official Arduino, but there are
many clones, and the authors have experienced problems with one of
them.
Arduino Setup
Setting up an Arduino is relatively straightforward; the reader should
follow these basic steps to get the device running:
1. The Arduino is connected to a computer via a USB connection to the
input port (see Figure 1-3).
Raspberry Pi Basics
The Raspberry Pi 3 is a powerful minicomputer. This piece of
technology comes with a lot of features like any other modern
computer. It is an experimental/hobbyist device developed around
2011 in the United Kingdom to teach programming. For its low cost, it
has many capabilities and allows the user to configure it in many ways.
There are several models on the market. For this book, the authors
choose the Raspberry Pi 3 Model B V1.2 (Figures 1-4 and 1-5). There is
a new Raspberry Pi 4 that was recently released that has more features.
The authors researched the setup and use of the Raspberry Pi 4, and it
appears to be the same as the Raspberry Pi 3. We believe these projects
will work the same if you have a Raspberry Pi 4.
Raspberry Pi Setup
These are the general steps to set up the Pi:
1. Insert the SD card.
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
textbookfull.com