Interfacing the real world

Sensors

Movement

Accelerometer

An accelerometer is a tool that measures proper acceleration. Proper acceleration is the acceleration (the rate of change of velocity) of a body in its own instantaneous rest frame; this is different from coordinate acceleration, which is acceleration in a fixed coordinate system. For example, an accelerometer at rest on the surface of the Earth will measure an acceleration due to Earth's gravity, straight upwards (by definition) of g ≈ 9.81 m/s2. By contrast, accelerometers in free fall (falling toward the center of the Earth at a rate of about 9.81 m/s2) will measure zero.

from wikipedia

Accelerometer Basics in learn.sparkfun
How an accelerometer works! video on youtube.

Giroscope

Gyroscopes, or gyros, are devices that measure or maintain rotational motion. MEMS (microelectromechanical system) gyros are small, inexpensive sensors that measure angular velocity. The units of angular velocity are measured in degrees per second (°/s) or revolutions per second (RPS). Angular velocity is simply a measurement of speed of rotation.

from sparkfun

IMU (Inertial Movement Unit)

An inertial measurement unit (IMU) is an electronic device that measures and reports a body's specific force, angular rate, and sometimes the orientation of the body, using a combination of accelerometers, gyroscopes, and sometimes magnetometers. When the magnetometer is included, IMUs are referred to as IMMUs

from wikipedia

Passive Infrared Sensor (PIR sensor)

A passive infrared sensor (PIR sensor) is an electronic sensor that measures infrared (IR) light radiating from objects in its field of view. They are most often used in PIR-based motion detectors. PIR sensors are commonly used in security alarms and automatic lighting applications.

from wikipedia

PIR Motion Sensor in learn.adafruit

Optical encoder

A rotary encoder, also called a shaft encoder, is an electro-mechanical device that converts the angular position or motion of a shaft or axle to analog or digital output signals.

Optical: This uses a light shining onto a photodiode through slits in a metal or glass disc. Reflective versions also exist. This is one of the most common technologies. Optical encoders are very sensitive to dust.

from wikipedia

Optical motion sensor

https://www.tindie.com/products/onehorse/pmw3901-optical-flow-sensor/
https://www.tindie.com/products/citizenjoe/adns-9800-motion-sensor/

Position

Magnetometer (Compass)

GPS

The Global Positioning System (GPS), originally Navstar GPS, is a satellite-based radionavigation system owned by the United States government and operated by the United States Space Force. It is one of the global navigation satellite systems (GNSS) that provides geolocation and time information to a GPS receiver anywhere on or near the Earth where there is an unobstructed line of sight to four or more GPS satellites. It does not require the user to transmit any data, and operates independently of any telephonic or Internet reception, though these technologies can enhance the usefulness of the GPS positioning information.

China's BeiDou Navigation Satellite System began global services in 2018, and finished its full deployment in 2020. There are also the European Union Galileo navigation satellite system, and India's NavIC. Japan's Quasi-Zenith Satellite System (QZSS) is a GPS satellite-based augmentation system to enhance GPS's accuracy in Asia-Oceania, with satellite navigation independent of GPS scheduled for 2023.

from wikipedia

GPS Basics in learn.sparkfun
GPS - The GPS Constellation video (1 of 100!)

Tilt sensor

Proximity

A proximity sensor is a sensor able to detect the presence of nearby objects without any physical contact.
A proximity sensor often emits an electromagnetic field or a beam of electromagnetic radiation (infrared, for instance), and looks for changes in the field or return signal. The object being sensed is often referred to as the proximity sensor's target. Different proximity sensor targets demand different sensors. For example, a capacitive proximity sensor or photoelectric sensor might be suitable for a plastic target; an inductive proximity sensor always requires a metal target.

from wikipedia

Ultrasound

Ultrasonic transducers and ultrasonic sensors are devices that generate or sense ultrasound energy. They can be divided into three broad categories: transmitters, receivers and transceivers. Transmitters convert electrical signals into ultrasound, receivers convert ultrasound into electrical signals, and transceivers can both transmit and receive ultrasound.

