• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Need circuit help? Post them in the comments! I've answered over 50,000!

Blog | Categories | About | Contact | Calculators-online
You are here: Home / Audio and Amplifier Projects / Make this Simple Music Box Circuit

Make this Simple Music Box Circuit

Last Updated on January 3, 2024 by Swagatam 11 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.

Table of Contents
  • Circuit Operation
  • Circuit Diagram

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

musicboxcircuit 1

 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.

You'll also like:

  • 1.  Loudspeaker Thump Sound Eliminator Circuit
  • 2.  Simple 50 Watt Power Amplifier Circuit
  • 3.  Hi-Fi 100 Watt Amplifier Circuit Using 2N3055 Transistors – Mini Crescendo
  • 4.  Notch Filter Circuits with Design Details
  • 5.  Audio Amplifier Circuit using IC L165
  • 6.  Prevent Amplifier Fuse from Blowing During Power Switch ON

About Swagatam

I am an electronics engineer with over 15 years of hands-on experience. I am passionate about inventing, designing electronic circuits and PCBs, and helping hobbyists bring their projects to life. That is why I founded homemade-circuits.com, a website where I share innovative circuit ideas and tutorials. Have a circuit related question? Leave a comment.... I guarantee a reply!

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

Reader Interactions

Comments

  1. Jon Golubiewski says

    January 18, 2023 at 4:36 pm

    And, of course, I just found your discussion of Pin 12 & how to cascade chips for more outputs????:
    https://www.homemade-circuits.com/how-to-understand-ic-4017-pin-outs/

    Cheers!
    ~ Jon G

    Reply
    • Swagatam says

      January 18, 2023 at 5:18 pm

      Thank you! Yes that post explains a few cascading methods for 4017. I have another post which also explains how to cascade 4017 for generating 18 LED chaser circuit:

      Simple LED Chaser Circuits – Knight Rider, Scanner, Reverse-Forward, Cascaded

      Reply
  2. Jon Golubiewski says

    January 18, 2023 at 4:18 pm

    Hi Swagatam!

    What a great website! Thank you for your website and all of your FUN (and practical) circuits. They remind me of the Forest Mims books I poured through as a child. The 4017 was my favorite chip. I built many circuits with this chip, but I’ve never seen such an array of CLEVER circuits using the 4017! You have a wonderful artistic & intuitive talent!

    I read above where you said that this application is linited to 9 notes. I wondered why you didn’t mention the cascading feature of pin 12 where the outputs coukd ve expanded using additional 4017 chips… Just my humble amateur hobbyist $0.03. ????

    Also, it might behoove you to add a warning about CMOS & static & perhaps some quick suggestions about handling the chips & grounding. I always use sockets to.make replacement (or scavenging a chip from a disused or abandoned project) easy to do in case I zap a chip!

    Thanks again for all of the great circuits… And your thorough explanations which are interesting and highly educational!

    Cheers & all my best for a Happy & Healthy 2023!
    ~ Jon G.

    Reply
    • Swagatam says

      January 18, 2023 at 5:13 pm

      Thank you so much Jon,
      I am so glad you liked this website.
      IC 4017 is also one of my favorite ICs because it is so versatile and allows us to build so many different projects.
      Yes, you can cascade as many 4017 as you want to upgrade any circuit to any desired levels.
      I believe the CMOS ICs are not so vulnerable nowadays. Whatever circuits I have built so far using these ICs I have never used socket’s for them, and they always worked fine.
      That said, using sockets for any IC is always a good practice.
      Many thanks to you for visiting this site, please keep up the good work.
      Cheers!

      Reply
  3. Norman Kelley says

    August 10, 2020 at 10:51 pm

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

    Reply
    • Swagatam says

      August 11, 2020 at 10:40 am

      You are welcome Norman

      Reply
  4. Norman Kelley says

    August 10, 2020 at 10:10 am

    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

      August 10, 2020 at 11:14 am

      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
  5. Jose Ruiz says

    July 14, 2020 at 9:48 pm

    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
  6. Rhys says

    November 22, 2019 at 3:16 am

    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

      November 22, 2019 at 10:59 am

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

      comment image" alt="" />

      Reply

Need Help? Please Leave a Comment! We value your input—Kindly keep it relevant to the above topic! Cancel reply

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

Primary Sidebar

Subscribe to New Circuit Ideas

Categories

  • Arduino Projects (87)
  • Audio and Amplifier Projects (132)
  • Automation Projects (17)
  • Automobile Electronics (101)
  • Battery Charger Circuits (83)
  • Datasheets and Components (104)
  • Electronics Theory (143)
  • Free Energy (37)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (19)
  • Health related Projects (25)
  • Home Electrical Circuits (12)
  • Indicator Circuits (14)
  • Inverter Circuits (87)
  • Lamps and Lights (142)
  • Meters and Testers (69)
  • Mini Projects (46)
  • Motor Controller (64)
  • Oscillator Circuits (27)
  • Pets and Pests (15)
  • Power Supply Circuits (108)
  • Remote Control Circuits (50)
  • Security and Alarm (64)
  • Sensors and Detectors (101)
  • Solar Controller Circuits (59)
  • Temperature Controllers (42)
  • Timer and Delay Relay (49)
  • Transmitter Circuits (29)
  • Voltage Control and Protection (37)
  • Water Controller (36)

Calculators

  • 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
  • Transistor Astable Calculator
  • Transistor base Resistor Calculator
  • Voltage Divider Calculator
  • Wire Current Calculator
  • Zener Diode Calculator
  • Filter Capacitor Calculator
  • Buck Converter Calculator
  • Boost Converter Calculator
  • Solar Panel, Inverter, Battery Calculator
  • Wire Current Calculator
  • SMPS Transformer Calculator
  • IC SG3525, SG3524 Calculator
  • Inverter LC Filter Calculator

People Also Search

555 Circuits | 741 Circuits | LM324 Circuits | LM338 Circuits | 4017 Circuits | Ultrasonic Projects | SMPS Projects | Christmas Projects | MOSFETs | Radio Circuits | Laser Circuits | PIR Projects |

Recent Comments

  • Swagatam on SG3525 Full Bridge Inverter Circuit
  • Swagatam on Timer Based Cell Phone Charger Circuit
  • Swurvz on SG3525 Full Bridge Inverter Circuit
  • Nitesh Agrawal on Timer Based Cell Phone Charger Circuit
  • Swagatam on Real MPPT Solar Charger Circuit Using Arduino, LCD, and Manual/Auto Switch

Company

  • Privacy Policy
  • Cookie Policy
  • About Me
  • Contact
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Quora
  • Stack Exchange
  • Linkedin
  • © 2025 · Swagatam Innovations