If you’re already a comfortable programmer, familiar with your single board computer and microcontroller, and are ready to refine your projects, then let’s get started! This book covers advanced methods and techniques for creating, implementing, monitoring and controlling your experiments and projects with your Raspberry Pi and Arduino. Projects will use Python and the Tkinter GUI and will also cover software development for adding real time data display to the Raspberry Pi.
You'll review concepts of frequency occurring in nature and the techniques used to measure the frequency of electrically varying signal voltages. You'll also study procedures for safe design, implementation and operation of experimental measurement systems operating at high heats and high temperatures. Throughout the book you'll look at sources and types of errors, and best practices for minimizing and reducing them.
Often times there are simple environmental issues hindering what would seem to be simple projects: high temperatures, controlling the power for elevated temperature with the proportional integral and derivative (PID) algorithm, and the limitations imposed by eight bit code, the influence of noise and errors in measured data, and many more. Advanced Arduino Techniques in Science provides the best tools to move past those restrictions.
What You’ll Learn
- Implement an experimental control system and graphical data display for the Raspberry Pi and Arduino
- Manage experimental control with PID algorithm implementation, tuning and limitations imposed by eight bit digital signals
- Build an analytical front end
- Examine data smoothing capability of the Kalman filter
- Explore available methods for measuring both high and low frequency values in electronic signals
Who This Book Is For
Educators, researchers, students, makers, citizen scientists, or hobbyists can all extend their measuring capability or improve upon the quality of their collected data. The book is directed to those with intermediate skills in programming and those who are comfortable with Python programming and Arduino C.
Author(s): Richard J. Smythe
Edition: 1
Publisher: Springer
Year: 2021
Language: English
Pages: 313
Tags: arduino, raspberry, pi, python
Table of Contents
About the Author
About the Technical Reviewer
Acknowledgments
The Author’s Preface to Arduino Advanced Techniques in Science
Roadmap to the Exercises in Advanced Arduino Techniques in Science
Chapter 1: Arduino and Raspberry Pi
Arduino
Raspberry Pi
Raspberry Pi Arduino Combinations
Interfacing Arduino – C with Python and the Matplotlib Plotting Programs
Arduino Interrupts and Timing Applications
Code Listings
Summary
Chapter 2: Development of a Simplified Python Supervisory Control and Data Acquisition System
Program 1: Display Frame
Program 2: Display of Changing Data in Realtime
Program 3: Activation of Experimental Devices from Button Displays
Program 4: A Sliding-Scale Implementation
Program 5: Radio Button Controls
Program 6: Graphical Data Display—A Realtime Strip-Chart Recording
Summary
Chapter 3: Experimental Work at High Temperatures and High Heats
Safety Considerations
Experimental
Simple Measurement of Elevated Temperatures
Dry Wells
Resistance-Wire Heating
Powering Heating Elements
Solid-State Relays (SSR)
Refractory Insulation
Observations
Failures Involving High Heat and Temperatures
Discussion
High Temperature and High Heat with Fuel Gases
Brazing
Discussion
Code Listings
Summary
Chapter 4: The PID Process Control Algorithm
Theory
Tuning and Practical Applications of the PID Controller
PID for Thermal Control
PID Control of Optical Brightness
Code Listings
Summary
Chapter 5: Realtime Data Plotting and Visualization
Summary
Chapter 6: Frequency Measurement
Experimental
Observations
Discussion
Summary
Chapter 7: Quality Assurance, Quality Control, and Error Analysis
Quality Assurance and Control
Error Analysis
Calibration and Curve Fitting
Summary
Chapter 8: Power and Noise from the USB
Typical Baseline Noise and Large Signal Distortions
Commercially Available Noise-Reduction Devices
Discussion
Summary
Chapter 9: Analytical Front Ends
IC-based Sensors
Microcontrollers
Operational Amplifiers
Calorimeter Testing, Validation, and Applications
Code Listings
Summary
Chapter 10: The Kalman Filter
The Single-Dimension Kalman Filter Process
Code Listings
Summary
Appendix 1
List of Abbreviations
Appendix 2
List of Suppliers
Index