from wikipedia

image

LIDAR

Lidar is a method for determining ranges (variable distance) by targeting an object or a surface with a laser and measuring the time for the reflected light to return to the receiver. It can also be used to make digital 3-D representations of areas on the Earth's surface and ocean bottom of the intertidal and near coastal zone by varying the wavelength of light. It has terrestrial, airborne, and mobile applications.

from wikipedia

A LIDAR is a sensor that can detect distance precisely, using a laser. Unlike Time-of-Flight sensors, LIDARs are incredibly fast. Unlike sonar/ultrasonic sensors, they're very precise, measuring the point exactly ahead.

Now, because you can get accurate distance measurements at high speeds, you can put the LIDAR sensor on a spinning motor. The laser shoots out thousands of times a second, and when correlated with the angular location, can create a 2D 'map' of obstacles and walls. Normally, LIDAR sensors are outside the budget of hobby/maker robots, but the Slamtec is a great price and is an excellent choice for many robots or interactive projects.

from adafruit

Infrarred

IR, in short for infrared, detects the presence of an object by emitting a beam of infrared light. It works similarly to ultrasonic sensors, though instead of using sonic waves, IR is transmitted.

Infrared proximity sensors consist of an IR LED that emits, and a light detector for detection of reflection.

from seeed

Capacitive

In electrical engineering, capacitive sensing (sometimes capacitance sensing) is a technology, based on capacitive coupling, that can detect and measure anything that is conductive or has a dielectric different from air.
Many types of sensors use capacitive sensing, including sensors to detect and measure proximity, pressure, position and displacement, force, humidity, fluid level, and acceleration. Human interface devices based on capacitive sensing, such as touchpads, can replace the computer mouse. Digital audio players, mobile phones, and tablet computers will sometimes use capacitive sensing touchscreens as input devices. Capacitive sensors can also replace mechanical buttons.

from wikipedia

Capacitive Sensor Arduino Library
Interesting application: Stretch-Sensing Soft Glove
Capacitive Sensing for Dummies

Touch screens img

Touche * *

Force and flex

FSR Force sensitive resistor img

Enviroment

Humidity

Soil moisture

chirp! - the plant watering alarm
b-parasite open source plant sensor
Interesting post: Capacitance measurement using low pass filter

Gases, electrochemical and metal-oxide img *

Barometric pressure sensor img

Sound (microphone) video img

Temperature video info info mas sencilla img

Digital termometer video video2 video3 img

Termopar img

Infrared sensor img

Thermistor img

Image

Camera info img

Light video video2 img

Color video video2 img

UV light video

Infrared video

Led as a sensor

Image processing and Computer vision as sensor

Computer vision tasks include methods for acquiring, processing, analyzing and understanding digital images, and extraction of high-dimensional data from the real world in order to produce numerical or symbolic information, e.g. in the forms of decisions.

from wikipedia

image

Digital image processing is the use of a digital computer to process digital images through an algorithm In particular, digital image processing is a concrete application of, and a practical technology based on: Classification, Feature extraction, Multi-scale signal analysis, Pattern recognition and Projection.

from wikipedia

Open Source Computer Vision Library opencv.org
The basics of image processing and OpenCV Article on ibm.com
The Cloak Of Invisibility Against Image Recognition on hackaday
Arduino & Raspberry Pi Ping Pong Ball Robot with Realtime Image Processing Video

Eulerian Video Magnification for Revealing Subtle Changes in the World

Our goal is to reveal temporal variations in videos that are difficult or impossible to see with the naked eye and display them in an indicative manner. Our method, which we call Eulerian Video Magnification, takes a standard video sequence as input, and applies spatial decomposition, followed by temporal filtering to the frames. The resulting signal is then amplified to reveal hidden information. Using our method, we are able to visualize the flow of blood as it fills the face and also to amplify and reveal small motions. Our technique can run in real time to show phenomena occurring at temporal frequencies selected by the user.

from mit

Video explaining the process.
Original paper

Biometric

info

Musle sensor img

Heart rate img

