TV remote controlled computer mouse (an avr VUSB project)


Posted on Feb 4, 2014

While laying in bed and watching movies on my laptop, I used to think if there is a remote control, it will be easy to pause, play, fwd, rev, adjust volume, play next etc etc without going near to the system. Then I planned to make a remote control. I don`t have a bluetooth mouse. There are many options infront of me. We can do it easily using AVR


TV remote controlled computer mouse (an avr VUSB project)
Click here to download the full size of the above Circuit.

microcontroller because there is a great VUSB project :-). Using vusb library, we can implement a low speed software usb port(slave) on avr microcontroller. In the vusb library, there is an example of hid-mouse implementation in which the author used the usb report descriptor same as that observed on a logitech usb mouse. I then added few more lines of code to it to make it receive and decode RC5 signal from a philips tv remote and to send the corresponding mouse events to the system using vusb library. I believe this is the best method because it doesn`t require any special driver in pc since it is a HID device. Also it works on almost all avr microcontroller(tiny, mega etc) and it doesn`t require any usb to serial converter or any special hardware and it is cheaper. Also it is platform independent. It will work similar to that of a usb mouse in windows, linux & mac. I used obdev`s shared VID/PID pair(0x16c0/0x5dc). The same pair is used in usbasp, so the usbasp driver should be uninstalled(if it is installed earlier) and deleted otherwise it will not work in windows. Hope all avr lovers have heard the famous USBASP AVR ISP programmer and most of them might have used/still using this VUSB based stuff. I then made the circuit design almost similar to that of the usbasp so that any one can try this easily on the same USBASP hardware just by replacing the atmega8 with another atmega8 programmed with the new hex from this...




Leave Comment

characters left:

Related Circuits

  • New Circuits

    .

     


    Popular Circuits

    Radio Wave Alarm
    Phototransistor 555 Timer
    Room thermometer with LEDs
    Fuel-cell battery tester
    Astable flip-flop with starter
    Turntable Rumble Filter
    Contrast Control for LCDs
    Boss DM-2 Delay Guitar Pedal Schematic Diagram
    Cosine wave Oscillator
    Quad Power Supply For Hybrid Amplifier
    The EC10 communications receiver
    Metal detector circuit diagram 2
    Discrete components sound and light control stairs delay switch circuit 8
    A novel control circuit Lantern



    Top