Transducers and I/O Devices

Transducers and I/O Devices

This is a listing of useful electronic components and devices for creating physical interfaces. If you know of some good ones to add to this list please send ideas to osullvnd@acfcluster.nyu.edu

Contents of this page:
  1. Switches
  2. Variable Resistors
  3. Electronically Thrown Switch
  4. Moving Things
  5. Piezos
  6. Midi Stuff
  7. Off the Shelf I/O devices
  8. Catalogs and Magazines
See Catagories of Contact
MAIN PHYSICAL COMPUTING SCREEN
Switches
Switches make it easy to check the state of something in the physical world. Suppose you want to know when someone picks up a coffee cup. You usually have to rig the situation so that in one state a circuit is complete (closed) and in the other the circuit is broken (open). In this case you could put a small momentary switch under the cup and the circuit would open when you lift the cup. A momentary switch is one which springs back into the off position when you release it. There are many types of binary switches but all of them have two states, they are conducting a current or the are not. This makes them easy to make and easy to use with a computer. After you decide on your switch you will want to build it into a digital input circuit and connect it to your microcontroller. You would then program your microcontroller to watch the switch and perhaps program your authoring software to react to the microcontroller using serial communication.

Table of Contents

Variable Resistors
When you want to measure varying amounts (analog measurement) of energy in the physical world, one of the easiest ways is to use variable resistors. Resistance is the measure of how easy it is for current to flow through a circuit. Suppose you want to know how hard someone is pressing down with their thumb on a picture on the wall. You would find something to convert the pressure from the thumb into an electrical resitance, a force sensative resistor. You would put the force sensative resistor under the picture on the wall and send a current to the resistor and depending on how much current flows through, you know how hard the person was pressing. To measure how much current came back, you will need a mircorcontroler with A/D conversion capabilities. After you decide on your variable resistor you will want to install it into a analog input circuit with your microcontroller. You would then program your microcontroller to watch the variable resistor and perhaps program your authoring software to react to the microcontroller using serial communication.

Table of Contents

Electronically Thrown Switches
These are just like regular switches which turn things on and off except the computer can control them. Computers control switches all the time because transistors are just little switches that pass current or not depending on whether they are supplied with the tiny current that the computer circuitry provides. In the case of a relay the computer flips a more mechanical switch using an electromagnet. You should learn what is the resting position for your relays (normally open, normally closed) or for your transistors (NPN, PNP). After you decide on your electronically thrown switch you will want to install it into a digital output circuit with your microcontroller. You would then program your microcontroller to activate or deactivate the switches and perhaps program your authoring software to react to the microcontroller using serial communication

CAUTION: SERIOUS INJURY FROM ELECTRICAL SHOCK AND DESTRUCTION OF EQUIPMENT CAN OCCUR IF YOU ARE NOT CAREFUL WHEN USING NORMAL AC HOUSE CURRENT. THE CIRCUITS WE ARE MAKING ARE USUALLY USING 5 VOLTS DC. THE CURRENT COMING OUT OF THE WALL IS 120V AC. ONLY THE RELAYS AND THEN ONLY THE LEADS ON THE RELAY FOR THE AC LOAD SHOULD TOUCH ANY AC WIRES. FIRST TEST YOUR CIRCUITS WITHOUT ATTATCHING AC CURRENT, LISTEN TO HEAR YOUR RELAYS (they click audably) THROW AND USE A VOLT METER FOR CONTINUITY ON TRANSISTORS. AFTER CAREFULLY ATTATCHING THE VOLTAGE FIRST TEST WITHOUT A SERIAL CONNECTION TO A REGULAR COMPUTER BY MANUALLY APPLYING THE 5 VOLT SIGNAL VOLTAGE TO THE APPROPRIATE PINS.

Table of Contents

Moving Things
Strong analog motions might require amplifying the the 0-5 V signal put out by most microcontrollers. However there are some ways to play with analog out. After you find something to control, you will want to install it into a analog output circuit with your microcontroller. You would then program your microcontroller to control the output voltage and perhaps program your authoring software to react to the microcontroller using serial communication. Table of Contents

Piezos
Piezos are great for registering vibration and also for accelleration. When the piezo material is deformed it generates a voltage. This is like how guitar pick ups and drum machines work. Piezos are also commonly used for output like a speaker. The voltage can get very high and the current if very low so you need a circuit to protect your microcontroller and also to amplify the current. In addition to the massaging, you will have to always be watching for the signal because it is transient which will require a fast processor (faster than the Basic Stamp). You will also need authentic A/D Conversion because Piezo's create a voltage rather than a resistance (which is what an RC circuit does on the stamp). There are midi devices that convert these tiny voltages into midi information which is a lot easier. Table of Contents

Midi Stuff
Musicians and dancers have have naturally been attracted to physical computing. As a result there is a lot of good transducers made to fit into a midi configuration. Unfortunately I don't know much about it so I am looking for people to send in info or links to info.The Troika Ranch has some good info on making your own sensors.

Table of Contents

Off-the-Shelf Computer-Ready Input Devices
Although many I/O devices can be very expensive, the time you spend learning to build your own will probably be much more expensive. On the other hand you will learn a great deal in growing your own electronics. Table of Contents

Catalogs, Books and Magazines
You can find lots of good weird stuff through these catalogs and magazines.
 

Table of Contents

If you have suggestions or corrections please contact: dan.osullivan@nyu.edu