Silicon ChipBuild A Musical Doorbell - November 1997 SILICON CHIP
  1. Outer Front Cover
  2. Contents
  3. Publisher's Letter: EMC regulations a disadvantage for Australia
  4. Mailbag
  5. Feature: Understanding Electric Lighting; Pt.1 by Julian Edgar
  6. Feature: Microsoft's Power Toys: Tweak your PC's interface by Greg Swain
  7. Feature: Replacing Foam Speaker Surrounds by Bill Hendry
  8. Project: Heavy Duty 10A 240VAC Motor Speed Controller by John Clarke
  9. Serviceman's Log: From soap to Teletext by The TV Serviceman
  10. Book Store
  11. Project: Easy-To-Use Cable & Wiring Tester by Leon Williams
  12. Order Form
  13. Project: A Regulated Supply For Darkroom Lamps by Rick Walters
  14. Project: Build A Musical Doorbell by Bob Flynn
  15. Feature: Radio Control by Bob Young
  16. Feature: Making Old Ships Go Faster by Silicon Chip
  17. Vintage Radio: The 4-valve Airzone superhet by John Hill
  18. Feature: Computer Bits by Jason Cole
  19. Notes & Errata: Flexible Interface Card July 97; Stepper Motor Controller Aug 97; PC Card For Two Stepper Motors Sept 97
  20. Back Issues
  21. Subscriptions
  22. Market Centre
  23. Advertising Index
  24. Outer Back Cover

This is only a preview of the November 1997 issue of Silicon Chip.

You can view 35 of the 96 pages in the full issue, including the advertisments.

For full access, purchase the issue for $10.00 or subscribe for access to the latest issues.

Articles in this series:
  • Understanding Electric Lighting; Pt.1 (November 1997)
  • Understanding Electric Lighting; Pt.1 (November 1997)
  • Understanding Electric Lighting; Pt.2 (December 1997)
  • Understanding Electric Lighting; Pt.2 (December 1997)
  • Understanding Electric Lighting; Pt.3 (January 1998)
  • Understanding Electric Lighting; Pt.3 (January 1998)
  • Understanding Electric Lighting; Pt.4 (February 1998)
  • Understanding Electric Lighting; Pt.4 (February 1998)
  • Understanding Electric Lighting; Pt.5 (March 1998)
  • Understanding Electric Lighting; Pt.5 (March 1998)
  • Understanding Electric Lighting; Pt.6 (April 1998)
  • Understanding Electric Lighting; Pt.6 (April 1998)
  • Understanding Electric Lighting; Pt.7 (June 1998)
  • Understanding Electric Lighting; Pt.7 (June 1998)
  • Understanding Electric Lighting; Pt.8 (July 1998)
  • Understanding Electric Lighting; Pt.8 (July 1998)
  • Electric Lighting; Pt.9 (November 1998)
  • Electric Lighting; Pt.9 (November 1998)
  • Electric Lighting; Pt.10 (January 1999)
  • Electric Lighting; Pt.10 (January 1999)
  • Electric Lighting; Pt.11 (February 1999)
  • Electric Lighting; Pt.11 (February 1999)
  • Electric Lighting; Pt.12 (March 1999)
  • Electric Lighting; Pt.12 (March 1999)
  • Electric Lighting; Pt.13 (April 1999)
  • Electric Lighting; Pt.13 (April 1999)
  • Electric Lighting, Pt.14 (August 1999)
  • Electric Lighting, Pt.14 (August 1999)
  • Electric Lighting; Pt.15 (November 1999)
  • Electric Lighting; Pt.15 (November 1999)
  • Electric Lighting; Pt.16 (December 1999)
  • Electric Lighting; Pt.16 (December 1999)
Items relevant to "Heavy Duty 10A 240VAC Motor Speed Controller":
  • Heavy-Duty 10A 240VAC Motor Speed Controller PCB [10311971] (AUD $7.50)
  • 10A 240VAC Motor Speed Controller PCB pattern (PDF download) [10311971] (Free)
Items relevant to "Easy-To-Use Cable & Wiring Tester":
  • Cable & Wiring Tester PCB pattern (PDF download) [04411971] (Free)
