Glossary Definition · Physical Computing & Microcontrollers

What Is Physical Computing?

Physical Computing is the engineering and educational discipline of building interactive physical systems through software and hardware that sense and respond to the analog physical world using transducers (sensors), microcontrollers, and electromechanical actuators [1, 2].

01 // THE THREE-STAGE HARDWARE LOOP

How Does Physical Computing Work?

As formalized by educators Dan O'Sullivan and Tom Igoe, physical computing moves computers beyond the keyboard, mouse, and monitor so software can converse directly with the physical environment [1]. Every physical computing project—from a simple temperature display to a multi-axis robotic arm—executes a continuous three-stage cycle: Input (Transduction), Processing (Microcontroller Firmware & Host Software), and Output (Actuation) [1, 2].

Stage 1: Input & Transduction (Converting Energy Into Voltage)

A transducer converts one form of physical energy—light, heat, rotation, sound pressure, magnetic flux, or mechanical force—into an electrical signal governed by Ohm's Law (V = I · R) and voltage division [1, 7]. Resistive sensors (such as a 10 kΩ potentiometer, photoresistor, or thermistor) are wired in a series voltage divider so the output voltage scales proportionally with the physical stimulus [7]:

V_out = V_in · (R_sensor / (R_fixed + R_sensor)) [7]

Digital sensors integrate their own signal conditioning and communicate over standardized buses: two-wire I2C (SDA/SCL, used by the DS3231 real-time clock at 0x68 and TSL2591 light sensor at 0x29), four-wire SPI, or asynchronous UART (used by the AS608 optical fingerprint module) [2, 8, 11, 13].

Stage 2: Microcontroller & Workstation Processing

A microcontroller (such as the 8-bit ATmega328P on the Arduino Uno R3, 32-bit STM32U585 on the Arduino UNO Q, ESP32, or RP2040) executes a continuous loop() function in compiled C/C++ [2, 3]. It samples analog pins via analogRead(), reads binary switches via digitalRead(), and exchanges structured serial packets (KEY:VALUE,RAW:VALUE at 115200 baud) with a desktop or single-board computer running VTM Studio [2, 4].

Stage 3: Output & Electromechanical Actuation

To affect the physical world, the microcontroller drives output pins using digitalWrite() or hardware Pulse Width Modulation (PWM) [2]. Because microcontroller GPIO pins safely source only 20–40 mA at 3.3V or 5V [2], higher-current loads are switched through intermediate power stages: BJT/MOSFET transistors, L293D dual H-bridge motor drivers (600 mA continuous per channel with internal inductive clamp diodes [10]), optoisolated 5V relays driving 12V solenoids, or PCA9685 16-channel PWM controllers driving 5-DoF and 6-DoF servo arms [9].

02 // HANDS-ON BUILDS

Physical Computing Projects: Beginner to Advanced

Because physical computing is learned by wiring real components and inspecting live signals, here are six documented physical computing projects you can build and simulate on VideotronicMaker [2, 4, 8, 10, 11]:

Project 01 · Beginner

DS3231 Real-Time Clock & I2C 1602 LCD Display

Wire a temperature-compensated DS3231 RTC (0x68) and PCF8574 1602 LCD (0x27) over the shared 2-wire I2C bus (Arduino pins A4/A5) with battery backup and custom 5×8 CGRAM character bitmasks [2, 11].

Read Step-by-Step RTC + LCD Tutorial →
Project 02 · Beginner

Voltage-Controlled Frequency & Tone Oscillator

Sample a 10 kΩ potentiometer voltage divider on analog pin A0 (0–1023 ADC counts) and map the reading to variable audio frequencies on a piezo transducer while displaying voltage and frequency on an LCD and 7-segment display [2, 7].

Launch Voltage-Frequency Simulator →
Project 03 · Intermediate

L293D Dual H-Bridge IR Remote Car on Protoshield

