Step 4Programming the ATmega
Download the source code or hex files attached to this instructable, compile and upload to your chip. If you're not sure how this works, please check out this very good instructable on how to get started with AVR. It should cover everything you need in regards to programs and SPI interface through parallel connection.
Once you've uploaded the firmware to the microcontroller, detach the programming cable. If you've done everything correctly, the display should now say "Display Initialized" and your computer should notify you that an USB device has been plugged in.
If you have trouble burning the chip:
* Is the AVR powered? You can use power from the USB port.
* Check for any bridges in your soldering.
* See if you have mixed the MISO and MOSI wires. It's pretty quick to mix those.
* Is the crystal correctly soldered?
If the display does not work:
* Is the screen powered (It powers directly from the USB, just like the AVR)
* Make sure you have not flipped the pinout on the display. It's pretty quick to get it backwards.
* Have you mixed any of the SPI wires?
* Make sure the VOUT on the display is connected to a grounded capacitor.
* Make sure the RESET on the display is properly connected and to the correct pin on the AVR.
If your computer does not find the device over USB:
* Have you mixed the D+ and D- wires?
* Are the zener diodes correctly soldered?
* Does the D+ and D- signal go to the correct pin on the AVR?
If you still have problems, describe your problem in a comment and I'll try to help you out.
| « Previous Step | Download PDFView All Steps | Next Step » |
![]() |
Add Comment
|













































