Example Projects
Workshops
Announcements
Actuators
Connections
Power
Sensors
Traces
Circuits and Code Wireless

Conductive Materials
Non-Conductive Materials
Tools
Techniques
Thinking Out Loud
Circuits and Code
  • Arduino Overview
  • Arduino as Bluetooth HID
  • ATtiny: 7-Segment Display
  • ATtiny: Capacitive Sensing
  • ATtiny: Programming
  • ATtiny Serial & Wireless Boards!
  • ATtiny: Soft Serial
  • ATtiny: Sound
  • ATtiny: Soft Fade
  • Multiplexed Matrix
  • Controlling EL Panel and EL Wire
  • EL panel/wire inverter hack
  • Heat Controlling Circuit
  • LED with Light Sensor
  • Lilypad XBee Shield
  • Pull-up Resistors
  • RGB Colour Fade
  • simple heat circuit
  • Solar Powered Motor Circuit
  • Sound Amplifying Circuits
  • Teensy as HID Device
  • Transistor Switch
  • Volume Detection
  • Visualization: 2x2 Matrix
  • Visualization: Drawing
  • Visualization: Graph
  • Visualization: Pressure Sensor Matrix
  • Visualization: Touchpad
  • Voltage Divider
  • About
  • E-Textile Events
  • E-Textile Spaces
  • Newsletter
  • Print & Publications
  • Shopping Local

  • SEARCH
    Content by Mika Satomi and Hannah Perner-Wilson
    The following institutions have funded our research and supported our work:

    From 2013-2015 Mika is a guest professor at the eLab at Kunsthochschule Berlin-Weissensee

    From July - December 2013 Hannah was a researcher at the UdK's Design Research Lab

    From 2010-2012 Mika was a guest researcher in the Smart Textiles Design Lab at The Swedish School of Textiles

    From 2009 - 2011 Hannah was a graduate student in the MIT Media Lab's High-Low Tech research group led by Leah Buechley


    In 2009 Hannah and Mika were both research fellows at the Distance Lab


    Between 2003 - 2009 Hannah and Mika were both students at Interface Cultures
    We support the Open Source Hardware movement. All our own designs published on this website are released under the Free Cultural Works definition
    Circuits and Code

    Transistor Switch

    When you are controlling actuator that needs more than 5V or more than 40mA (this is the maximum current digital pins can supply), you can not directly drive this actuator from the digital pins.
    This is the case, when you want to use strong motor, embroidered speaker, SMA or any heat actuators.. and many more.


    So, idea is that if you could control a switch like this with arduino. You can do this by using Transistor Switch circuit.
    You can find many tutorials on this, like these ones
    http://www.electronics-tutorials.ws/transistor/tran_4.html
    http://hyperphysics.phy-astr.gsu.edu/hbase/electronic/transwitch.html

    The idea is something like this. The voltage you give from Arduino’s Digital Output pin now works like the finger pushing the switch. This is NPN common emitter circuit. When you give 5V out, the switch closes (ON), and if you give 0V, the switch opens (OFF)

    or if I write it in schematic way, it is something like this. I added few more components in this circuit (protection diode, pull down resister, protection resister). You can read what they are for in the above tutorial link.

    Transistor pins
    B: Base. You can control ON/OFF state of the transistor switch by applying voltage (i.e. 5V)
    C: Collector. On NPN type transistor switch circuit, load (i.e. motor) is above the collector pin
    E: Emitter. On NPN type transistor switch circuit, Emitter connects to GND. When voltage is applied to Base pin, Collector and Emitter gets closed (connected).

    For example, one of the commonly used NPN Darlington Transistor TIP122 pins are like this



    Leave a comment