Decode 38 kHz NEC infrared remote pulse trains on an Arduino Uno Protoshield and drive two bidirectional DC gearmotors through a 16-pin L293D quadruple half-H driver IC with separate motor battery power [2, 10].

Open IR Car Tutorial & Simulator →
Project 04 · Intermediate

Biometric Fingerprint Sensor & 12V Solenoid Lock

Interface an AS608 optical fingerprint scanner over 57600-baud UART to verify enrolled biometric templates and trigger a 5V optoisolated relay module switching a 12V DC electromagnetic door strike with flyback diode protection [2, 7, 13].

Try Biometric Lock Simulator →
Project 05 · Intermediate / Lab

Microcontroller Digital Multimeter & Continuity Tester

Flash meter_sketch.ino from VTM Studio Code Mode and use a 2-wire reference divider circuit with Meter Mode's backlit digital LCD and rotary selector dial to measure low-voltage DC Voltage, Resistance (Ω), and Continuity [4, 7].

See Meter Mode in Mag Brochure →
Project 06 · Advanced / STEM

Award-Winning STEM & Dual-Processor UNO Q Builds

Explore student and self-taught physical computing projects featured in VideotronicMaker Labs (including the 1st-place BiotronicMaiker Arduino biology project) alongside dual-processor Arduino UNO Q Python + STM32 control [3, 4, 12].

Visit VideotronicMaker Labs →
03 // WORKSTATION & CLASSROOM SETUP

How to Set Up a Physical Computing Lab

Whether you are organizing a home electronics desk, a high school STEM table, or a portable single-board computer field kit, a complete physical computing lab combines four coordinated software and hardware stages inside VTM Studio [4]:

Step 01 // Spec & Layout

Verify Pinouts & Draw 2D Wiring

Inspect operating voltages, current limits, and pinout tables in Spec Mode, then route breadboard jumpers (straight, 90° orthogonal, or Bézier paths) in Layout Mode (.vtml, .psd, .svg, .png) before applying power [4].

Step 02 // Code & Flash

Compile & Flash C++ Sketches

Load a verified sensor or actuator sketch from the Science Mode Examples drawer in Code Mode, compile with arduino-cli, flash over USB (/dev/ttyACM0, /dev/ttyUSB0, or COM3+), and click [ CONNECT TELEMETRY ] [2, 4].

Step 03 // Telemetry & Meter

Monitor Live 115200-Baud Streams

Spawn matching panels in Science Mode to chart live LUX:, TEMP:, DIST:, SOIL:, and ANGLE: values alongside the unparsed RAW: verification stream, or probe DC voltage and continuity in Meter Mode [4, 8].

Step 04 // Study & Log

Reference Textbooks & Log Findings

Cross-reference circuit behavior against open-licensed OpenStax physics and Python textbooks with ARC T - A in Study Mode, and record rich-text lab notes and photos in Log Mode [4, 7, 12].

04 // TROUBLESHOOTING

Common Physical Computing Challenges & Solutions

Floating Digital Inputs & Switch Bounce

An unconnected digital input pin acts as an antenna, randomly flipping between HIGH and LOW due to ambient electrostatic noise, while mechanical pushbuttons chatter for several milliseconds when pressed [1, 2].
Solution: Enable the microcontroller's internal pull-up resistor (pinMode(pin, INPUT_PULLUP)) or wire an external 10 kΩ pull-down resistor to establish a deterministic resting state, and apply a 20–50 ms non-blocking millis() debounce check [1, 2].

Charge-Only USB Leads & Missing UART Bridge Drivers

Many consumer USB cables omit the D+ and D- differential data lines, powering the board's LED while preventing serial port enumeration in Code Mode or Science Mode [4].
Solution: Use a verified data-capable USB cable, confirm CH340/CP2102/FTDI USB-to-UART drivers (or kernel ch341.ko on Linux SBCs), and match the sketch's Serial.begin(115200) rate to the telemetry listener [2, 4].

