3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Connecting Nokia 3310 LCD to USB using AVR

Step 4Programming the ATmega

Programming the ATmega
«
  • Atmega8.jpg
  • _MG_1929.jpg
If you have followed the schematic, this should be a real quickie.

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 StepDownload PDFView All StepsNext Step »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
7
Followers
1
Author:wkter