• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Get free circuit help 24/7

  • 1000+ Circuits
  • Privacy Policy
  • About Us
  • Contact
  • Disclaimer
  • Videos – Circuit Test Results
You are here: Home / Audio Projects / Make this Simple Music Box Circuit

Make this Simple Music Box Circuit

Last Updated on February 23, 2020 by Swagatam 7 Comments

This simple circuit can be used to emulate the operation of a music box. The number of notes may be limited to 10 at the most, and therefore is capable of generating a simple melody.

By: Akanksha Rathode

Circuit Operation

The circuit uses two popular integrated circuits: The timer 555 and 4017 decade counter

Operation of the circuit of music box may be learned as follows:

The left 555 is used as clock generator for the 4017 decade counter.

The operating frequency of the clock can be altered and adjusted simply by changing the value resistor R1 or by replacing it with a potentiometer 50K ensuring a 1K series resistor of 1K so that you don't accidentally move the pot to short the supply with pin7 of the IC.

When the left IC 555 clock rate is varied, the speed of the 4017 output sequence is changed proportionately which determines the musical sounds of the box

The above output signal 555 feeds the clock input of CD4017 which delivers 10 active outputs (high voltage) sequentially beginning with 0 and ending exit at junction 9.

As may be seen in the diagram the outputs 3 and 6 of the 4017 outputs are not used. This is purposely done in order to create spaces of silence in the melody from the music box.

Each CD4017 output may be seen feeding a series diode with a resistor which effectively links the corresponding resistor in series with the second resistor R2 555.

The above arrangement in conjunction with the capacitor C2, force the second 555 to oscillate at a specific predetermined frequency.

Whenever a CD4017 output is activated, the right hand side 555 oscillates at a frequency prefixed by the set R (of the outputs of 4017), in conjunction with R2 and C2. Once the entire sequence of the 4017 outputs are implemented, the IC is reset and process is repeated.

To operate the speaker transistor Q1 has to pass the saturation cutting frequency ranges to which the second 555 is configured at.

As can be seen, the project enables us to experience and achieve a sequenced set of notes as per the liking of the user. Experimenting with the values of the resistors in series with the diodes may be a good idea to start with.

You can also experiment and change the spaces and location of the "silences", by randomly leaving or choosing from the other pins of the 4017 outputs.

The music box circuit is powered with 9 volt PP3 battery or from a 9V AC/DC adapter.

Circuit Diagram

 Bill Of Materials for the music box circuit

- IC1 = IC2: 555 timer
- IC3: CD4017 decade counter
- Q1: TIP29 NPN bipolar transistor or the like
- R1 = R2: 33K resistor
- R3 = R5 = R9: 10K resistors
- R4 = R7 = R10: 15K resistors
- R6 = R8: 22K resistors
- R11: 470 ohm resistor
- C1: 10uF/25V
- C2: capacitor of 10nF
- D1 = D2 = D3 = D4 = D5 = D6 = D7 = D8: diode 1N4148 or equivalent
- LS: Miniature speaker 8 ohms.




Previous: Extended Telephone Ring Amplifier/Repeater Circuit
Next: How to Measure Gain (β) of a BJT

About Swagatam

I am an electronic engineer (dipIETE ), hobbyist, inventor, schematic/PCB designer, manufacturer. I am also the founder of the website: https://www.homemade-circuits.com/, where I love sharing my innovative circuit ideas and tutorials.
If you have any circuit related query, you may interact through comments, I'll be most happy to help!

You'll also like:

  • 1.  Simple Automatic Plant Watering Circuit for Monitoring Soil Moisture
  • 2.  LED Timer Indicator Circuit for Board Games
  • 3.  Notch Filter Circuits with Design Details
  • 4.  3D Moon-Sphere LED Driver with Charger and Dimmer Circuit
  • 5.  Simple Ultrasonic Sound Sensor Alarm Circuit using Opamp
  • 6.  How to Make a Barcode Security Lock Circuit

Please Subscribe (Only if you are Genuinely Interested in our Newsletters)


 

Reader Interactions

