• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

My microprocessor project is almost done!

I asked a while back if anyone knew how to interface a keyboard to an LCD. Unfortunately no one really did using just PS/2. Well, after many many hours of work its finally starting to come together. The video is dark to show the characters better but what is in this is a box that has a PS/2 port on it, an LCD, 2 knobs for controlling brightness/contrast, and two buttons. A speaker can be hooked into the box for sound.

The box is standalone so it just runs its program when plugged in. Anyway, here's the video if you want to check it out. I am pretty proud of it.

Yes I suck at typing
 
Neat project! I'm "enjoying" ECE201/207 right now; that certainly looks a lot more interesting and at least somewhat more useful. 😎

Edit to make sarcasm more obvious
 
Originally posted by: nkgreen
I've got ECE 380 next semester, I wonder if we'll do anything like that.

I don't know what your class involves but this project was kinda cool because it was entirely up to us what we used and what we did with it. Picking out parts and getting them to work together on your own makes it more rewarding when its all over.
 
Originally posted by: PurdueRy
Originally posted by: nkgreen
I've got ECE 380 next semester, I wonder if we'll do anything like that.

I don't know what your class involves but this project was kinda cool because it was entirely up to us what we used and what we did with it. Picking out parts and getting them to work together on your own makes it more rewarding when its all over.
That does sound fun. I think ours is digital logic, so I'm not quite sure what that is...

 
Beautiful. PurdueRY, check out my blog, I'm using a micro controller to drive a nixie display. I feel your pain on the whole project.
 
Also, what language did you write that in? C? And did you use some sort of driver for the sound or did you manually write a tone generator?
 
Originally posted by: So
Also, what language did you write that in? C? And did you use some sort of driver for the sound or did you manually write a tone generator?

I wrote it in pure assembly code and hand wrote the tone generator.

I will have to see what your project is like :thumbsup: 🙂
 
Originally posted by: PurdueRy
Originally posted by: So
Also, what language did you write that in? C? And did you use some sort of driver for the sound or did you manually write a tone generator?

I wrote it in pure assembly code and hand wrote the tone generator.

I will have to see what your project is like :thumbsup: 🙂

Ouch. I wrote a lot of code in assembly this semester (including a stand alone tone generator ) and it was always a PITA. My hat is off to you.

I've been using at Atmel's 89C series CPUs mostly (instruction compatible with 8051).

Now, the character LCD... did you write your own driver for that or was there an assembly one on hand? Because the timing for that seems like it might be tricky (I've only used C for character LCDs before so I could be wrong).
 
I was working on a similar project but i kind of forgot about it :-/

PS/2 keyboard + 4x20 LCD as a crappy serial terminal, so i can control the linux box from the garage. haha 🙂
 
Originally posted by: So
Originally posted by: PurdueRy
Originally posted by: So
Also, what language did you write that in? C? And did you use some sort of driver for the sound or did you manually write a tone generator?

I wrote it in pure assembly code and hand wrote the tone generator.

I will have to see what your project is like :thumbsup: 🙂

Ouch. I wrote a lot of code in assembly this semester (including a stand alone tone generator ) and it was always a PITA. My hat is off to you.

I've been using at Atmel's 89C series CPUs mostly (instruction compatible with 8051).

Now, the character LCD... did you write your own driver for that or was there an assembly one on hand? Because the timing for that seems like it might be tricky (I've only used C for character LCDs before so I could be wrong).

The character LCD is serial. I used the Serial communications interface built in peripheral to send out hex codes to the LCD. Pretty simple to control once you get the hang of it. The only part that sucks it trying to deal with the fact that the "cursor" is constantly updating different parts of the screen. Getting it in the place you want it at all times is pretty tricky.
 
Originally posted by: PurdueRy
Originally posted by: So
Originally posted by: PurdueRy
Originally posted by: So
Also, what language did you write that in? C? And did you use some sort of driver for the sound or did you manually write a tone generator?

I wrote it in pure assembly code and hand wrote the tone generator.

I will have to see what your project is like :thumbsup: 🙂

Ouch. I wrote a lot of code in assembly this semester (including a stand alone tone generator ) and it was always a PITA. My hat is off to you.

I've been using at Atmel's 89C series CPUs mostly (instruction compatible with 8051).

Now, the character LCD... did you write your own driver for that or was there an assembly one on hand? Because the timing for that seems like it might be tricky (I've only used C for character LCDs before so I could be wrong).

The character LCD is serial. I used the Serial communications interface built in peripheral to send out hex codes to the LCD. Pretty simple to control once you get the hang of it. The only part that sucks it trying to deal with the fact that the "cursor" is constantly updating different parts of the screen. Getting it in the place you want it at all times is pretty tricky.

Ah! Okay, I've used parallel LCDs in the past. Yeah, a serial LCD shouldn't be bad at all. Nevertheless, still damn impressive.
 
Back
Top