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.

EasyFull instructions provided1 hour3,537

Things used in this project

Hardware components

Arduino UNO & Genuino UNO
Arduino UNO & Genuino 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 bb x0ekmzijs4

program_an_attiny_with_arduino_schem_ccn2noCxBz.png

Program an attiny with arduino schem ccn2nocxbz

circuit_YthuIdQEsn.png

Circuit ythuidqesn

attiny45-85_LVen0x4QCi.jpg

Attiny45 85 lven0x4qci

Code

Arduino Sketch

Credits

Amal Mathew

Amal Mathew

12 projects • 43 followers
Maker | Open source ❤️| Engineer 👉🏽Technology for the Sake of Humanity

Comments