Frequently Asked Questions

What are the best beginner physical computing projects?

Proven beginner projects include: (1) an LED blink and voltage-controlled piezo frequency oscillator using a 10 kΩ potentiometer, (2) a DS3231 Real-Time Clock and DHT11 temperature/humidity monitor on an I2C 1602 LCD, (3) an L293D dual H-bridge DC motor rover controlled by an IR remote, and (4) an AS608 optical fingerprint lock driving a 5V relay and 12V solenoid strike [2, 10, 11].

How does Physical Computing relate to Physical AI?

Physical computing provides the real-time hardware foundation—transducers, ADC voltage sampling, I2C/SPI/UART buses, and PWM motor/servo actuation. Physical AI builds directly on top of physical computing by connecting camera vision, speech recognition, and Cloud or Local Edge language models to that hardware loop [1, 4, 6].

05 // VERIFIED ACADEMIC TEXTBOOKS, DATASHEETS & SPECIFICATIONS

References & Technical Citations

  1. O'Sullivan, D., & Igoe, T. Physical Computing: Sensing and Controlling the Physical World with Computers. Thomson Course Technology (2004), ISBN 978-1592003464.
  2. Arduino SA / Microchip Technology. Arduino Uno Rev3 (A000066) & ATmega328P 8-Bit AVR Microcontroller Datasheet. https://docs.arduino.cc/resources/datasheets/A000066-datasheet.pdf
  3. Arduino SA. Arduino UNO Q (ABX00162 / ABX00173) Datasheet & Hardware Documentation (Qualcomm Dragonwing Linux MPU 1.8V Domain & STMicroelectronics STM32U585 Cortex-M33 MCU 3.3V Domain). https://docs.arduino.cc/hardware/uno-q/
  4. Padilla, T. VTM Studio Operations, Hardware Test Log & Embedded Linux SBC Tuning Guide. https://videotronicmaker.com/download/
  5. Google AI Edge. MediaPipe Object Detector (EfficientDet-Lite0) Specification. https://ai.google.dev/edge/mediapipe/solutions/vision/object_detector
  6. Gerganov, G. & GGML Contributors. llama.cpp & GGUF Model File Format Specification. https://github.com/ggml-org/llama.cpp
  7. Ling, S. J., Sanny, J., & Moebs, W. University Physics Volume 2 (Chapters 8–10: Capacitance, Current, Resistance, Ohm's Law, and Direct-Current Circuits). OpenStax, Rice University (CC BY 4.0 International License). https://openstax.org/details/books/university-physics-volume-2
  8. AMS-Osram AG. TSL2591 Very-High Sensitivity Light-to-Digital Converter Datasheet (I2C 0x29). https://ams-osram.com
  9. NXP Semiconductors. PCA9685 16-Channel, 12-Bit PWM Fm+ I2C-Bus LED Controller Datasheet. https://www.nxp.com/docs/en/data-sheet/PCA9685.pdf
  10. Texas Instruments. L293x Quadruple Half-H Drivers Datasheet. https://www.ti.com/lit/ds/symlink/l293.pdf
  11. Analog Devices / Maxim Integrated. DS3231 Extremely Accurate I2C-Integrated RTC/TCXO/Crystal Datasheet (0x68). https://www.analog.com/media/en/technical-documentation/data-sheets/ds3231.pdf
  12. Das, U., Lawson, A., Mayfield, C., & Norouzi, N. Introduction to Python Programming. OpenStax, Rice University (CC BY 4.0 International License). https://openstax.org/details/books/introduction-python-programming
  13. Hangzhou Synochip / Adafruit Industries. AS608 Optical Fingerprint Sensor Datasheet (57600-Baud UART Packet Protocol) & DHT11 Humidity Sensor Datasheet. https://cdn-shop.adafruit.com/datasheets/ZFM+user+manualV15.pdf