Table of Contents
1 Cover
8 Preface
11 Syllabus
12 1 The Art of Embedded Computers Overview of Embedded Computers and Their Interdisciplinarity TPACK Analysis Toward Teaching and Learning Microcomputers From Computational Thinking (CT) to Micro‐CT (μCT) The Impact of Microcontroller Technology on the Maker Industry Where Is Creativity in Embedded Computing Devices Hidden? Conclusion
13 2 Embedded Programming with Arduino Number Representation and Special‐Function Codes Arduino and C Common Language Reference Working with Data (Variables, Constants, and Arrays) Program Flow of Control (Arithmetic and Bitwise Operations) Code Decomposition (Functions and Directives) Conclusion
14 3 Hardware Interface with the Outside World Digital Pin Interface Analog Pin Interface Interrupt Pin Interface UART Serial Interface SPI Serial Interface I2C Serial Interface Conclusion
15 4 Sensors and Data Acquisition Environmental Measurements with Arduino Uno Orientation, Motion, and Gesture Detection with Teensy 3.2 Distance Detection and 1D Gesture Recognition with TinyZero Color Sensing and Wireless Monitoring with Micro:bit Conclusion
16 5 Tinkering and Prototyping with 3D Printing Technology Tinkering with a Low‐cost RC Car A Prototype Interactive Game for Sensory Play 3D Printing Conclusion
17 References
18 Index
List of Tables
1 SyllabusTable P.1 Recommended syllabus (description of example codes of each lesson).Table P.2 Arduino‐specific (i.e. non‐C) functions used by the book examples.Table P.3 Arduino‐original, third‐party, and custom‐designed libraries.Table P.4 Custom‐designed software running on the host PC.
2 Chapter 2Table 2.1 Prevailing numeral systems in μC programming and Arduino representa...Table 2.2 ASCIIprintable and control characters.Table 2.3 BCD encoding (nibble and byte representation).Table 2.4 Arduino/C common language reference.Table 2.5 Elementary flowchart symbols.Table 2.6 Unary increment operator applied to pointers.Table 2.7 Bitwise AND (&), OR (|), and XOR (^) of two bits (Truth table).
3 Chapter 3Table 3.1 SPI modes of operation (Truth table).Table 3.2 BME280 registers used by the code examples.
4 Chapter 4Table 4.1 Setting registers “ctrl_meas” (0 × F4) and “config” (0 × F5).Table 4.2 Specs of Teensy 3.2 (32‐bit μC) and the Arduino Uno (8‐bit μC) deve...Table 4.3 BNO055 registers used by the book examples.Table 4.4 Data representation ofEuler angles and Linear Acceleration/Gravity ...Table 4.5 Specs of TinyZero and Teensy 32‐bit μC development boards.Table 4.6 Specs of Micro:Bit, TinyZero and Teensy 32‐bit μC development board...
5 Chapter 5Table 5.1 BOM of the tinkered RC car project.Table 5.2 BOM of the prototype interactive game.
List of Illustrations
1 Chapter 1Figure 1.1 Interdisciplinarity of embedded computers.Figure 1.2 Problem‐solving with microcomputers (a revision of Kordaki's mode...Figure 1.3 (a) TPACK model and (b) its application in microcontroller educat...Figure 1.4 Onion learning framework for μC programming and application devel...Figure 1.5 An example of pseudo‐architecture, pseudo‐timing diagram, and pse...Figure 1.6 (a) μC programming board and (b) UVPROM eraser (from the long‐cyc...Figure