Effectors

Effectors are an interactive system’s means of communicating and acting in the world. They vary from video displays to LED lights and motors. Effectors are sometimes called “actuators,” since they cause actions.

The media versions of these must typically be controlled by a full computer. So if you are using video or audio in your projects, you’ll be looking for ways to hide the computer and embed the displays or speakers into the device or environment.

The simpler effectors like LEDs and servo motors must be connected to a microcontroller, where the reverse of the sensor process is handled. In other words, the microcontroller typically converts a digital numeric value into whatever format the effector can handle. For example, to control the position of a servo motor (which can be directed to turn to a specific angle of rotation), the number of degrees might be sent to the microcontroller, which then tells the servo motor to position to that angle (geek note: this is done by using something called PWM or pulse width modulation). So to position the motor all the way to the left, a 0 value is sent (as in zero degrees). To position it all the way to the right, a value of 180 is sent (as in 180 degrees).

It’s the job of the software to trigger the activation of the effectors by sending the appropriate content/media or numeric value to the effector.

Effector types:

video sound
leds servo motors
stepper motors dc motors
relays (switches to turn some external thing on/off)

Servos

Servos are motors that position to a specific angle. Typically, they rotate within a range of 180 degrees.

  • Standard “hobby” style servo $10.90
  • “Continous” style servo that can turn continously instead of being limited to 180 degree range. It does not go to a specific position though – these are typically used for locomotion.
  • 360 degree servo – this servo actually rotates more than 360 degrees. In the ServoControl widget, use a range of 20-126 for a full 360 rotation. Use higher numbers for more than 360.

Relays

Relays can be controlled by the digital outputs of microcontrollers, and allow high powered loads such as AC Lights to be turned on and off. There are thousands of different relays, an you need to get the right type to work with the microcontroller you are using, as well as the load you are connecting to the relay that is being turned on and off. The most common need is to switch a standard 125V AC device on and off, such as a lamp.

PowerSwitch Tail II – Easiest plug-and-play solution

Wiring your own relay

IMPORTANT SAFTEY NOTE: Working with A/C electricity can be dangerous – it can kill you! You must be very careful when working with it. Be sure you properly wire everything so that you or others cannot put their hands or other body parts so they will touch the bare electrical wires – i.e. make sure you cover all A/C power connections with electrical tape or heat-shrink tubing. Also be sure you do not short the A/C wires together.

Example relay application: You want to turn a standard AC fan on and off with an Arduino. You should get a relay with the following specs:

  • Coil Voltage: 5V – This is the power voltage needed from the Arduino to turn the relay on
  • Coil Current: 40mA or less – The is the amount of power the Arduino digital out can handle, which is a maximum of 40 milliamps
  • Coil Resistance: 125 ohms or more – This is directly related to the Coil Current (Current = Voltage / Resistance, 40mA = 5/125)
  • Contact Rating: 5 A at 250 VAC / 30 VDC – This specifies how amount and type of power that the relay can switch on and off. If you have a small load, such as a 150W light bulb you could get a smaller relay rated at 3A at 250 volts.
  • Contact Form: SPST NO – This means Single Pole, Single Throw, Normally Off
  • This relay will work well for many applications: Mouser Part, Omron G6DS-1A-DC5 (36mA), or the low power versionĀ G6DS-1A-H-DC5 (24mA)

Picture shows a 24V relay, but you should use a 5V version of this relay.

BlinkM

An intelligent bright LED

http://thingm.com/products/blinkm.html

LEDs


Last modified April 24th, 2012