ABSTRACT

A Hands-On Course in Sensors Using the Arduino and Raspberry Pi is the first book to give a practical and wide-ranging account of how to interface sensors and actuators with micro-controllers, Raspberry Pi and other control systems. The author describes the progression of raw signals through conditioning stages, digitization, data storage and presentation.

The collection, processing, and understanding of sensor data plays a central role in industrial and scientific activities. This book builds simplified models of large industrial or scientific installations that contain hardware and other building blocks, including services for databases, web servers, control systems, and messaging brokers. A range of case studies are included within the book, including a weather station, ground-vibration measurements, impedance measurements, interfacing medical sensors to web browsers, the profile of a laser beam, and a remote-controlled and fire-seeking robot.

This second edition has been updated throughout to reflect new hardware and software releases since the book was first published. Newly added features include the ESP32 microcontroller, several environmental and medical sensors, actuators for signal generation, as well as a chapter on web sockets; all illustrated in new case studies.

This book is suitable for advanced undergraduate and graduate students taking hands-on laboratory courses in physics and engineering. Hobbyists in robotics clubs and other enthusiasts will also find this book of interest.

Features:

  • Includes practical, hands-on exercises that can be conducted in student labs, or even at home
  • Covers the latest software and hardware, and all code featured in examples is discussed in detail
  • All steps are illustrated with practical examples and case studies to enhance learning

https://github.com/volkziem/HandsOnSensors2ed

Volker Ziemann obtained his PhD in accelerator physics from Dortmund University in 1990. After post-doctoral positions in Stanford at SLAC and in Geneva at CERN, where he worked on the design of the LHC, in 1995 he moved to Uppsala where he worked at the electron-cooler storage ring CELSIUS. In 2005 he moved to the physics department where he has since taught physics. He was responsible for several accelerator physics projects at CERN, DESY and XFEL. In 2014 he received the Thuréus prize from the Royal Society of Sciences in Uppsala.

chapter Chapter 1|4 pages

Introduction

chapter Chapter 2|36 pages

Sensors

chapter Chapter 3|16 pages

Actuators

chapter Chapter 4|62 pages

Microcontroller: Arduino

chapter Chapter 5|36 pages

Host Computer: Raspberry Pi

chapter Chapter 6|10 pages

Control System: EPICS

chapter Chapter 7|10 pages

Messaging System: MQTT

chapter Chapter 8|8 pages

Websockets

chapter Chapter 9|10 pages

Example: Weather Station with Distributed Sensors

chapter Chapter 10|8 pages

Example: Geophones

chapter Chapter 11|6 pages

Example: Monitor for the Color of Water

chapter Chapter 12|12 pages

Example: Impedance Measurements

chapter Chapter 13|10 pages

Example: Data Acquisition System

chapter Chapter 14|6 pages

Example: Fast Acquisition

chapter Chapter 15|14 pages

Example: Medical Sensing

chapter Chapter 16|8 pages

Example: Profile of a Laser Beam

chapter Chapter 17|18 pages

Example: Fire-Seeking Robot

chapter Chapter 18|6 pages

Presenting and Writing