Tell us about yourself!
I wrote this program 1 years ago so it's hard to get in after a long time. I take time to understant it again, my 2 days ago answer is wrong. The 220 is the number of change value for the LED. The right max value for the LED brightness is 115 ( if ( brightness >= 115 ) ). It around 2.2 volts because max voltage is to bright in the dark.About the 21, from 10 bright to 115 bright, there is 105 step. For the first 11 breath by minutes whe have 60 secondes / 11 = 5.45 secondes. Less 1 seconds for pause and divide by 2 there is 2.22 seconds for the first fade in. 2.22 / 105 = 0.021 seconds.
Hello. I chose to use 11 and 6 breathing because these are standards for most people. For the 220, i don't go to 255 because it send arround 5V and white LED usualy can handle up to 3.3V. If you make math, the right value like to be arround 170 but it's pwm voltage and far from here, i never have burn LED. Maybe you can try to go up but 220 is safe.
Slow Dance - a Fusion of Art and Magic
TimeFrame - a Time Portal to Put on Your Desk.
Great !! If the top light was more inside the box, at the bottom of a hole, the projection on the ceiling will be a well drawn circle.
Sorry i don't know how attiny works.
Cheap Hot Air Station With Arduino
Hi AshJ7. Tomorrow i update the instructables and i had Fritzing file.
Thanks for your comment. I recognize that my translation may not be very clear. Sleep recharges the batteries. A tired body is like an empty battery, slow down and without "energy".For food, it gives the necessary strength to run 5 kilometers, carry heavy things,...
FADing (Fall Asleep Device)View Instructable »