# data[].attributes.attachment_link.readable_text
Hi! In this build we'll make a good looking light that dances to all sounds and music, using simple components and some basic Arduino programming. It makes an awesome effect while standing on the desk when gaming, playing music, and anything else that makes sound really. Let's get going!

This is a project that i follow based on the youtuber's "Natural Nerd" that they done. This is my version of the project. All credit goes to them and a big shout out to them for provide me the detail on how to do the project.
STEP 1: MAIN SUPPLIES
First things first: what kind of supplies do we need and what do they cost? Well, they are largely optional, and can be made with much improvisation. Even so, some key items are needed if you want to follow this guide:

Depending on the look you want, you might want to arrange the strips differently or diffuse the light in another way. This is where you can be creative. If you like my approach, I used the following items:

All things considered I spent around RM 83.30 depending on the store that you go and buy the items, where the LED strips were by far the most expensive part that cost me RM 40 for only 1 Meter.
STEP 2: POWERING THE COMPONENTS
The powering the component will be a straight forward method. I just using the Arduino Nano's USB cable and directly plug in to the pc. If you using the external power supply such as AC to DC power source, you will be needed a step down module to help you reduce the amount of the current flow to your circuit. Otherwise, if you not using it and you might have a very high chance to burn the Arduino including the components that connected.

The star of the show is the sound detector module. This will provide an analog signal to the Arduino, which we can use to (hopefully) cleverly light the RGB lights. To be able to do this, we need to power both devices. Luckily they both require a 5 volt input. I am using a step down module to step down from 12 volts to 5 volts, but it would be easier to use a 5 volt power source directly. Wire the VIN on the Arduino and on the sound detector board to the positive input. Then wire the GND on the Arduino and the detector to the negative. Look at the black and the red wires on the attached schematic. We also need to hook the positive and negative input on the LED-strip to the power source.
STEP 3: DETECTOR & STRIPS
After having connected all three parts to the power, we need to connect them to each other.

The sound detector module will communicate with the Arduino over the analog input pins. I will be using pin number 0 in this case.

The LED strips need a digital pulse to be able to understand which LED we want to address. Hence we need to connect a digital output pin to the Arduino nano. I will using pin number 6.

Use the shrinking tube on to the choose area so that the cable won't collided with each other in a tight space later.

Just follow the schematic diagram that i provided in here and you will be fine!

Awesome, now we are mostly done with the electronics!
STEP 4: UPLOADING THE CODE
The most important part of this build will arguably be the code. It can change this build from pretty cool to insanely awesome. You can use the code that i provided together with this project. The main principle is to map the analog value we get from the sensor, to an amount of LEDs to show.
STEP 5: PREPARING THE CASING
First I thought the lid was made out of acrylic, after i bought the jar and realize it was not a acrylic but a glass. So i need to re-adjust my plan by making a cover that easy to poke and mount the Arduino and the led. So i choose the foam board.

First step, i need to cut the foam board having it exactly circular and have the same diameter as the jar's glass cover. I does not have the proper measuring diameter tools , so i improvise the method by using wet marker and mark the diameter of the glass and stamp it on a pieces of paper. After that, i paste the paper on to the foam board and but the board by following the edge of the circle on the paper. It's not perfect but it should be good enough to hold all the Arduino and led component.

Second step, i need to break the glass on the jar lid. CAUTION! please cover the jar with a thick plastic bag to prevent the glass scatter around the room and do it at the open space. Aware with your surrounding. After breaking the glass, please make sure all the glass that stuck at the side crack of the jar lid to be remove. This is to prevent you or other from getting an injury from cutting them self to the stuck glass.

Third step, place the circle shaped foam board at the center of the jar lid. Make sure the foam are tight and not too loose that they just fit nicely with the jar.

Forth step, i just realize that i need to change the layout of this project. i would like to make that the user will be easy to access the Arduino component's in case of faulty. So, i decided to use the mini breadboard and placed it at the center of the lid. Not only that, i cut two holes for the cable from the Sound Module that i will be placing at bottom of the jar lid to go inside the jar and onto the breadboard and one more hole for the Arduino to connect with the USB cable to act as the power supply for the circuit.