Items relevant to "A Regulated Supply For Darkroom Lamps":
  • Halogen Lamp Regulated Supply PCB pattern (PDF download) [10107971] (Free)
  • Halogen Lamp Regulated Supply panel artwork (PDF download) (Free)
Items relevant to "Build A Musical Doorbell":
  • Musical Doorbell Chime PCB pattern (PDF download) [11211971] (Free)
Articles in this series:
  • Radio Control (November 1996)
  • Radio Control (November 1996)
  • Radio Control (February 1997)
  • Radio Control (February 1997)
  • Radio Control (March 1997)
  • Radio Control (March 1997)
  • Radio Control (May 1997)
  • Radio Control (May 1997)
  • Radio Control (June 1997)
  • Radio Control (June 1997)
  • Radio Control (July 1997)
  • Radio Control (July 1997)
  • Radio Control (November 1997)
  • Radio Control (November 1997)
  • Radio Control (December 1997)
  • Radio Control (December 1997)
  • Autopilots For Radio-Controlled Model Aircraft (April 1999)
  • Autopilots For Radio-Controlled Model Aircraft (April 1999)
  • Model Plane Flies The Atlantic (May 1999)
  • Model Plane Flies The Atlantic (May 1999)
  • Tiny, Tiny Spy Planes (July 1999)
  • Tiny, Tiny Spy Planes (July 1999)
  • 2.4GHz DSS Radio Control Systems (February 2009)
  • 2.4GHz DSS Radio Control Systems (February 2009)
  • Unmanned Aerial Vehicles: An Australian Perspective (June 2010)
  • Unmanned Aerial Vehicles: An Australian Perspective (June 2010)
  • RPAs: Designing, Building & Using Them For Business (August 2012)
  • Flying The Parrot AR Drone 2 Quadcopter (August 2012)
  • Multi-Rotor Helicopters (August 2012)
  • Multi-Rotor Helicopters (August 2012)
  • Flying The Parrot AR Drone 2 Quadcopter (August 2012)
  • RPAs: Designing, Building & Using Them For Business (August 2012)
  • Electric Remotely Piloted Aircraft . . . With Wings (October 2012)
  • Electric Remotely Piloted Aircraft . . . With Wings (October 2012)
