Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

index.md 1.3 KiB

il y a 7 ans
123456789101112131415161718192021222324252627282930313233343536
  1. This documentation is written around an ATMEGA168 programmed through an AVR. It might (should) be compatible with other microcontrollers but you will need to tweak the program and the set up a little bit here and there.
  2. **For software side installation instruction, please go to [https://github.com/binhonglee/SunriseAlarmClock](https://github.com/binhonglee/SunriseAlarmClock)**
  3. # Requirements
  4. The parts that is used in building the project includes:
  5. - [ATMEGA168](http://www.atmel.com/devices/ATMEGA168.aspx)
  6. - Long breadboard
  7. - Active Buzzer
  8. - Photoresistor
  9. - Button Interrupt
  10. - 100uF 50V capacitor
  11. - Resistor
  12. - [USBtinyISP](https://learn.adafruit.com/usbtinyisp) - AVR programmer & SPI interface
  13. - UART serial port
  14. - Bunch of wires
  15. Optional:
  16. - LED
  17. - Additional Resistor
  18. # Putting it together
  19. 1. Solder your USBtinyISP according to the tutorial.
  20. 2. Put all the parts onto the breadboard according to this diagram. (If you do not have any LEDs or Resistors, ignore them)
  21. ![image](./diagram.png)
  22. 3. Connect everything together onto your computer.
  23. 4. (Optional) If you have the LEDs and Resistors connected, make sure the LEDs is lightened up.
  24. 5. Proceed to flash the microcontroller with the program following the instructions [here](https://github.com/binhonglee/AVR---Sunrise-Alarm-Clock).
  25. 6. Congratulations, you have it all put together!