Connecting a Greeting Card Recording device to my start here robot

I want to record my sound for the start here robot. birdmun suggested getting one of those greeting cards that you can record your voice on (10 seconds) and it plays it back.

I bought one such card.

Now, I want to know how to safely connect it to my start here robot. Birdmun says i need transistors and resistors (i dont know what to do). He says i need to replace the switches with a pair of transistors and a resistor for the base of each transistor.

Can someone please help me? I will post a picture of my module if needed!

P.S.: I am very new to all this sound stuff.

thanks for everything!

moose97

Birdmun is right on track

Congrats for graduating past your vanilla SHR!

I don’t really know exactly how these cards operate. I’ve seen them before but never inspected them with hacking in mind. A picture/vid would be awesome (for me, anyway).

I’m not sure what birdmun planned with two transistors (amplifier for the low pin output?) but this is what he’s talking about:

This circuit uses an NPN transistor (eg 2N2222) which “switches on” when postive voltage is appied to the base (B), like from a PICAXE pin set to high. When on it allows electricity to flow from collector © to emitter (E). 

Rb is the current-limiting resistor. Depending on what your doing it can keep the transistor from turning into Blue Smoke. There are many better explainations than what I can tell you (and calculators) all over the web. IIRC you will not need one <look around at the experts :slight_smile: >

The protection diode is not necessary. It is for inductive loads like motors or relays.

Your load is the greeting card module. Find which end of your card’s switch is positive voltage and which is ground and wire it into the circuit appropriately. This is assuming it is a simple SPST momentary that closes the contacts when the card opens. You need to verify that to be certain. I’m just guessing how it works.

If you are not using the card’s battery, +Vs needs to be the voltage that the card module likes. Don’t necessarily just feed 5V from your PICAXE board straight into the module. You might end up making Smoke. If you use the battery be sure to tie its ground to the robot’s ground or nothing will work either.

probably can skip the transistors

Calculon has hacked these sort of things before both with and without transistors. There are two easy ways to do it:

If the toy has more than one function and more than one switch (eg Yak Back or Radio Shack recorder module):

  1. Find the switch that activates the thing. Is it a pushbutton, or a pull-switch?
  2. The switch will connect the chip (the black lump) with either positive or ground (usually ground). Find out which. 
  3. Solder a 10k resistor to the copper plating on the “chip” side of the switch. You can use a wire instead of a resistor, but Calculon has found that hacked toys have a very short lifespan, and he thinks a resistor will help, especially if the switch is positive.
  4. Connect the other end of the resistor to your PicAxe.
  5. Repeat steps 1-4 for each button or switch on the toy.
  6. Power the toy. If the toy uses less than 5 volts, you’ll want to power it seperately from the Axe, and share a ground. If the toy uses 4 to 6 volts, you can just power it from the Axe.
  7. Activate the buttons by having your PicAxe either go high or low (depending on the toy). This simulates the switch being activated.

If the toy only has one function:

  1. Find the switch that activates the thing.
  2. Jam it closed in whatever way works best for you. Calculon just removes the pushbutton and solders the two halves of the switch together so there is no longer a switch.
  3. Connect the toy’s negative lead to the Collector pin on a 2N2222 transistor. Connect the picaxe to the Base pin, and connect the Emitter pin to ground. 
  4. Connect the toy’s positive lead to a voltage source appropriate for the toy. (make sure the toy and the picaxe share a ground).
  5. Go high on the picaxe pin. This activates the transistor, which pulls the current through the toy, making it do its thing.

Pictures

Here are a couple of pics.

DSC06291.jpg

DSC06293.jpg

Can you guys guide me in installing everything? What parts do I need?

I’d like to help but I have

I’d like to help but I have no idea what I’m looking at. What’s going on with that stuff on the PCB? More pictures of that thing would be helpful. Are one of those things dangling off a switch? Is it the silver thing on the lower right hand side of the board? A battery has to be in there somewhere…

As JAX said,

could you include macro photos of:

macrosplease.png

Top left: is in the top left of the first image, Top right: is in the lower left of the first image, Bottom right: is in the lower right of the first image, Bottom: is diagonally up and left of the lower right, Bottom left: is left of the Bottom image.

I would guess the round silver objects are batteries, the Bottom image is one of the switches, and the Top right image is another switch. Macro photos will help identify these parts more readily.

Edited Picture

Edited.jpg

Macro Pictures

Macro_11.jpg

 Board for Greeting Card

Macro_13.jpg

 Switch that plays recorded message.

Macro_14.jpg

 Switch that records for 10 seconds when pressed.

Macro_5.jpg

 I have no idea what this is.

Macro_12.jpg

 Speaker.

I would say the first part

I would say the first part of Calculon’s reply is what you want to do. It’s practically a walkthrough for you to follow.