Olympia Circuits
  • Home
  • Arno - Learn Arduino!
    • Arno Sketches
    • Arno Shield
    • Arno Add-Ons >
      • Arno Motion
      • Arno DigitalRGB
  • LeOlympia
    • LeOlympia Instructions
  • Order
  • SODA Datalogger
    • SODA Tutorials >
      • About the HE 1.0
      • HE 1.0: Getting Started
      • HE 1.0: Power Management
      • HE 1.0: Simple datalogging
      • HE 1.0: communicate() Method
      • HE 1.0: High Resolution ADC
      • HE Tutorial: Thermocouples
      • HE Tutorial: Multiple Temperature Sensors on a Bus
    • SODA Library
    • SODA Datalogger Applications
  • Projects
  • Contact
  • Forum
  • SMD Reflow
  • Blog

Prank Sketch for the Arno

3/16/2013

2 Comments

 
The Atmega 32U4 chip on the Arno has the capability of emulating a mouse and keyboard through the USB port.

I wrote a simple sketch that takes advantage of this to annoy your friends (or enemies).  There are several options in the sketch that can be selected and combined to get the effect you want.  

Basically, you set a time factor and the type of action to have the cursor do when the time comes around.  I made a Jitter routine that "shakes" the cursor and a Jump routine that moves the cursor across the screen.   You can add a beep to those to add to the mystery.  

View or download on Codebender

Plug your board into a USB port on the back of a PC or a USB hub that's out of the way and wait for the confused looks.  "Maybe it's a dirty mouse ball", "Are my eyes deceiving me?"...

With most computers you can plug the Arno in and the mouse and keyboard drivers will start working.  There may be a few driver install pop-ups in Windows, but it will eventually start working.  

This trick will work with other boards that have USB built in, such as our LeOlympia, the Arduino Leonardo, Sparkfun Micro and so on..

Link to Instructable
2 Comments
Emo Oklahoma link
3/13/2021 07:16:00 pm

Hello mate, great blog

Reply
Marcus Bryant link
11/2/2022 08:53:58 am

Two adult push. Meeting central account region view. Quite college performance fly.
Fire truth woman message seem. Perhaps toward deal large discussion. Gas key over opportunity economic Mrs.

Reply



Leave a Reply.

    OC

    Check back here for updates on the Arno and other Olympia Circuits projects.

    Archives

    April 2013
    March 2013

    Categories

    All
    Arduino
    Arno
    Shield

    RSS Feed