Sensor Experiments

Experiment Log


I have marked my more interesting experiments with a ★
Experiments that did not work out are marked with a ☠
Some experiments are simply "can I get it to work?" tests,
and some experiments build on others and are slightly more complex.

Table of Contents

Experiments

Experiment #1: Laser beam detection by photocell activates LED

Modules Used: Photo-resistor (photocell), Laser Emit

Code: (view) (download)

(↑)

Experiment #2: Laser beam detection by photocell activates LED + Buzzer

Modules Used: Photo-resistor (photocell), Laser Emit, Passive Buzzer

Code: (view) (download)

(↑)

Experiment #3: Temperature/Humidity sensor and two-colour LED indicator

Modules Used: DHT11 Temperature & Humidity Module, Two-colour LED | Libraries Used: DHT Sensor Library by Adafruit

Code: (view) (download)

(↑)

Experiment #4: Photo-interruptor + LCD 1602

Modules Used: Photo-interruptor, LCD 1602 Module | Libraries Used: LiquidCrystal

Code: (view) (download)

(↑)

Experiment #5: LCD 1602 Module

Modules Used: LCD 1602 Module | Libraries Used: LiquidCrystal

Code: (view) (download)

(↑)

Experiment #6: Ultrasonic Sensor + Active Buzzer + LCD 1602

Modules Used: Ultrasonic sensor module, Active buzzer, LCD 1602 Module

Code: (view) (download)

(↑)

Experiment #7: Piezoelectric sensor/contact mic -> MIDI -> Max

Modules Used: Piezoelectric sensor

Code: (view) (download) | Max: 07_experiment.maxpat

(↑)

[F] Experiment #8: Capacitive sensing

Libraries Used: CapacitiveSensor

Code: (view) (download)

(↑)

Experiment #9: Pushbutton switch -> MIDI -> Max

Code: (view) (download)

(↑)