Example Projects

Circuits and Code Wireless

Meet the Materials
Conductive Materials
Non-Conductive Materials
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
  • Bits and Bytes Binary numbers
  • Multiplexed Matrix
  • Controlling EL Panel and EL Wire
  • EL panel/wire inverter hack
  • EMF amplifier
  • Heat Controlling Circuit
  • LED with Light Sensor
  • Lilypad XBee Shield
  • My First Arduino Connection Check
  • pressure matrix code + circuit
  • Pull-up Resistors
  • Rabbit Control Client on Bela
  • RabbitControl on Bela
  • RGB Colour Fade
  • simple heat circuit
  • Solar Powered Motor Circuit
  • Sound Amplifying Circuits
  • Graphing and Drawing Sensor Values
  • Teensy as HID Device
  • Transistor Switch
  • Volume Detection
  • Visualization: 2x2 Matrix
  • Visualization: Drawing
  • Visualization: Graph
  • Visualization: Pressure Sensor Matrix
  • Visualization: Touchpad
  • Voltage Divider
  • Voltage Divider with Arduino
  • What is Variables?
  • Support the creation of content on this website through PATREON!
  • About
  • E-Textile Events
  • E-Textile Spaces
  • Newsletter
  • Print & Publications
  • E-Textile Shopping

    Content by Mika Satomi and Hannah Perner-Wilson
    E-Textile Tailor Shop by KOBAKANT
    The following institutions have funded our research and supported our work:

    Since 2020, Hannah is guest professor of the Spiel&&Objekt Master's program at the University of Performing Arts Ernst Busch in Berlin

    From 2013-2015 Mika was 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

    LED with Light Sensor

    By using light sensor with transistor switch, you can make a “LED that turns on when dark” circuit without bothering with microcontrollers.

    You will need
    -1 transistor (BC546)
    -1 photocell
    – 100k ohm potentiometer
    and pliers and soldering iron.

    Here is the schematic

    and here is how the components are physically connected..

    You should be careful for these points when connecting the circuit. Some of them has directions and it will not work if you connect it the other way around…

    This circuit is based on information from following sites. You can also just follow the schematics from these sites, and should work.
    or this project is also nice

    I made a “Granny Throwie” with this circuit, so that the LED will turn on only in dark. I am hoping to send this piece to Stitches on the Bridge project, a massive guerilla knitting over the Skye bridge in Scotland. Perhaps “Granny Throwie” will light up the Skye bridge some day..

    11 Comments so far

    1. […] Satomi and Hannah Perner-Wilson have posed on ‘How To Get What You Want‘ another variant of this simple sensor using a 100k ohm potentiometer instead of the 1k […]

    2. Stan Axe on May 14th, 2010

      Suggest you add a current limiting resistor to protect your circuit. There are 2 possible places:
      1. Between the top end of the pot and the 3V.
      2. Between the base of the transistor and the wiper of the pot.

      Otherwise, with the circuit as shown, if you turn the wiper all the way to the 3V, you will either cook your transistor, drain your battery, overheat the battery, or all three at once.

      Also, depending on how hard the transistor gets driven, you may want to consider a resistor in series with the LED to avoid cooking that part as well.

    3. Mika on May 17th, 2010

      Thanks for the suggestion!
      The schematics on this post is working (or at least it did not burn or overheat my circuit, yet:), but I am sure there can be some improvement.
      This granny throwie lasted several weeks (emitting light only at dark) but maybe it can last even longer.
      I will try your suggestion when I get time and post it here.

    4. click here on August 1st, 2012

      First of all I would like to say superb blog! I had
      a quick question that I’d like to ask if you don’t mind.
      I was curious to find out how you center yourself and clear your mind prior to writing.

      I’ve had a difficult time clearing my thoughts in getting my ideas out there. I do take pleasure in writing but it just seems like the first 10 to 15 minutes tend to be lost just trying to figure out how to begin. Any suggestions or tips? Thank you!

    5. Quincy on August 22nd, 2012

      Hey, I am very excited I located your site. I was looking around for Southern
      Africa-related web sites when I landed on your 1. I’m actively considering travelling to South Africa – have you yourself been there? What do you propose I check out? I count on seeing a ton more from you later, so please keep up the great work!

    6. Glenda on October 5th, 2012

      I like it whenever people come together and share opinions.
      Great blog, stick with it!

    7. Srinivas on December 6th, 2012

      I would like to design LED garden lights with rechargable mobile batteries and I want to control these lights with sensor i.e. when it becomes dark the lights should automatically get switched on is there any circuit for controlling the same.

    8. Mitchell on December 7th, 2012

      Hello mates, its impressive post about tutoringand fully explained, keep it up all the time.

      my weblog; Mitchell

    9. Wellness on December 17th, 2012

      This website was… how do I say it? Relevant!
      ! Finally I have found something which helped me. Thanks!

    10. Andrew on July 3rd, 2013

      Hello, could please help me? I have a 12v battery and two 12v led lights. Could you tell me how could I do to turn them when there’s dark/becomes night?

    11. click here on May 1st, 2014

      What’s up, I want to subscribe for this blog to obtain most up-to-date
      updates, thus where can i do it please help.

      my weblog; click here

    Leave a comment