Finger print img


EEG Electroencephalogram (Alpha and beta waves) img

Thin-Film Biosensors

Human skin is flexible, so matching the flexibility of skin allows these thin-film sensors to adhere more comfortably and naturally to a person’s body.

An instrumentation amplifier to measure heart rate (and oftentimes respiratory rate) from the electrocardiogram, a light-emitting diode, and photosensor pair to measure heart rate, respiration, and blood oxygen from the photoplethysmograph, a thermistor or non-contact infrared sensor to measure temperature, and an accelerometer to measure activity.

from HAD

Skin-Interfaced Biosensors and Pilot Studies for Advanced Wireless Physiological Monitoring in Neonatal and Pediatric Intensive Care Units Research Article

Magnetic

Hall sensor img

Reed switch img

Magnetometer (compass) img

Radiation (Geiger counter) img

Other

Textile potentiometer video

Actuators

Light

LED - Light emitting diode

A light-emitting diode (LED) is a semiconductor device that emits light when current flows through it. Electrons in the semiconductor recombine with electron holes, releasing energy in the form of photons. The color of the light (corresponding to the energy of the photons) is determined by the energy required for electrons to cross the band gap of the semiconductor.

from wikipedia

Make presents: the LED (video)
Sparkfun LED guide

RGB leds

RGB (Red-Green-Blue) LEDs are actually three LEDs in one! But that doesn't mean it can only make three colors. Because red, green, and blue are the additive primary colors, you can control the intensity of each to create every color of the rainbow. Most RGB LEDs have four pins: one for each color, and a common pin. On some, the common pin is the anode, and on others, it's the cathode.

from sparkfun

Addressable Leds

Digital RGB addressable LEDs contain their own "smart" control electronics. In addition to power and ground, these provide connections for data-in, data-out, clock and sometimes a strobe signal. These are connected in a daisy chain. Data sent to the first LED of the chain can control the brightness and color of each LED independently of the others.

from wikipedia

image

Addressable led strip

An LED strip light (also known as an LED tape or ribbon light) is a flexible circuit board populated by surface mounted light-emitting diodes (SMD LEDs) and other components that usually comes with an adhesive backing.

from wikipedia

References
Adafruit neopixel Uberguide
Sparkfun addressable led guide
Led strip application examples here, here and here
Adafruit Neopixel library for Arduino.
Arduino's Fastled library.

Laser

A laser is a device that emits light through a process of optical amplification based on the stimulated emission of electromagnetic radiation.

A laser differs from other sources of light in that it emits light that is coherent. Spatial coherence allows a laser to be focused to a tight spot, enabling applications such as laser cutting and lithography. It also allows a laser beam to stay narrow over great distances (collimation), a feature used in applications such as laser pointers and lidar (light detection and ranging).

from wikipedia

image

image

Electroluminescent * img img2

LCD video img

https://animagraffs.com/flat-screen-displays/

OLED screens img

Sound

Buzzers

Speakers

A loudspeaker (commonly referred to as a speaker or speaker driver) is an electroacoustic transducer that converts an electrical audio signal into a corresponding sound.

A speaker system, also often simply referred to as a speaker or loudspeaker, comprises one or more such speaker drivers, an enclosure, and electrical connections possibly including a crossover network. The speaker driver can be viewed as a linear motor attached to a diaphragm which couples that motor's movement to motion of air, that is, sound.

from wikipedia

Excellent video on How Speakers Make Sound
Nice page about Speakers
Building DIY excellent quality and cheap flat speakers video
Know Audio: A Loudspeaker Primer in Hackaday, or the full

Surface transducers *

Movement

Electric Motors

An electric motor is an electrical machine that converts electrical energy into mechanical energy. Most electric motors operate through the interaction between the motor's magnetic field and electric current in a wire winding to generate force in the form of torque applied on the motor's shaft. An electric generator is mechanically identical to an electric motor, but operates in reverse, converting mechanical energy into electrical energy.

from wikipedia

image

Adafruit Motor Selection Guide on learn.adafruit
Motors and Selecting the Right One on Sparkfun

