Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)

Mouse / Keyboard

Altera_Forum
Honored Contributor II
1,529 Views

Hi, 

 

I need to hook a mouse and/or keyboard to the Altera DE2 Board.  

Would anyone be able to offer me some tips how to do this? Unless those tips are "plug it in" :p 

 

I would appreciate any help. 

 

Thanks 

JohnP
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
428 Views

You could use a PS/2 mouse or keyboard. Possibly the easiest way, due to its serial protocoll. 

 

Also a notebook touchpad would be suiteable, if you have some embedded hardware, where you want to integrate your controle unit directly into the device.
0 Kudos
Altera_Forum
Honored Contributor II
428 Views

Oh sorry, I overread the fact, that you are working with the DE2 board. I am not farmiliar with it, but I saw it has a ps/2 connector. I do not know, wether there are any IP-cores, or reference designs using it, but you can take a look at the protocol: 

 

http://www.computer-engineering.org/ps2protocol/
0 Kudos
Altera_Forum
Honored Contributor II
428 Views

PS/2 is quite good documented on the web, but you can also use already written code like from altera the UniversityProgram IPCores to get that working. 

 

Some examples are also included in the Example Designs for the DE2.
0 Kudos
Altera_Forum
Honored Contributor II
428 Views
0 Kudos
Reply