Amal Mathew
Published © GPL3+

Multi-Source Controlled USB Lamp

An ATtiny-based tiny USB lamp that can be turned on/off by knocking, clapping, blowing, finger snapping and shouting.

BeginnerFull instructions provided1 hour7,934

Things used in this project

Hardware components

Arduino UNO
Arduino UNO
×1
Solderless Breadboard Half Size
Solderless Breadboard Half Size
×1
ATtiny85
Microchip ATtiny85
×1
10uF electrolytic capacitor
×1
Male/Male Jumper Wires
×1
Microphone Sound Sensor
LM393 Microphone sound Sensor
×1
5 mm LED: Red
5 mm LED: Red
I used a white LED
×1
Resistor 220 ohm
Resistor 220 ohm
The value of resistor in series with LED may be a different value than 220 ohm ,the LED will lit up also with values up to 1k ohm.
×1
IC Socket
×1
Perfboard
×1
USB-A to Micro-USB Cable
USB-A to Micro-USB Cable
×1

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)
Utility knife
Hot glue gun
A bottle cap and a white paper

Story

Read more

Schematics

program_an_attiny_with_arduino_bb_X0eKMZIjs4.png

program_an_attiny_with_arduino_schem_ccn2noCxBz.png

circuit_YthuIdQEsn.png

attiny45-85_LVen0x4QCi.jpg

Code

Arduino Sketch

Credits

Amal Mathew

Amal Mathew

24 projects • 79 followers
Maker | Not much to boast about – just a human, open-source believer. Simple as that.

Comments