You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.md 1.4 KiB

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