Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/03/06 23:58
Read: times


 
#117698 - Questions
Responding to: ???'s previous message
Mahmood Elnasser said:
I need to control 2 mouse buttons of a PC by a microcontroller board which has a 12v power supply regulated down to 5v.


What do you mean by "control?"

Mahmood Elnasser said:
The PC will be on and running.
My first thought was to use 12Vdc relays with contacts connected directly to mouse buttons and coils connected through transistor drivers to P1.0 and P1.1 say but the problem will be difficult to protect against coil noise if any.


Are you aware of the PS/2 protocol? That's how your PC "listens" to the mouse. It's a published protocol by means of which you can gain access to the PS/2 port.

Mahmood Elnasser said:
My second thought was to use Mosfet transistors connecting drain and source to mouse buttons while gate to port pins. Not sure if this will work but surely it is much simpler.

Do you have other ideas or comments?


I think you'll find that introducing your external MCU's signals via the PS/2 cable will be quite straightforward.

Mahmood Elnasser said:
Please don't ask me why I need to control the mouse buttons through microcontroller because I'm not telling!
Mahmood


I wouldn't think of it!

RE



List of 31 messages in thread
TopicAuthorDate
Port pins to control mouse buttons            01/01/70 00:00      
   also mouse button press detection            01/01/70 00:00      
   Questions            01/01/70 00:00      
      I agree with Richard            01/01/70 00:00      
         Not making a board from scratch            01/01/70 00:00      
            optoisolated FET            01/01/70 00:00      
               Optocoupler            01/01/70 00:00      
      Answers            01/01/70 00:00      
         How can its native protocol interfere?            01/01/70 00:00      
            This is nuts            01/01/70 00:00      
         Wedge it.            01/01/70 00:00      
            Makes Sense            01/01/70 00:00      
            In case it isn't clear enough ...            01/01/70 00:00      
               This is nuts II            01/01/70 00:00      
                  That is not how a mouse works.            01/01/70 00:00      
                  Your approach is too costly and awkward            01/01/70 00:00      
                     It's one off thing            01/01/70 00:00      
                        Now, I'd be the last one ...            01/01/70 00:00      
                           Errr...            01/01/70 00:00      
                              True enough, but ...            01/01/70 00:00      
                                 it will be our secret (shshshshsh)            01/01/70 00:00      
                                    Real Life?            01/01/70 00:00      
                                       I'm a big kid            01/01/70 00:00      
                                          Keeps us young I guess            01/01/70 00:00      
                                             Have you considered ...            01/01/70 00:00      
                                                It all depends            01/01/70 00:00      
                                                   It's not about making ME happy.            01/01/70 00:00      
                                                      Too busy winning games            01/01/70 00:00      
   USB?            01/01/70 00:00      
      usb IO port            01/01/70 00:00      
      usb IO port            01/01/70 00:00      

Back to Subject List