Articles in this series:
  • Computer Bits (July 1989)
  • Computer Bits (July 1989)
  • Computer Bits (August 1989)
  • Computer Bits (August 1989)
  • Computer Bits (September 1989)
  • Computer Bits (September 1989)
  • Computer Bits (October 1989)
  • Computer Bits (October 1989)
  • Computer Bits (November 1989)
  • Computer Bits (November 1989)
  • Computer Bits (January 1990)
  • Computer Bits (January 1990)
  • Computer Bits (April 1990)
  • Computer Bits (April 1990)
  • Computer Bits (October 1990)
  • Computer Bits (October 1990)
  • Computer Bits (November 1990)
  • Computer Bits (November 1990)
  • Computer Bits (December 1990)
  • Computer Bits (December 1990)
  • Computer Bits (January 1991)
  • Computer Bits (January 1991)
  • Computer Bits (February 1991)
  • Computer Bits (February 1991)
  • Computer Bits (March 1991)
  • Computer Bits (March 1991)
  • Computer Bits (April 1991)
  • Computer Bits (April 1991)
  • Computer Bits (May 1991)
  • Computer Bits (May 1991)
  • Computer Bits (June 1991)
  • Computer Bits (June 1991)
  • Computer Bits (July 1991)
  • Computer Bits (July 1991)
  • Computer Bits (August 1991)
  • Computer Bits (August 1991)
  • Computer Bits (September 1991)
  • Computer Bits (September 1991)
  • Computer Bits (October 1991)
  • Computer Bits (October 1991)
  • Computer Bits (November 1991)
  • Computer Bits (November 1991)
  • Computer Bits (December 1991)
  • Computer Bits (December 1991)
  • Computer Bits (January 1992)
  • Computer Bits (January 1992)
  • Computer Bits (February 1992)
  • Computer Bits (February 1992)
  • Computer Bits (March 1992)
  • Computer Bits (March 1992)
  • Computer Bits (May 1992)
  • Computer Bits (May 1992)
  • Computer Bits (June 1992)
  • Computer Bits (June 1992)
  • Computer Bits (July 1992)
  • Computer Bits (July 1992)
  • Computer Bits (September 1992)
  • Computer Bits (September 1992)
  • Computer Bits (October 1992)
  • Computer Bits (October 1992)
  • Computer Bits (November 1992)
  • Computer Bits (November 1992)
  • Computer Bits (December 1992)
  • Computer Bits (December 1992)
  • Computer Bits (February 1993)
  • Computer Bits (February 1993)
  • Computer Bits (April 1993)
  • Computer Bits (April 1993)
  • Computer Bits (May 1993)
  • Computer Bits (May 1993)
  • Computer Bits (June 1993)
  • Computer Bits (June 1993)
  • Computer Bits (October 1993)
  • Computer Bits (October 1993)
  • Computer Bits (March 1994)
  • Computer Bits (March 1994)
  • Computer Bits (May 1994)
  • Computer Bits (May 1994)
  • Computer Bits (June 1994)
  • Computer Bits (June 1994)
  • Computer Bits (July 1994)
  • Computer Bits (July 1994)
  • Computer Bits (October 1994)
  • Computer Bits (October 1994)
  • Computer Bits (November 1994)
  • Computer Bits (November 1994)
  • Computer Bits (December 1994)
  • Computer Bits (December 1994)
  • Computer Bits (January 1995)
  • Computer Bits (January 1995)
  • Computer Bits (February 1995)
  • Computer Bits (February 1995)
  • Computer Bits (March 1995)
  • Computer Bits (March 1995)
  • Computer Bits (April 1995)
  • Computer Bits (April 1995)
  • CMOS Memory Settings - What To Do When The Battery Goes Flat (May 1995)
  • CMOS Memory Settings - What To Do When The Battery Goes Flat (May 1995)
  • Computer Bits (July 1995)
  • Computer Bits (July 1995)
  • Computer Bits (September 1995)
  • Computer Bits (September 1995)
  • Computer Bits: Connecting To The Internet With WIndows 95 (October 1995)
  • Computer Bits: Connecting To The Internet With WIndows 95 (October 1995)
  • Computer Bits (December 1995)
  • Computer Bits (December 1995)
  • Computer Bits (January 1996)
  • Computer Bits (January 1996)
  • Computer Bits (February 1996)
  • Computer Bits (February 1996)
  • Computer Bits (March 1996)
  • Computer Bits (March 1996)
  • Computer Bits (May 1996)
  • Computer Bits (May 1996)
  • Computer Bits (June 1996)
  • Computer Bits (June 1996)
  • Computer Bits (July 1996)
  • Computer Bits (July 1996)
  • Computer Bits (August 1996)
  • Computer Bits (August 1996)
  • Computer Bits (January 1997)
  • Computer Bits (January 1997)
  • Computer Bits (April 1997)
  • Computer Bits (April 1997)
  • Windows 95: The Hardware That's Required (May 1997)
  • Windows 95: The Hardware That's Required (May 1997)
  • Turning Up Your Hard Disc Drive (June 1997)
  • Turning Up Your Hard Disc Drive (June 1997)
  • Computer Bits (July 1997)
  • Computer Bits (July 1997)
  • Computer Bits: The Ins & Outs Of Sound Cards (August 1997)
  • Computer Bits: The Ins & Outs Of Sound Cards (August 1997)
  • Computer Bits (September 1997)
  • Computer Bits (September 1997)
  • Computer Bits (October 1997)
  • Computer Bits (October 1997)
  • Computer Bits (November 1997)
  • Computer Bits (November 1997)
  • Computer Bits (April 1998)
  • Computer Bits (April 1998)
  • Computer Bits (June 1998)
  • Computer Bits (June 1998)
  • Computer Bits (July 1998)
  • Computer Bits (July 1998)
  • Computer Bits (November 1998)
  • Computer Bits (November 1998)
  • Computer Bits (December 1998)
  • Computer Bits (December 1998)
  • Control Your World Using Linux (July 2011)
  • Control Your World Using Linux (July 2011)

Purchase a printed copy of this issue for $10.00.