Comments

    Your Comments are too Valuable! But please see that they are related to the above article, and are not off-topic! Cancel reply

    Your email address will not be published. Required fields are marked *

  1. Search Related Posts for Commenting

  2. Norman Kelley says

    Thanks so much. You are so good at responding quickly.

    Reply
    • Swagatam says

      You are welcome Norman

      Reply
  3. Norman Kelley says

    Hi Swagatam,
    I have a circuit with a cd4060 driving a cd4017. I am using pin 3 on both to achieve a time delay. The output from the cd4017 is driving a transistor that grounds the music chip trigger. I bread boarded it and used a 10K resistor and a 1uF ceramic capacitor inline from the cd4017 pin 3 output to the transistor base. I placed 1M resistors to ground from both sides of the capacitor and it worked. I used an AO3400 mosfet on the PCB(I have no idea why) and the chip played continuously. I surmised the mosfet reacts to voltage and not current, so I plan on changing the mosfet to a s8050 transistor. I bread boarded it again and used a s8050 transistor and it works perfectly. I just wonder if this is a proper design? Is this a workable solution? Is it a terrible design? Is there another better way to make the output from the cd4017 be a short pulse so it does not cause the music chip to loop and continuously play. As always, space is limited. Thanks!

    Reply
    • Swagatam says

      Hi Norman, using a series capacitor at transistor base is probably the only way you can switch OFF a transistor after some delay, there’s no other way to do this, so it cannot be a terrible design.
      You can get the same effect even with a MOSFET by placing a smaller resistor directly across the gate/source of the MOSFET

      Reply
  4. Jose Ruiz says

    The music box (2 x 555 + 4017) of hobbyist Akansha besides its unique design lacks of a missing component in the diagram, that is, if it is not included a diode between common point of R2 and R3 .. R10, and second 555’s pin 3, while discharging C2 does not need it, it is useless to have the contribution from each current I3 ..I10 to the charging of C2 during the scanned t1. If it is fixed, that might be a five-star Jose ring bell idea!

    Reply
  5. Rhys says

    Hey, I am trying to make this circuit work but it only emits a high whining sound and does not seem to cycle through the diodes. I have tried troubleshooting a lot of things but nothing seems to fix it.

    Reply
    • Swagatam says

      Hey, you can try configuring the IC1 with the 4017 in the following manner, and check if that helps

      Reply


  6. COMMENT BOX IS MOVED AT THE TOP


Primary Sidebar

Electronic Projects Categories

  • 3-Phase Power (15)
  • 324 IC Circuits (19)
  • 4017 IC Circuits (51)
  • 4060 IC Circuits (25)
  • 555 IC Circuits (92)
  • 741 IC Circuits (18)
  • Amplifiers (49)
  • Arduino Engineering Projects (82)
  • Audio Projects (84)
  • Battery Chargers (75)
  • Car and Motorcycle (87)
  • Datasheets (45)
  • Decorative Lighting (Diwali, Christmas) (31)
  • DIY LED Projects (81)
  • Electronic Components (97)
  • Electronic Devices and Circuit Theory (35)
  • Electronics Tutorial (99)
  • Fish Aquarium (5)
  • Free Energy (34)
  • Games (2)
  • GSM Projects (9)
  • Health Related (17)
  • Heater Controllers (23)
  • Home Electrical Circuits (98)
  • Incubator Related (6)
  • Industrial Electronics (26)
  • Infrared (IR) (39)
  • Inverter Circuits (94)
  • Laser Projects (10)
  • LM317/LM338 (21)
  • LM3915 IC (24)
  • Meters and Testers (54)
  • Mini Projects (153)
  • Motor Controller (64)
  • MPPT (7)
  • Oscillator Circuits (12)
  • PIR (Passive Infrared) (8)
  • Power Electronics (33)
  • Power Supply Circuits (66)
  • Radio Circuits (9)
  • Remote Control (46)
  • Security and Alarm (56)
  • Sensors and Detectors (115)
  • SG3525 IC (5)
  • Simple Circuits (72)
  • SMPS (30)
  • Solar Controllers (60)
  • Timer and Delay Relay (51)
  • TL494 IC (5)
  • Transformerless Power Supply (8)
  • Transmitter Circuits (38)
  • Ultrasonic Projects (12)
  • Water Level Controller (45)

Follow Homemade Circuits

Facebook
Twitter
YouTube
Instagram
My Facebook-Page
Quora

Feeds

Post RSS
Comment RSS

Circuit Calculators

  • AWG to Millimeter Converter
  • Battery Back up Time Calculator
  • Capacitance Reactance Calculator
  • IC 555 Astable Calculator
  • IC 555 Monostable Calculator
  • Inductance Calculator
  • LC Resonance Calculator
  • LM317, LM338, LM396 Calculator
  • Ohm’s Law Calculator
  • Phase Angle Phase Shift Calculator
  • Power Factor (PF) Calculator
  • Reactance Calculator
  • Small Signal Transistor(BJT) and Diode Quick Datasheet
  • Transistor Astable Calculator
  • Transistor base Resistor Calculator
  • Voltage Divider Calculator
  • Wire Current Calculator
  • Zener Diode Calculator

© 2021 · Swagatam Innovations