AnnoyATtiny85 Configuring


When this program runs, it first waits some time for configuration to be
entered. This configuration is entered by shorting the activation pin to Vcc.
When assembled using an ATtiny45/85, pin 2, the activation pin, is right beside
the Vcc pin. This makes it easy to short with nearly any conductive metal

Configuration is done in 3 stages:

  1. Activation
  2. Number of days to wait
  3. Ramp-up

1. Activation

When started, the program waits 5 seconds for the pins to be shorted to
“activate” it. If this initial activation isn’t done, it plays two descending
notes, pauses for 3 seconds, and then goes into “super annoying” mode, where it
beeps every 2 seconds. This should make it easy to find, if it’s hidden, which
prevents someone getting payback on you by trying to return the favour.
(Unless, of course, they know about these instructions.)

The simplest configuration it to simply activate it, and then do nothing else.
It’ll beep a few more times, which correspond to the other features listed
below, but after a few seconds of that, it’ll settle down to beeping every 5-8

It’s worth noting that since this kit uses the internal oscillator (not a more
precise, but more complicated to assemble, external crystal) the clock can be
fast or slow by as much as 10%. This means any times listed in these
instructions could be 10% longer or shorter. For example, it could beep after
as little as 4.5 minutes, instead of 5 minutes, or as long as nearly 9 minutes,
instead of 8.

2. Number of days to wait

After being activated, the next thing to configure is how many days it should
wait before starting beeping. After activating, you’ll have about a second to
start shorting the pins to configure the number of days to wait. Each time you
short the pins, it will emit a short beep to give feedback. When you’re done
entering the number of days, after about a second, it will emit a number of
beeps, counting back to you the number of days you just entered. If that’s not
right, disconnect and reconnect the battery, and start over at step 1,

If you want it to start beeping immediately, simply don’t short the pins, and
after a second it will emit one low frequency beep.

3. Ramp-up

The next step configures a ramp-up. Normally, the device will beep every 5-8
minutes. However, you can configure it to beep less often initially, and start
getting more frequent over a period of days, until it reaches the normal 5-8
minutes. Each time you short the pins for this configuration, it adds an
additional 5-8 minute delay between each beep. Shorting the pin once will mean
it will beep every 10-16 minutes. Twice will mean every 15-24 minutes. Every
2 days, it will remove one period, making it beep more frequently, until it
reaches a single 5-8 minute interval.

Again, when you short the pins to configure this, it will emit a short beep to
give feedback. When you’re done entering the number of additional intervals,
it will emit a number of beeps, this time indicating the total number of
intervals. This means if you short the pins once, it will beep back to you
twice, to indicate that it will wait two intervals of 5-8 minutes.