Does your doorbell just go ding dong or worse, don’t you have any doorbell at all? Either way, you can improve your whole lifestyle by building and installing this musical doorbell. It plays a sequence of nine notes each time someone presses the button. Design by BOB FLYNN Musical come clean. Maybe A building this musical doorbell might not make a huge difference to LRIGHT, WE’LL your lifestyle but then again maybe it might. One of the visitors to your home might be so impressed by your unique doorbell that they might offer you a partnership in a huge new electronics venture. You never know . . . The new doorbell uses just three cheap ICs and three tran­sistors in the circuit. There are two good ol’ reliable 62  Silicon Chip oorbell D CMOS 555 timers, a 4017 counter and not much else. We are presenting this project just as a PC board, knowing that you will want to make your own arrangements as far as the case and loudspeaker are concerned. The unit will play virtually any tune of up to nine notes although there is a proviso which we will come to later. Let’s have a look at the circuit of Fig.1. There are two separate 555 oscillators and a 4017 decade counter. What happens is that the first 555 oscillator (IC1) produces the clock pulses for counter IC2. IC2 then counts from 0 to 8 and then stops on the tenth clock pulse. The whole circuit waits until the next time the door bell button is pressed but we’re getting a little ahead of ourselves. Each output of the 4017 counter is used to produce a sepa­rate frequency from the second 555 timer, IC3. This then drives an amplifier stage consist- Fig.1: IC2 is the heart of the circuit and its nine outputs cause IC3 to produce nine different notes as it counts through. ing of two transistors, Q2 & Q3, which drive the loudspeaker. How it works Now let’s have a more detailed look at how the circuit works. IC1 is a conventional 555 timer circuit with its output frequency variable between about 1.3Hz and 5.5Hz, depending on the setting of the 2MΩ trimpot VR1. The only unusual feature of the circuit of IC1 is the con­nection to pin 4. In normal free-running 555 oscillator circuits, pin 4 is tied to the positive supply rail but in this case we use pin 4 to start and stop oscillation. The output pulses from pin 3 of IC1 are fed to the clock input of IC2 and each of its outputs from Q0-Q8 goes high in turn for the duration of a clock pulse. Each 4017 output is fed via a diode and two resistors (R1 & R2) to pin 7 of IC3. Depend­ing on the values of R1 & R2 connected to each 4017 output, IC3 can then generate a different note in a nine-note sequence. On the tenth clock pulse, the Q9 output of IC2 goes high and this pulls the clock enable pin 13 high and also pulls the base of transistor Q1 high. The combination of these two events effectively stops IC2 on the tenth count and ensures that when pushbutton S1 is pressed, the pin 3 output of IC1 immediately goes high to give a full first count in the nine count sequence from IC2. IC3 generates the nine notes. The frequency of each note is determined by the sum of the resistance of resistors R1 & R2, the 51kΩ resistor between pins 6 & 7 and the .01µF capacitor at pins 2 & 6. Table 1 shows the values to provide one octave of notes including sharps and flats. The overall pitch of all the notes can be shifted up or down by the tune control, trimpot VR2. This takes advantage of the fact that you can shift the upper and lower thresholds of the 555 timer with an adjustable voltage divider connected to pin 5. The pin 3 output of IC3 drives a rud­ i­ mentary amplifier stage consisting of complementary emitter followers Q2 & Q3. These in turn drive the 8Ω loudspeaker via a 220µF coupling capacitor and a 27Ω current limiting resistor. Since the output waveform is essentially a pulse train, the complementary amplifier stage can operate in class-B and do without such niceties as quiescent current. By the way, the output from pin 3 of IC3 has a varying duty cycle, depending on the frequency, since the resistor between pins 6 & 7 is constant at 51kΩ while resistors R1 & R2 are varied. Construction As noted above, we are presenting this project just as a PC board, knowing that you will want to make your own arrangements as far as the case and loudspeaker are concerned. The PC board measures 129 x 79mm and is coded 11211971. Fig.2 shows the com­ponent overlay. After checking the PC board for any etching defects or undrilled holes, November 1997  63 Fig.2: the component overlay for the PC board. You will need to select the values for R1 & R2 from Table 1. Fig.3: here is the full-size etching pattern for the PC board. install the PC stakes for the supply, loudspeak­er and pushbutton connections. This done, install the wire links, the diode and the resistors. It is a good idea to check each resistor value with your multimeter before you install it. Ah, now what values should you use for R1 & R2? Table 1 shows the values for various notes so if you have a favourite few bars of music you can determine the notes you want and pick the resistors accordingly. But there is 64  Silicon Chip one little drawback to be noted. Since the 4017 counts from one to nine in a continuous sequence, the notes are produced in the same sequence, with no gaps in between. This does not present a problem if all adjacent notes in the sequence are different but if you have two adjacent notes which are the same you do have a problem. Instead of having two separate notes you will just get one long note. The only way of overcoming this, short of adding extra gates to provide a short break between each note, is to leave a one-note gap between two identical notes. This means that your tune will be shortened to eight notes and you will then need to omit the diode and resistors R1 & R2 for that note position. Going back the circuit of Fig.1 for a moment, that is why the diode and the resistors associated with the Q4 Parts List 1 PC board, code 11211971, 129 x 79mm 6 PC stakes 1 momentary contact pushbutton switch (S1) 1 6V or 9V battery or DC plugpack (see text) 1 8Ω loudspeaker 1 2MΩ trimpot (VR1) 1 2kΩ trimpot (VR2) This musical doorbell can be arranged to play a nine-note sequence each time you press the pushbutton. Make sure that all parts are correctly oriented. output of IC2 have the note “Omit”. The circuit actually shows the note se­quence for “Westminster Chimes” and since the fourth and fifth notes are both C, we’ve had to omit the resistors and diode for the Q4 output of IC2. So this long-winded explanation makes the point: if you have a tune with two adjacent notes the same, you will need to leave gap (in time) otherwise you will get one note the same. The obvious alternative to this Table 1 Semiconductors 2 7555 timers (IC1, IC3) 1 4017 decade counter (IC2) 1 BC547 NPN transistor (Q1) 1 BC337 NPN transistor (Q2) 1 BC327 PNP transistor (Q3) 9 1N914, 1N4148 small signal diodes (D1-D9) 1 1N4004 silicon diode (D10) dilemma is to choose a tune which does not present this problem. Having inserted all the resistors, you can now finish the board assembly, taking care to ensure that all the semiconductors and electrolytic capacitors are inserted the correct way around. Capacitors 1 220µF 16VW PC electrolytic 2 100µF 16VW PC electrolytic 1 0.33µF MKT polyester 1 0.15µF MKT polyester 3 0.1µF MKT polyester 2 .01µF MKT polyester 1 .0033 MKT polyester Testing Resistors (0.25W, 1%) 1 560kΩ 1 15kΩ 2 100kΩ 2 10kΩ 1 56kΩ 1 27Ω 1 22kΩ Values for R1 & R2 depend on desired notes – see Table 1. To test the finished board, you will need a 9V battery or DC power supply, an 8Ω loudspeaker and a pushbutton. If all your work is correct, the board should run through its sequence of notes as soon as the supply is connected and then fall silent. After that, nothing should happen until you push the button and then the note sequence should be produced. If the circuit does not work as it should you can check the operation of each stage with your multimeter. For example, the output at pin 3 of IC1 should pulse up and down at around two or three times per second if trimpot VR1 is at its mid setting. You can check this with your multimeter set to read DC. Similarly, you can check that each of the outputs of IC2 go high in turn and so on. Options You have several options for powering the circuit. First, you can use a 9V battery but ideally this should employ six C or D cells to obtain long battery life. If you use a 9V (Eveready 216 size), the battery will not last long. You could also use a 6V lantern battery but then the 27Ω resistor in series with the loudspeaker should be reduced to 18Ω. Alternatively you could power the circuit with a 6V or 9V DC plugpack, bearing in mind that their operating voltage will typically be around 50% more; ie, 9V and 13V, respectively. Do not use a 12V DC plugpack because the output voltage will be too lightly loaded for this circuit. You would run the risk of blowing the chips as the plugpack voltage is likely to be as high as 17V. Finally, if you do use a DC plugpack instead of a battery, you can save a little money by using ordinary 555s instead of 7555s. Their current drain will be a lot higher but that does not SC matter with a plugpack. November 1997  65