Fifth step, I mark the pvc pipe with masking tape and draw the line at the center of the tape. Then, i tape it at the pvc pipe. The marking are the indicator of me to cut the pvc pipe evenly and trying to having a clean cut.

After measuring the amount of length of pvc i need to use, i cut it carefully by following the mark that i provided. The length of the pvc pipe are depend on your jar height. You may use any length that you desire.

Sixth step, i warp the PVC pipe that i cut with the LED strip around it and make it slightly slanted and going spiral to the top of the PVC. I make sure that i create a small hole for the excess cable length to be hide inside the PVC jar for cable management. I then need to find a way to stand the PVC onto the breadboard. Using hot glue gun or the double-sided tape, i able to tape the PVC pipe on to the extra foam board then paste it on the unused area at the breadboard. During this step, i able to connect some of the component to the breadboard.

Use the schematic diagram provided to connect all the component.

(The left-area of breadboard will be the positive and the right-area of the breadboard will be the negative. `

Seventh step, i placed the sound module at the outside of the jar lid. This is purposely done for the module ease of picking the sound outside the jar later. After placing the module, connect it with cable and match it as stated in the schematic diagram given. Then, connect all the cable with the sensor and Arduino to breadboard. The Arduino being setup vertically so that the cable for powering up the curcuit will able to connect with Arduino board easily through the foam board.

And thus, I complete the project. I takes a while plus with the try and error but I managed to complete it.

# data[].attributes.attachment_link.description
Hi! In this build we'll make a good looking light that dances to all sounds and music, using simple components and some basic Arduino programming. It makes an awesome effect while standing on the desk when gaming, playing music, and anything else that makes sound really. Let's get going!

# data[].attributes.headline
기말고사 아이디어 : 도트매

# data[].attributes.body
기말고사 아이디어 : 도트매트릭스를 활용한 액세서리

아두이노 나노, 브레드보드 미니, 도트매트릭스와 추가로 필요한 재료를 구입해서 원하는 글자를 순서대로 도트매트릭스에 불빛으로 표현

# data[].attributes.body
input: 사운드 - 피에조스피커?
output: led

# data[].attributes.attachment_link.title
[아두이노 작품] 20. 조도센서를 활용한 스마트 홈 | 스마트 가로등 | 블록코딩으로 배우는 아두이노 | 팅커캐드 서킷

# data[].attributes.body
Music Reactive LED Strip - Arduino Project Hub

# data[].attributes.headline
cds 이용 무드등 만들기

# data[].attributes.subject
cds 이용 무드등 만들기

# data[].attributes.headline
전개도 이용 -> 더 계획을 세워서 해보기

# data[].attributes.subject
전개도 이용 -> 더 계획을 세워서 해보기

# data[].attributes.body
나만의 디자인으로 바꿔보기

# data[].attributes.attachment_link.title
HOW TO MAKE | [DIY] PAPER HOUSE MOOD LAMP | Tutorial | 페이퍼아트 무드등 만들기  Level. 1

# data[].attributes.headline
소리에 반응하는 LED 아이디어

# data[].attributes.subject
소리에 반응하는 LED 아이디어

# data[].attributes.body
- 음악에 맞춰 패턴을 보여줌
- dot visualizer
- 큰소리가 나면 붉은색, 중간 소리가 나면 초록색, 작은 소리가 나면 노란색으로 켜지는 LED

# data[].attributes.headline
OUTPUT이 사운드인 아이디어

# data[].attributes.subject
OUTPUT이 사운드인 아이디어

# data[].attributes.body
- 어떤 물체가 가까워지면 소리를 내는 인형

# data[].attributes.attachment_link.readable_text
As a Sci-Fi movie lover, I have tried building space ships, Light-sabers and many more things since my childhood. Though the things I built those days were just toys, I started to build realistic things which are very close to the things in the actual movies. Since a couple of years, I wanted to amaze my friends when they come to my place. Then I came up with the idea of making a talking robot helmet. It talks automatically when someone comes.

The best thing is I was able to make this from some junk items, like an old motorbike helmet, toy mask, some foam pieces, and some electronic components which I already have.

First, I want to motivate and inspire you to build this before we begin. So, watch this video before getting started. If you follow this tutorial, you will end up making a thing like this.

It's amazing. Right?

You can include thousands of voice commands as you desire and playback them when the sensor triggers.

Let's get started.

Step 1: Things You Need

Collect the following items.

If you cannot find the 2N2222 transistor D400 and B547 are alternatives.

Let's make the circuit.

Step 2: Breadboard Test

First, we make the circuit on the breadboard and test it. I think you all have a basic knowledge in Arduino.

Connect the circuit according to the above diagram. I have uploaded the fritizing file of the circuit just in case.

Here are the connections in between SD card module and Arduino Nano.

Connect the data pin of the PIR to A6.

Connect the base pin of the transistor to D9 pin through the 1K resistor.

Step 3: Play Sounds From Arduino

Using an Arduino board, we can play sound files stored in an SD card. In our design, we use this method to playback Darth Vader's voice clips. Before using voice clips we should test this by playing a random sound file.

First, you have to convert your sound file to ".wav" format with following parameters.

Convert your sound file using a converter software or an online service by applying the above parameters.

Now save it onto your SD card and insert it to the SD card module.

Use the following library and Arduino code to play your sound file.

Wanna here "Final Count Down" ?

Step 4: Robotic Voice

To include robot voice clips to the circuit, you can either record your voice or use a text to speech service.

After that, the recorded voice is needed to be converted to a deep robotic voice.

Here, I have included my sound files before and after converting.

Step 5: Convert Your Voice

Here I'm using "Cubase 5" software to change the recorded voice to robot's voice. The following effects and processes are needed to make it feels like a real robot.

Follow my video as a guide.

Step 6: Testing the Functionallity

This helmet includes a PIR sensor which detects movements. What I'm doing here is detecting whether someone comes and if so, play a sound clip based on their movements. As an example, in the first video, I have coded the Arduino board when it detects someone for the first time, it plays "Who's there?". If that person moves again, it plays "Identify yourself".

Upload the following code to the Arduino board. I have named the voice clips as 1 and 2 in the code. Change it according to your audio files.

Here is my testing video.

Step 7: Making the Mask

I was able to find an old mask from my brother's toy cupboard. The mask is the place where we attach the circuit.

I have removed a small circle to make that and as well as to mount the PIR sensor.

Next, I have removed a piece from the bottom to place the speaker.

Now we have a mask like in the second image.

Step 8: Soldering

There are some components needed to be soldered before mounting inside the mask.

Solder the 1K resistor to the base pin of the transistor.

Solder the Negative wire of the speaker to the collector pin of the transistor.

Solder 330 Ohm resistors to the positive pins of LED bulbs.

Step 9: Mounting Sensors

As I mentioned before the center hole is to mount the PIR sensor. Mount the PIR sensor and apply some hot glue.

From the front, it will look like the second image.

Next, place the speaker at the bottom of the mask and apply hot glue thoroughly.

Make sure that they have fixed to the mask well.

Step 10: Flashing Eyes

You can notice, the eyes of the helmet are flashing in the first video.

Just placing the LEDs at eye holes are not enough. We need to spread the light of the LED to the entire eye. To do that, paste 2 pieces of white oil papers at the eye holes from inside the mask.

Now place the LEDs at the center of the eye holes and apply some hot glue.

Connect positive pins of the LED and 2 resistor pins to jumper wires.

Step 11: Wiring the Mask

To supply the current for several components, I have attached some jumper wires together and made a power distributor. (First Image)

Now, connect all components together according to the diagram we followed before.

Place all modules to make sure that they are not touching each other.

Now we have a talking Darth Vader mask. You can use a 9V battery or an external power supply to supply current to the circuit.

Step 12: Finishing.

To make it look like a robot head, I have added a triangular shaped voice mask. You can just make it by gluing 3 foam board pieces and paint it.

To make the rest, I found an old Motorbike helmet.

The mask is placed inside the helmet.

Now place this on top of your room's door. When someone comes there, it will automatically talk.

Just like this you can add more voice clips using my method and can add many more sensors to improve the responses of this helmet.

Hope this will be an amazing idea to prank your friends in this April..

Cheers!!!

# data[].attributes.attachment_link.title
Prank Your Friends with Talking Darth Vader

# data[].attributes.attachment_link.description
As a Sci-Fi movie lover, I have tried building space ships, Light-sabers and many more things since my childhood. Though the things I built those days were just toys, I started to build realistic things which are very close to the things in the actual movies.

# data[].attributes.body
버튼을 누르면 조명이 빛나고 음악이 나오는 소품

# data[].attributes.attachment_link.readable_text
Last week I saw some sea shells in a dollar store close to my home and suddenly came up with an idea to build a cute little Christmas present for my partner. As simple as the idea sounded like in the beginning, it almost killed me to actually make it!

First have a look at the final product (turn on speaker):

Sea Shells Light/Music Box!

I realized I have to use a TLC5940 to expand the number of PWM pins on an Arduino, and later realized something that nearly killed the project: using the tone function interferes with the PWM timers, therefore I couldn't have the light dance and the music working simultaneously using one Arduino Nano. The result was using two separate Nanos, both feeding from the same power source but one handing the lights and one playing the music.

I later on decided to add a tactile button between the piezo speaker and the second Arduino, to make it play the music only if you press the button.

The soldering on a prototyping PCB and gluing the lights inside the shells was also quite the challenge, but all in all the result was well worth the time :)

I drilled a hole on the back of the box, and connected the VIN of both Arduinos (as well as their grounds) and passed them through the hole, so the power source could stay outside of the box as we need to be able to change it from time to time.

Then I glued the board and the speaker to the botton of the box. And after that I glued one or two LEDs inside each shell, and then kept gluing shells inside the box to cover the board, speaker and all the wires:

It works best to put LEDs inside bigger shells, and then have some tiny little shells to cover all the holes to make sure the wires and devices aren't visibly underneath them.

The final result looked like below, the smaller shells came very handy. On the top left corner, the switch is also covered with a little shell glued on it! Also on the bottom right, the tactile switch is placed that triggers the song playing:

I must also mention that the code for the playing the music was taken from this Github Repository, so especial thanks to the person who wrote it!

# data[].attributes.attachment_link.description
Last week I saw some sea shells in a dollar store close to my home and suddenly came up with an idea to build a cute little Christmas present for my partner. As simple as the idea sounded like in the beginning, it almost killed me to actually make it!

# data[].attributes.headline
한 장보다는 중간고사 때 했

# data[].attributes.body
한 장보다는 중간고사 때 했던 것처럼(페이퍼아트무드등) 겹쳐지는 부분 이용해도 좋을 것 같음

# data[].attributes.body
https://blog.naver.com/codingcurator/221406300188

# data[].attributes.body
https://youtu.be/guppB4cK3oU

# data[].attributes.headline
깔끔하게 디자인하면 좋을 듯

# data[].attributes.body
깔끔하게 디자인하면 좋을 듯

# data[].attributes.body
https://youtu.be/FehBLNHMlfo

# data[].attributes.attachment_link.title
How to Control a Ton of RGB LEDs with Arduino & TLC5940

# data[].attributes.body
여러 led를 키는 방법도 찾아보기

# data[].attributes.attachment_link.title
[아두이노기초] 조도센서(Cds)로 어두울 때 켜지는 자동 무드등 만들기

# data[].attributes.body
https://youtu.be/yLv0H9uff6k

# data[].attributes.body
https://youtu.be/T5Aq7cRc-mU

# data[].attributes.headline
구부려지는 도트매트릭스!? 신기하다 

# data[].attributes.body
구부려지는 도트매트릭스!? 신기하다 ......... Flexible 8x32 NeoPixel RGB LED Matrix [ada-2294] / 디바이스마트 (devicemart.co.kr)

# data[].attributes.attachment_link.keywords[]
flexible 8x32 neopixel rgb led matrix [ada-2294]

# data[].attributes.attachment_link.title
Flexible 8x32 NeoPixel RGB LED Matrix [ada-2294]

# data[].attributes.attachment_link.description
Adafruit / Flexible 8x32 NeoPixel RGB LED Matrix [ada-2294] / LED/LCD > FND/도트매트릭스 > 도트매트릭스 > 기타 / 배열 : 8x32 / 픽셀 : 256 / 색상 : RGB / 네오픽셀

# data[].attributes.body
브레드보드 -> 종이로 바꾸는 것도 나쁘지 않을 듯 (무게 감소)

# data[].attributes.attachment_link.title
[아두이노 DIY] 파는거보다 예쁜 BlueTooth 무드등 만들기 (feat. Arduino Nano)

# data[].attributes.attachment_link.title
[아두이노 DIY] LED와 버튼으로 선 없이(Wireless) 만드는 아두이노 빌리지 (feat.3D printing)

# data[].attributes.body
https://youtu.be/pQwgZwrXfhc

# data[].attributes.attachment_link.title
Arduino + neopixels / WS2812B LEDS music to light - link to code in description

# data[].attributes.body
https://youtu.be/92VIEDtQKVI

# data[].attributes.attachment_link.title
Arduino: how to build an electronic MIDI xylophone

# data[].attributes.attachment_link.title
ProtoStax Portable Capacitive Touch Piano - Demo Testing

# data[].attributes.body
3색 led를 쓸 시, 제어-> 리모컨 조절?
네오 픽셀 -> 화려하지 않을까?/ 얘도 리모컨으로 조절?
종이에 회로는 어떻게 짜는 것이 좋을까? -> 전처럼 구리테이프를 활용하는 것이 좋을까? / led 조명을 몇 개 넣을까?(3 개면 충분할까?)

# data[].attributes.headline
박수로 켜고 끄는 led

# data[].attributes.subject
박수로 켜고 끄는 led

# data[].attributes.attachment_link.title
Control LED By Clap Using Arduino and Sound Sensor

# data[].attributes.attachment_link.description
We’re showing how to use KY-038 Sound Sensor using Arduino. You can control LED by clap with the help of Arduino and sound sensor. By IoTBoys, Rajeev Ranjan, and Shambhoo kumar.

# data[].attributes.body
https://youtube.com/shorts/rdNLV4RWstg?feature=share

# data[].attributes.attachment_link.title
Arduino art project for Mark Rober’s monthly course!

# data[].attributes.headline
지나가면 음악이 재생됨

# data[].attributes.subject
지나가면 음악이 재생됨

# data[].attributes.attachment_link.readable_text
My previous tutorial about it, only one library needed ( #include <SoftwareSerial.h>), and some easy function already explained in the previous tutorial:

How to use HC-SR04 ultrasonic range

My previous tutorial about it, no library needed, easy to use anyway. I just took my previous hc-sr04 post and put it in this function:

How to use them both Version 1: Simple mp3 distance trigger

First install the library if you don't have it yet (<SoftwareSerial.h>).

In this version of code, if something comes closer than 50cm then it triggers the mp3 audio. I used it to scare my roommates with a very loud "surprise motherfucker" clip.

Note: Full .ino code is in the Project Attachments below.

void loop() { if(measureDistance()<50){ sendCommand(CMD_PLAY_WITHFOLDER, 0X0203);//play the third song of the second folder delay(1000);//wait to avoid errors } delay(300); }

How to use both Version 2 and Disturbance mp3 distance trigger

This version doesn't care about the distance, only detects differences between readings. If triggers suddenly by error put a higher value in if(gap>20){....... we need to declare new variables outside the loop. I did it at the beginning of the code.

How to use them both Version 3: Two Distance Sensors

With two distance sensors you can actually guess the direction of movement so I did a program which says " hello " or " bye " depending of the person´s direction of movement.

First we define another two DIGITAL pins for controlling the second HC-SR04:

#define trigPin 13//for the FIRST distance module #define echoPin 12 #define trigPin2 10//for the SECOND distance module #define echoPin2 9

long Distance,auxDistance,gap=0; long Distance2,auxDistance2,gap2=0; //new variables

pinMode(trigPin, OUTPUT); pinMode(echoPin, INPUT); pinMode(trigPin2, OUTPUT); pinMode(echoPin2, INPUT);

We change the measureDistance() function, now the function reads the pins from the arguments.

Happy hacking, fellas!

# data[].attributes.attachment_link.title
Arduino Mp3 player + Distance sensor = FUN

# data[].attributes.attachment_link.description
My previous tutorial about it, only one library needed ( #include ), and some easy function already explained in the previous tutorial: How to use HC-SR04 ultrasonic range My previous tutorial about it, no library needed, easy to use anyway.

# data[].attributes.body
https://youtu.be/fnQUfzWk6aE

# data[].attributes.attachment_link.title
Project 2 Mark Rober class - Arduino Art

# data[].attributes.body
사운드 센서로 주변에 물체가 감지되면 프로그램에 그 물체의 위치를 띄움
(서보모터, 피에조버저, ultrasonic sensor)

# data[].attributes.attachment_link.readable_text
This project is a Arduino Based Security System consisting of a Arduino Uno, a servo motor, a ultrasonic sensor and a piezoelectric buzzer.

Here, the ultrasonic sensor senses an object that is within its range, which activates the buzzer. This sensor data is also fed into a Processing IDE software, which creates a graphical map.

The servo motor is used to rotate the ultrasonic sensor so as to cover a large area.

This is a pretty simple project and can be done within an hour.

Here is the procedure for the project -

Connect the Trigger Pin of the Sensor to Pin 2 of the Arduino

Connect the Echo Pin of the Sensor to Pin 3 of the Arduino

Connect Vcc and GND of the Sensor Supply and Ground respectively

Place the buzzer on the breadboard

Connect its Positive End to Pin 10 of the Arduino and connect the Negative End to ground

Attach the black and red wire of the servo motor to ground and supply respectively

Attach the yellow wire of the servo motor to Pin 9 of the Arduino

Connect 5V terminal of the Arduino to supply and GND terminal of the Arduino to ground

After Finishing these connections, place the entire circuit inside the box as shown in the figure.

Then it's time to code.

# data[].attributes.attachment_link.description
This project is a Arduino Based Security System consisting of a Arduino Uno, a servo motor, a ultrasonic sensor and a piezoelectric buzzer. Here, the ultrasonic sensor senses an object that is within its range, which activates the buzzer. This sensor data is also fed into a Processing IDE software, which creates a graphical map.

# data[].attributes.body
https://youtu.be/tjtmkO9wT1I

# data[].attributes.body
https://youtu.be/jkg7T7jlIzU

# data[].attributes.attachment_link.title
Arduino 16x16 WS2812B RGB Matrix Animation Picture Frame - Tutorial

# data[].attributes.headline
다양한 방법으로 램프를 켜고 끄기

# data[].attributes.subject
다양한 방법으로 램프를 켜고 끄기

# data[].attributes.body
두드리거나 박수를 치거나 바람을 불거나 손가락을 튕기거나 소리지르는 행위로 led를 켜고 끔

# data[].attributes.attachment_link.readable_text
If you don't mind having a bit of fun with electronics this project is for you. In this project, I am making an ATtiny-based USB lamp that can be turned off/on by multiple sources such as:

Knocking

Clapping

Blowing

Finger Snapping

Shouting

In this project I utilized, or I can say I misused, microphone sound sensor to detect different sources to turn on and turn off lamp. Also I wanted to make this project as small as possible, so I used a ATtiny 85 microconntroller. This is cool because the ATtiny is tiny, and - well - this allows you to make tiny things that don't need a big micro controller.

A microphone is an acoustic to an electric transducer or sensor that detects sound signals and converts them into an electrical signal.

To generate an electrical signal all you need to do is make movements in the diaphragm. So when blowing on a microphone sound sensor, microphone's diaphragm responds because it is a displacement of air molecules pushing on one side of the membrane to the other causing electrical signal in the microphone to make it seem like sound.

Also here I am describinghow to program ATtiny microcontrollers using the Arduino IDE.

Let's get started...

Watch the Video

Get the Parts and Materials!
You will need following parts to flash ATtiny through Arduino:

Arduino

Breadboard

ATtiny85 (or ATtiny45)

10uF electrolytic capacitor

Jumper Wires

You will need following parts to build the final circuit:
Note:

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.

Other Tools and Materials

Glue Gun

Utility Knife

Bottle Cap

A white paper

Soldering Iron

Wire the Circuit to Flash ATtiny

Connect the Arduino to the ATtiny as follows:

Arduino +5V ---> ATtiny Pin 8

Arduino Ground ---> ATtiny Pin 4

Arduino Pin 10 ---> ATtiny Pin 1

Arduino Pin 11 ---> ATtiny Pin 5

Arduino Pin 12 ---> ATtiny Pin 6

Arduino Pin 13 ---> ATtiny Pin 7

Open Arduino IDE

File > Preferences and in Additional Board Manager URLs: and Copy/Paste this:

https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json

Click OK

Tools > Board > Manager, install: ATTiny and close Arduino IDE.

Put the 10uF capacitor between ground and the Arduino reset pin. Make sure to keep an eye on the capacitors polarity (ground to ground!).

This capacitor effectively filters out the incoming reset pulses that come from your PC when the Arduino software starts to program your part. Because you want to program a part further downstream, you filter the reset pulses coming into the Arduino. Otherwise, you'd invoke the Arduino's bootloader and program that Arduino, and that's not what you want at all;);

Set Up Arduino IDE

Connect your Arduino, open the IDE, and upload Example> ArduinoISP sketch;

This Arduino-supplied example sketch turns your Arduino into an ISP (in-system programming)

Again ;

Configure Arduino IDE Tools Menu

Open Arduino IDE,

(1)Board: ATtiny25/45/85

(2)Processor: ATtiny85

(3)Clock: Internal 1 MHz

(4)Port: COMXX(Arduino Uno)

(5)Programmer: Arduino as ISP

Upload the below given code:

Also you can get Code and circuit diagram from my Github page.

The Prototype!

I build a prototype on a breadboard to test the circuit.Follow the circuit circuit diagram to complete the breadboard connection.

And it worked Fine:)

By using a utility knife cut out some portion from bottle cap to insert usb's wire through it.

Fix the circuit into bottle cap using hot glue gun.

Get a white paper and join it using hot glue.It must look like a hollow cylinder.

Insert the paper through top of circuit and join it with hot glue.

Note:If the led is not lighting up, you need change the sensor sensitivity (reduce Sensitivity) by rotating the potentiometer.

Breadboard to Perfboard

I cut perfboard into a size of coin and I soldered all parts into it.I soldered a usb cable, so I can power it from any USB Ports such as laptop, power bank etc.

Building Base and Lamp Shade

I decided to build a base and lamp shade.For that I used a bottle cap and a piece of white paper.

Thank you so much for reading if you need any more information feel free to ask in comments, and I'll do my best answer you.

:)

# data[].attributes.attachment_link.description
If you don't mind having a bit of fun with electronics this project is for you. In this project, I am making an ATtiny-based USB lamp that can be turned off/on by multiple sources such as: Knocking Clapping Blowing Finger Snapping Shouting In this project I utilized, or I can say I misused, microphone sound sensor to detect different sources to turn on and turn off lamp.

# data[].attributes.body
기말 프로젝트는 radar project로 정했습니다. 초음파센서, 서보모터, 피에조스피커를 부품으로 사용할 예정입니다.

# data[].attributes.headline
이전에 받은 피드백 보완점

# data[].attributes.subject
이전에 받은 피드백 보완점

# data[].attributes.body
이전에 받은 피드백 : 배터리를 두는 곳이 불안정하다
-> 아두이노 사용해서 핸드폰 보조 배터리를 이용하여 배터리가 나가면 보조 배터리에 일반 휴대전화처럼 연결해서 충천해 나가는 방식
-> 연결되는 부분에만 작은 구멍을 뚫어 연결할 수 있도록 하기