Getting Started With LCD's and Microprocessors

Introduction: Getting Started With LCD's and Microprocessors

In this Instructable, find out how to control LCD's with a ATmega8 and Bascom.

You will need:

- Breadboard
- Wires
- ATmega8
- Programmer
- Bascom AVR (There is also a demo version for Free)
- 10k resistor
- 100k resistor
- 10k variable resistor
- 7805 Voltage regulator
- 100 µF 16V electrolytic capacitor
- 100n capacitor
- 16x2 LCD

Step 1: Install Software

1) Go and download BASCOM AVR

 2) Install it.

 3) Download PonyProg

4) Install it

Step 2: Build the Circuit

1) Build the circuit on your breadboard.

When you want to use the backlight, make sure you're using a resistor unless it's already build in your LCD.

Step 3: Write the Program

1) Write a Program in Bascom AVR or use the one i made. There are tons of Bascom tutorials on the internet, or use the Bascom help.

2) Once you've done that, compile the program and open PonyProg.
in PonyProg, click open and choose the .hex file you've just created by compiling the .bas file in Bascom AVR.

3) Now connect your programmer to your computer. I recommend not to build one by yourself. These things are crap.

If you live in Germany and don't want to spent much money, buy the "ATMEL Evaluation Board" from Pollin. This is the device i'm using. I don't know if these guys ship to the US.

Step 4: Test It!

Now just put the ATmega8 into the circuit and see if it works. If it does, you can write your own programs and build lots of cool things. If not, look for the error. And remember: Be patient!

There are some problems with the attachments here, so i uploaded the schematics and the code stuff to Rapidshare.

Be the First to Share


    • Tinkercad to Fusion 360 Challenge

      Tinkercad to Fusion 360 Challenge
    • Colors of the Rainbow Contest

      Colors of the Rainbow Contest
    • Remote Control Contest

      Remote Control Contest



    9 years ago on Introduction

    please upload file again. link in - broken


    11 years ago on Step 3

    Why do you use ponyprog and not the build-in programmers of Bascom? They are so easy to work with.


    Reply 11 years ago on Introduction

    He may be using a serial programmer that is not directly supported by BASCOM, or may not have been supported at the time the piece was written. I had a problem using the Pololu USB programmer and had to use AVR Studio to load the HEX file into the Atmel... then Mark made a change to BASCOM after I communicated with him and updated BASCOM to support the programmer.

    Hope that helps,