home *** CD-ROM | disk | FTP | other *** search
/ The Hacker's Encyclopedia 1998 / hackers_encyclopedia.iso / zines / a_m / btr_02_3.doc < prev    next >
Encoding:
Text File  |  2003-06-11  |  11.7 KB  |  279 lines

  1. ┌────────────────────────────────────────────────────────────────────────────┐
  2.                 ┌┬─┐  ┌┬──┐ ┌┬─┐ ┐ ┌┬──┐ ┌┬──┐ ┌─┬┬─┐ ┌┐  ┐
  3.                 ├┼─┴┐ ├┼─   ├┤ │ │ ├┼─   ├┼──┤   ├┤   ├┼──┤
  4.                 └┴──┘ └┴──┘ └┘ └─┘ └┴──┘ └┘  ┘   └┘   └┘  ┘
  5.                            ┌─┬┬─┐ ┌┐  ┐ ┌┬──┐
  6.                              ├┤   ├┼──┤ ├┼─
  7.                              └┘   └┘  ┘ └┴──┘
  8.                  ┌┬──┐ ┌┬──┐ ┌┬─┬─┐ ┌┬──┐ ┌┐ ┌┬─┐ ┐ ┌┬──┐
  9.                  ├┼─┬┘ ├┼─   ├┤ │ │ ├┼──┤ ├┤ ├┤ │ │ └┴─┬┐
  10.                  └┘ └  └┴──┘ └┘ ┘ ┘ └┘  ┘ └┘ └┘ └─┘ └──┴┘
  11.                                  Magazine
  12.                        This phile dated 03/14/1994
  13.  
  14.                             Volume 2, Issue 3
  15.  
  16.                   You can always find BTR on PsychoTron BBS
  17. └────────────────────────────────────────────────────────────────────────────┘
  18.                          
  19. This Beneath The Remains Issue Is On making a red box.  Although I edit 
  20. this  file,  I think that some recongition goes to the original author.
  21. The only reason this is in here, is because it is like the first file on                         
  22. making a red box that actually works.  Hats Off To JD "Bob" Dobbs!
  23.  
  24.                          BUILDING A RED BOX
  25.                          by JR "Bob" Dobbs
  26.  
  27.  
  28.    Essentially,the red box is a device used to fool the phone company
  29. into thinking you are depositing coins into a payphone.  Every time you
  30. drop a coin into a payphone, the phone signals the type of coin inserted
  31. with one or more bursts of a combination of 1700hz and 2200hz.  The tone
  32. bursts are coded as follows:
  33. Nickel:One 60 millisecond pulse
  34. Dime  :Two 60 millisecond pulses separated by 60 milliseconds
  35. Quarter:Five 35 millisecond pulses separated by 35 milliseconds
  36.  
  37.                          HOW TO USE IT
  38.                          -------------
  39.  
  40.    Operation is simple.  Simply dial a long distance number (some areas
  41. require you to stick in a genuine nickel first), wait for the ACTS
  42. computer to demand your cash, and press the "deposit" button on the red
  43. box for each coin you want to simulate.  The coin signals are coupled
  44. from the red box into the phone with a small speaker held to the
  45. mouthpiece.  For local calls, either you must first deposit a genuine
  46. nickel before "simulating" more coins or place your call through the
  47. operator with 0 + 7d.  Use some care when the operator is on the
  48. line--sometimes they catch on to your beeper ploy.
  49.  
  50.  
  51.                          CIRCUIT OPERATION
  52.                          -----------------
  53.  
  54.    Each time the pushbutton is pressed, it triggers half of IC1,
  55. configured as a monostable multivibrator to energize the rest of the
  56. circuit for a length of time determined by the setting of the coin
  57. selector switch.  This in turn starts the other half of IC1, configured
  58. as an astable multivibrator, pulsing on and off at regular intervals at
  59. a rate determined by the 50k pot between pins 12 and 13.  The output of
  60. the astable thus alternately powers of IC2, configured as a square wave
  61. oscillator, providing the required 1700hz and 2200hz to the op amp which
  62. acts as a buffer to drive the speaker.
  63.  
  64.  
  65.                          CONSTRUCTION
  66.                          ------------
  67.  
  68.    Assemble the circuit as you wish.  Component placement is not
  69. critical.  I found the easiest method was to use point-to-point wiring
  70. on a "universal" PC grid board with solder ringed holes.  Use sockets if
  71. you aren't a whiz with a soldering iron.  Be sure to leave easy access
  72. to the potentiometers for alignment.
  73.  
  74.                          ALIGNMENT AND TESTING
  75.                          ---------------------
  76.  
  77.    For alignment, a frequency counter and tiggered sweep oscilloscope
  78. are extremely handy (but not absolutely necessary.)
  79.  
  80.    Install a temporary jumper from +9v supply to pin 14 of IC2 and
  81. temporarily disconnect the 0.01uF capacitors from pins 5 and 9 of IC2.
  82. Power up the circuit.  Measuring the output from pin 5 of IC2 with the
  83. frequency counter, adjust the 20k pot between pins 1 and 6 for an output
  84. of 1700hz.  Now adjust the 20k pot between pins 8 and 13 for an output
  85. of 2200hz from pin 9 of IC2.  Remove the temporary jumper and re-attach
  86. the capacitors to pins 5 and 9.  (Note: if no frequency counter is
  87. available, the outputs can be adjusted by ear one at a time by
  88. zero-beating the output tone with a computer generated tone of known
  89. precision.)
  90.  
  91.    Next, temporarily disconnect the wire between pins 5 and 10 of IC1.
  92. Set coin selector switch in the "N" (nickel) position.  With the
  93. oscilloscope measuring the output from pin 9 of IC1, adjust the 50k pot
  94. between pins 12 and 13 of IC1 for output pulses of 60 millisecond
  95. duration.  Reconnect the wire between pins 5 and 10.  (Note: If no scope
  96. is available, adjust the pulse rate by ear using computer generated
  97. tones for comparison.)
  98.  
  99.    The remaining adjustments are made by ear.
  100.  
  101.    Leave the selector switch in the "N" position.  Adjust the 50k pot
  102. labelled "Dime" for a quick double beep each time the pushbutton is
  103. pressed.
  104.  
  105.    Finally, set the selector to "Quarter".  Adjust the 50k pot labelled
  106. "Quarter" until exactly 5 very quick beeps are heard for each button
  107. press.  Don't worry if the quarter beeps sound shorter and faster than
  108. the nickel and dime ones.  They should be.
  109.  
  110.  
  111.  
  112.                          CONCLUSION
  113.                          ----------
  114.  
  115.    If all went well to this point, your red box should be completely
  116. aligned and functional.  A final test should now be conducted from a
  117. payphone using the DATL (dial access test line) coin test.  Dial
  118. 09591230 and follow the computer instructions using the red box at the
  119. proper prompts.  The computer should correctly identify all coins
  120. "simulated" and flag any anomalies.  With a little discretion, your red
  121. box should bring you many years of use.  Remember, there's no such thing
  122. as spare change.!
  123.  
  124.                           Parts list for Red Box
  125.                          ----------------------
  126.  
  127.  
  128. Semiconductors
  129. --------------
  130.  
  131. (2)556 dual timer
  132. (1)741 Op Amp
  133. (1)1N914 Switching Diode
  134.  
  135.  
  136.  
  137. Resistors
  138. ---------
  139.  
  140. (6)10k           (1)4.7k
  141. (2)100k
  142. (4)50k PC Mount Potentiometer
  143. (2)20k Multi-Turn Potentiometer
  144.  
  145.  
  146.  
  147. Capacitors
  148. ----------
  149.  
  150. (10)0.01uF        (1)1.0uF
  151. (2)10.0uF Electrolytic
  152.  
  153.  
  154.  
  155. Miscellaneous
  156. -------------
  157.  
  158. (2)14 Pin Dip Socket
  159. (1)8 Pin Dip Socket
  160. (1)3-position Rotary Switch
  161. (1)Momentary Push-Button Switch(normally open)
  162. (1)SPST Toggle Switch
  163. (1)Speaker or Telephone Earpiece Circuit Board
  164. (1) Box
  165. (1) 9v Battery Clip
  166. Mounting Hardware
  167.  
  168.  
  169.                          SCHEMATIC DRAWING
  170.                          -----------------
  171.        /
  172.  ┌──S1┘  ──┬─────────┬────────┬────────┬────────────────┬─────────────┐
  173.  +9v      R1        R2        │        │                │             │
  174.            ├───C1────┤        │       R3                │             │
  175.            │         │    ┌───┤        ├────┬─C2─@q     S3      @n    │
  176.            o     ┌───┴────┴───┴───┐    │   R5    │      @d      │     │
  177.        o─┤       │   6    4  14   │   R4    │    │      │       ├──┐  │
  178.        S2  o   ┌─┤5             13├────┤    g    │      ├───┐   │  │  │
  179.            │   │ │                │    │         │      │   │  R9<─┘  │
  180.            g   └─┤10  (IC1556)   8├─┐ R6<─┐      │     R8<──┘   │     │
  181.                  │                │ │  │  │      │      │       │     │
  182.             ┌────┤9             12├─┴──┼──┘      ├──┐   │       │     │
  183.             │    │ 3  11  7  2  1 │   C3         │  │   │       │     │
  184.             │    └─┬──┬───┬──┬──┬─┘    │        R7<─┘   │       │     │
  185.             │      │  │   │  └──┤      g         │      │       │     │
  186.             │     C4 C5   │     ├────────────────┴──────┴───────┘     │
  187.             │      │  │   │    C6                                     │
  188.             │      │  │   │     │                                     │
  189.             │      g  g   g     g                                     │
  190.             │                                                         │
  191.             └──┬─────┬───────┐                                        │
  192.               R11    │      R12   ┌───┐                               │
  193.          ┌──┐  │     │       │    │   v                               │
  194.          v  │  │  ┌──┼──┐    ├────┴──R13──┐                           │
  195.     ┌───R10─┴──┤  │  │  │    │            │                           │
  196.     │        ┌─┴──┴──┴──┴────┴────┐       │                           │
  197.     │        │ 1  4  14 10   13   │       │                           │
  198.     │        │                   8├──┬────┤                           │
  199.     ├──────┬─┤6                   │  │   C12                          │
  200.     │      │ │                  12├──┘    │                           │
  201.     │      └─┤2    IC2 556        │       │                           │
  202.    C7        │                    │       g                           │
  203.     │     ┌──┤3                 11├─────┐                             │
  204.     │     │  │    7   5   9       │     │                             │
  205.     g    C8  └────┬───┬───┬───────┘    C11                            │
  206.           │       │  C9  C10            │                             │
  207.           │       │   │   │             g                             │
  208.           g       │   └─┬─┘                                           │
  209.                   g     │                                             │
  210.                         │            ┌─────────────────┬──────────────┘
  211.                         │            │                 │
  212.                         │           R14                │
  213.                         │            │           │\    │
  214.                         │            │           │  \  │
  215.                         ├────────────┼───────────│3   \│
  216.                         │            │           │    7 \
  217.                        C13          R15          │IC3     \
  218.                         │            │           │741    6/──────┐
  219.                         │            │           │    4 /        │
  220.                         │            │           │    /          │
  221.                         g            g        ┌──┤2 / │          │
  222.                                               │  │/   │          │
  223.                                               │       g          │
  224.                                               └──────────────────┤
  225.                                                                 C14
  226.                                                                  │
  227.                                                               Speaker
  228.                                                                  │
  229.                                                                  g
  230.  
  231.  
  232.  
  233.                       Schematic part variables list.
  234.                       ------------------------------
  235.  
  236. Resistors
  237. ---------
  238. R1 - 10k   R2 - 10k   R3 -4.7k    R4 - 10k   R5 - 10k   R6 - 50k
  239. R7 - 50k   R8 - 50k   R9 - 50k    R10- 20k   R11- 10k   R12- 10k
  240. R13- 20k   R14-100k   R15-100k
  241.  
  242.  
  243. Capacitors
  244. ----------
  245. C1 - 0.01uf   C2 - 1N914 switching Diode   C3 - 1.0uf   C4 - 0.01uf
  246. C5 - 0.01uf   C6 - 10uf   C7 - 0.01uf   C8 - 0.01uf   C9 - 0.01uf
  247. C10 - 0.01uf   C11 - 0.01uf   C12 - 0.01uf   C13 - 0.01uf   C14 - 10uf
  248.  
  249. Switches
  250. --------
  251. S1 - SPST toggle
  252. S2 - Momentary push button N.O. labeled "Deposit"
  253. S3 - 3-position rotary switch
  254.  
  255.  
  256. Miscellaneous
  257. -------------
  258. g - Ground
  259. @q - Label "quarter"
  260. @d - Label "dime"
  261. @n - Label "nickle"
  262.  
  263. If any of you ppl know about digital then here is the formula:
  264.  
  265.  
  266. Charge Time(Output High) - 0.693(R1 + R2)C
  267. Dicharge Time(Output Low) - 0.693(R2)C
  268. Period 0.693(R1 + 2 * R2)C
  269. Frequency 1.44 / ((R1 + 2 * R2)C)
  270.  
  271. Duty Cycle  - Time High = R1 + R2
  272.               Time Low  = R2
  273.  
  274. -+\+-
  275. A BTR production
  276. All rights lost.
  277.  
  278. -rk
  279.