Upgrade a toy keyboard’s tone production

hacking-a-toy-keyboard

[Jan] was given this toy keyboard and decided to make it the subject of his next project. In addition to having three octaves of keys it’s got a ton of buttons used to select different modes. He gave it an upgrade by installing his own tone production circuitry seen in the upper right.

His preliminary investigation of the stock components yielded a mystery uC encased in a blob of black epoxy. He wasn’t going to be getting anywhere with that, so he started by figuring out how to use 4051 multiplexers to read all of the keys. Outputs for that were routed to a 20 pin header for easy connection to the synthesizer board he would build in the next part of the project. He based it around an ATmega8, which we know can produce some killer chiptunes¬†audio. Once he had everything working he laid out a circuit board in Kicad to ensure the transplanted circuitry would hold up inside of the toy keyboard. You can hear all of different effects it’s capable of in the clip after the break.

Comments

  1. Franklin Templeton says:

    Nicely done :) I am impressed! Keep up the good work, buran! The pwm and detune are great for this one.

  2. cantido says:

    I’m glad he went to the length of making up a board. Most people would have hot glued a ready made arduino clone in there.

  3. echodelta says:

    I found one of these chinky keyboards in the trash. It ain’t even voltage stable tuning, it needs bent but has high cheese factor as is. I should try a manual generator with no voltage regulation no battery modest cap, a bit like bagpipes. Save your good work for a vintage organ key-frame that will hold up to further experiments, or make noise box out of the old innards.

    • Franklin Templeton says:

      Perhaps a vintage organ is his next project. This one seems to have mainly dealt with key matrices and tone generation. That will prepare them for anything they run into with a full size organ and they will have plenty of space to deal with :) Not having a garage, currently, I can certainly sympathize with keeping things small scale.

    • buran says:

      Hello.
      It is like Franklin says: this project was mainly about keyboard sensing and tone generation. And making custom circuit board at home. I like vintage organ being rebuild (I guess we all know the greatest of great – The Chipophone) but I actually don’t play piano, so my territory ratherr is small boxes with knobs – like Franklin is saying. So I like your idea of reusing old innards, it is still somewhere under table :)

      • Franklin Templeton says:

        My brother from another mother :) Keep up the good work buran. There are so many of these My Music Center oriented clones out there that your current config will transfer to pretty much all of those lil keyboards out there :) Many use the 8voice 8drum 4drumpad config so just having that matrix mess already figured out saves a load of time and trial and error. Thanks again, buran! You may hear from me in the future as I am gonna be trying your guide out.

  4. strider_mt2k says:

    “Once he had everything working he laid out a circuit board in Kicad to ensure the transplanted circuitry would hold up inside of the toy keyboard.”

    How does using a CAD program make a circuit more robust, and what conditions exist inside of a toy keyboard that would require it if so?
    Discuss.

    • Mr Fish Master says:

      The key here is that its not about how you design and make the circuit board but just that one is made that will fit neatly where the original was.

      A toy keyboard such as this can actually receive quite a bashing moving it from one surface to the next, throwing it in a backpack, dropping it, etc… Due to its scale its pretty portable, and these are all hazards. So if they had hot glued in a series of awkward shaped PCB in there, over time they would probably work free.

  5. Rob says:

    Neat idea. My wife and I ban grossly — and unintentionally — out-of-tune tune toy instruments from the house. This policy has sent several keyboards to the thrift store. I might have to look into doing something like this project to the next torture device^B^B^B^B^B^B^B^B^B^B^B^B^B^B keyboard gifted to my daughter by my tone-deaf in-laws.

    I especially love that the PCB appears to have screw holes to mount to the (I assume) existing bosses in the case. That’s a nice touch. Are those full-sized keys?

    • Dosx says:

      A regular pain indeed…the out of tune toy instruments that is.
      I reckon this one might peak a lot of interests once they are not to lazy to try it.

    • Franklin Templeton says:

      Hey man ya could maybe just bend them back in tune. More importantly (at least to my friends with kids lol) is the addition of a volume pot to any child’s toy. If you ever need to find a home for one of these random outta tune fellas, feel free to let me know :)

      • Brian Neeley says:

        If you add the volume pot (or two), I would personally make sure that it (or one) is recessed inside the enclosure, accessable only with a “tweeker” type tool (or screwdriver if completely internal). That way, you can set the maximum volume. My son seems to think there are only two volumes: off and maximum. I generally don’t want to hear out-of-tune, poorly-played, cheap-synth “music” at whatever volume the designer thinks is a proper level.

        • Franklin Templeton says:

          Excellent point, Brian! When dealing with toddlers and wee ones that like to eat anything they can, you have to be very careful about the selection of pot if it is to be exposed to a child’s creepy nimble fingers lol. I would feel awful if a kid or baby pulled off a knob and ate or choked on it :( So glad you brought up that point and your suggestion of the trim pot/micropot is perfect! I have been using side wheel style tweak pots usually on the back of the instrument, but your idea will save me breaking out the dremel lol. Admittedly, a simple internal limiting resistor would probably be the safest and best bet. And I would agree that the kidtunes do get old real quick lol. Thanks :)

    • buran says:

      Hi. Original sound was terribly noisy. I was not even checking if it is in tune or not.
      Those are mini-keys. And yes, screw holes are where existing bosses are in the case :)

      • Franklin Templeton says:

        I almost mentioned the crappy sounds this model originally produces lol. Being a circuitbender and tinkerer, I am pretty familiar with working models of this and ugh, very grainy dither zipper for the envelope and 4 variations of the same sound lol. I have seen models that have an echo/vibrato effect built in and one without drums that had 2 sounds and 18 demos lol. They are pretty rough but I did learn a lot about low pass filtering trying to clean them up. It is amazing how much better some of these sound with a simple lpf at the amp or output. I have to ask again if we were separated at birth lol? I like your sounds much better, buran.

  6. buran says:

    Hi guys. Thank you for all comments, it means a lot to me.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 94,612 other followers