This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Interfacing an 8051 to a computer screen

Hi,
I am making a project using an atmel 89c51 microcontroller which has to be interfaced with an lcd screen and switches to work like a mini gaming device.I have already written the code of the game in the "C" language which is working fine. I also have a design of the basic hardware circuitry required for 8051 to run(like crystal oscillator ,power suppy ,switches). I am required to use a computer lcd screen as a display.The rest of the computer is not required only the microcontroller circuit and the computer monitor.This is where i am having trouble.What i'd like to ask is:
1. Is this feasible?.....If not would it be possible if i used an atmega16, or not at all possible even then.

2. Can anyone help me with some material required to design the circuit and the write code related to interfacing pc lcd screen with my circuit?

Parents Reply Children
  • Now, I'm curious.

    Are your project guide competent but evil. Or just incompetent?

    Get a phone with video output and support for bluetooth serial port. Then send commands on serial port and have the ARM (most probably) processor in the phone display the video. If the project guide does give you bad advice, you might as well produce a working solution using an intelligent "adapter" on the cable.

    There are several ARM development boards that are delivered with a graphical LCD on the board.

    But the big oops here is 20 days remaining for either solving a problem a 8051 is totally lousy at solving or switching to totally new hardware and start from scratch.

    For a bit of fun - send your project guide to this forum, and we'll see how well he/she can defend his idea.

    There is a huge difference between emitting text on a text-only LCD and to produce video output (not just a single image but something that is regularly updated - maybe even in real time with is common to games) on a graphical display. Not to mention interfacing with raw video data which means that the image will not just have to be generated in the memory, but must also constantly be refreshed. A VGA-type video signal normally doesn't support refresh rates lower than 50 full frames per second. If going down to 320x200 CGI resolution but monochrome at 50Hz, there is still 3.2 million bits to send out every second - besides the CPU time that is needed to regularly change the image memory to get new data to display.

    There have been examples where people have abused SPI hardware to get microcontrollers to emit video data. But with huge amounts of work put into the task. Real designs uses video controllers that emits the video data in the background, so the processor can spend all the time on figuring out what contents to place in the video memory.

    Most graphical LCD don't take video data, but have an internal image memory. So just about any processor can send data to it - the problem is only if the data can be produced and copied to the image memory fast enough to get the required number of frame changes / second, i.e. to get the display animated.

  • But you're happily skipping the input that you are supposed to be doing the work - yourself...?!

  • Well , we are required to do this because these are inputs given by our project guide that have to be followed. :(

    I'll take the liberty of reading that as: "Because our teacher said that's what our homework is."

    As for the feasibility of the task itself, the obvious answer is: if you must ask those question, no answer in the world will suffice to help you with that job. You're in way over your head.

  • Thnx... wat ur saying does make sense.....i can't send her here.. lolzz... but i can use wat ur saying nd convince her to let us use another lcd screen...... V hav started wrk using an atmega16 instead btw... but da interfacing is still a dilemma!!!I can't say for sure she does kno wat she(my guide) is saying

  • Why not?

    It's a public forum - open to all.

    Or do you just mean that you don't want to send her here - because then she'll know that you're trying to cheat on your homework?

    But remember that teachers can use the internet too - cheating students have been rumbled by alert tutors before; eg,
    www.8052.com/.../181031

  • if you use the same abnomiable "spelling" when you hand in your project, it will not matter what it looks like, your teacher will just reject it.

    What is wrong with using all letters in a word THIS IS A FORUM NOT A GD CELLPHONE

    Erik