Editing Compass Vibro Anklet Directions

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 104: Line 104:
     compass chip
     compass chip
           |
           |
      Arduino  ---  Shift Register ---  pager motor connector
  Arduino  ---  Shift Register ---  pager motor connector
           |
           |
       battery
       battery
Line 122: Line 122:
6. Connect your computer to the Arduino with a data cable (it is recommended to unplug the battery when you do so).  Make sure you’ve got a data connection.  Try running Hello World or a similar program to make sure you’ve got everything working.
6. Connect your computer to the Arduino with a data cable (it is recommended to unplug the battery when you do so).  Make sure you’ve got a data connection.  Try running Hello World or a similar program to make sure you’ve got everything working.


7. Download the code into the Arduino.  It's on the wiki on the [[Compass Vibro Anklet Code]] page.  You will probably need to modify the Arduino code based on what you connected on the Arduino: if you connect anything differently, change the Arduino code so that it connects to the right place.  This shouldn’t be a very difficult change in the code: just change the constants to reflect where you attached each wire.
7. Download the code into the Arduino.  The code is on the wiki. (link?) You will probably need to modify the Arduino code based on what you connected on the Arduino: if you connect anything differently, change the Arduino code so that it connects to the right place.  This shouldn’t be a very difficult change in the code: just change the constants to reflect where you attached each wire.


8. For testing purposes, you may want to connect the shift register to LEDs and try moving around with the breadboard.  Each LED in turn should light up as you turn around.    Note that the light will go off if you hold it in one place for a while.  This is intentional: when the motors are vibrating against your ankle, they can get very annoying and itchy if they run all the time!
8. For testing purposes, you may want to connect the shift register to LEDs and try moving around with the breadboard.  Each LED in turn should light up as you turn around.    Note that the light will go off if you hold it in one place for a while.  This is intentional: when the motors are vibrating against your ankle, they can get very annoying and itchy if they run all the time!
Please note that all contributions to Noisebridge are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see Noisebridge:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)