Output Devices
for this assigment I decided to make a simple timer/buzzer to use on the GYM, after readind the attiny84 datasheet i realise it is capable of doing so many things! is just a metter of choosing the right input and output current and amperage, and using the correct conponents for the aplication.
The idea came to me when I started training using HIIT (Hight Intensity Interval Training), when you have someone to measure time and tell you when to switch exercise you only concentrate on doing the exercise, you then concentrate in from and consistency rather then time

Yes, there are some apps to use on our smartphone and yes, you can use a stopwatch, but i don't take my smarphone with me to the gym and i don't like wearing a watch while exercising, especeally while doing strenght training.
The board was desingned using Eagle and consist of using the attiny84, I used because its was at the time the microcontroller in bigger number on the fablab, a led and a buzzer. I also added a micro USB port to connect the baterry.
The board works by pressing the push botton to start the timer and to turn the buzzer on then there is a delay followed by the buzzer turning off, then the led turns on, another delay and then turns the led off.
To make the code I use the "Blink" example inside the arduino IDE software
In order to make the buzer and the led work i designate 2 pins to be an output, this way i can activate both the led and the buzzer acording to the code.

While the buzzer is on is the time i will do the exercise and when the buzzer turns off and the led turns on is the time i have to rest.
I used the Attiny 84 because this is the model that we have available in the Lab. You can use the Attiny 44 as well, just make sure to choose this kind of processor in the arduino IDE in “tools>processor”
The only difference between the Attiny 84 and 44 besides the name, its that the Attiny44 has smaller flash, SRAM and EEPROM memory when compared to the 84, but everything else is the same. It means that using the Attiny 84 you could load a bigger program.
