Giter Site home page Giter Site logo

glaukon-ariston / usbmouse Goto Github PK

View Code? Open in Web Editor NEW

This project forked from meirm/usbmouse

4.0 0.0 0.0 4.03 MB

Library to set any arduino as a USB mouse

License: GNU General Public License v3.0

C++ 2.66% C 37.88% Assembly 41.94% PHP 10.78% HTML 6.73%

usbmouse's Introduction

UsbMouse

Library to set any arduino as a USB mouse.

Move mouse pointer by calling method: UsbMouse.move(x,y,z) where z indicates the wheel.

Set buttons (left,right,middle) by calling method: UsbMouse.set_buttons(l,r,m).

Install

Copy directory under your arduino libraries directory.

Usage

In arduino, go to examples -> UsbMouse -> UsbMouseDemo1

Hardware

  • two resistors of 2.2KOhm
  • one resistor of 68 Ohm
  • one zener diode: 3.6V, 0.5W Zener Diodes (1N5227) or 0.25W

Pinouts

Connect D- to Pin 4 through 68 Ohm resistor.

Connect D- to Pin 5 through 2.2KOhm resistor.

Connect D+ to Pin 2 through 68 Ohm resistor.

View virtual-usb-keyboard-schematic.jpg

usbmouse's People

Contributors

glaukon-ariston avatar meirm avatar

Stargazers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.