Vibration motor

Stepper motor

A stepper motor, also known as step motor or stepping motor, is a brushless DC electric motor that divides a full rotation into a number of equal steps. The motor's position can be commanded to move and hold at one of these steps without any position sensor for feedback (an open-loop controller), as long as the motor is correctly sized to the application in respect to torque and speed.

from wikipedia

Driving a stepper motor is a bit more complicated than driving a regular brushed DC motor. Stepper motors require a stepper controller to energize the phases in a timely sequence to make the motor turn.

from adafruit

DC motors

image

video corto

AC motors otro img

Brushless motors video img

Servo motor

A servomotor is a rotary actuator or linear actuator that allows for precise control of angular or linear position, velocity, and acceleration in a mechanical system. It consists of a suitable motor coupled to a sensor for position feedback. It also requires a relatively sophisticated controller, often a dedicated module designed specifically for use with servomotors.

from wikipedia

image image

Servo Motors, how do they work? video (Hobby servos)
How a Servo Motor works video (Industrial servos)
How To Make Robots Move Smoothly (with servos) | Arduino Tutorial video
Tutorial on using servo motors with Arduino on adafruit.learn
Servos Explained on sparkfun
Hobby Servo Tutorial on sparkfun

Linear motor

Magnetic actuators

Solenoid and valves * img

Relays * img1 img2

Pneumatic actuators

Soft robots * * img

Pneumatic arm * img

Exo squeletons * img

Válves img

Pistons img

Hidraulic actuators

Pistons img

Brazo mecánico con jeringas

Artificial muscles

Artificial muscles, also known as muscle-like actuators, are materials or devices that mimic natural muscle and can change their stiffness, reversibly contract, expand, or rotate within one component due to an external stimulus (such as voltage, current, pressure or temperature).

from wikipedia

Artificial Muscles To Bring Relief To Robotic Tenseness in Hackaday

Pneumatic

Pneumatic artificial muscles (PAMs) are contractile or extensional devices operated by pressurized air filling a pneumatic bladder. In an approximation of human muscles, PAMs are usually grouped in pairs: one agonist and one antagonist.

from wikipedia

They are known under many names, such as McKibben muscles – after their inventor J. L. McKibben, air muscles, or Pneumatic Artificial Muscles (PAM). In principle, they consist of an inflateable rubber bladder inside a chinese finger trap cylindrical, helically wound braid. When air pressure is applied to the bladder, it inflates inside the constraining braid, which redirects the expansion force into a contractive force through changing it’s braiding angle.

from hackaday

image

X-crossing pneumatic artificial muscles on science.org
Festo Air Arm video
DIY McKibben Artificial Muscle video

Fishing line * img

Nitinol

Nickel titanium, also known as nitinol, is a metal alloy of nickel and titanium, where the two elements are present in roughly equal atomic percentages.

Nitinol alloys exhibit two closely related and unique properties: the shape memory effect and superelasticity (also called pseudoelasticity). Shape memory is the ability of nitinol to undergo deformation at one temperature, stay in its deformed shape when the external force is removed, then recover its original, undeformed shape upon heating above its "transformation temperature". Superelasticity is the ability for the metal to undergo large deformations and immediately return to its undeformed shape upon removal of the external load. Nitinol can deform 10–30 times as much as ordinary metals and return to its original shape.

from wikipedia

image image

Video of tiny walker robot.

This Inch Worm walking robot is actuated by nitinol wire. Nitinol is an alloy that can 'remember' a given shape or in this case length. The Inch Worm is powered by 2 AA batteries, and when the button is pressed and a current flows though the nitinol wire, it becomes hot and this causes it to shorten, as it goes to its 'remembered' length. As the nitinol shortens, it causes the two robot legs to move apart. Then, when the current stops, the nitinol wire cools, and - aided by the spring - goes back to its former (longer) length.

image

Nitinol: The Shape Memory Effect and Superelasticity Video
Tiny Robot Beetle Runs On Alcohol on Hackaday

Videos

Sensing

Acting

Select a repo