Altering a cat toy?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • caphair
    Badcaps Legend
    • Nov 2011
    • 1249

    #1

    Altering a cat toy?

    Picked up a cheap small vibrating cat toy. It's just a vibrating motor, batteries, and on/off switch.

    Cat loves to swat at it and I was wondering how I could have it turn off when she hits it and on if she hits it again. Would be more entertaining for her.

    It's only about 2 inches in length, inches in width. Is there a type of switch I could wire in that reacts to impact?
  • momaka
    master hoarder
    • May 2008
    • 12170
    • Bulgaria

    #2
    Re: Altering a cat toy?

    I don't think so, but I'm not an expert.
    Perhaps some kind of a tilt switch could do the job of "random" twitching - that is, if the cat makes the toy flip a certain way, the toy won't move anymore, but if the cat touches the toy again, it might just activate the tilt switch and make the toy move again. I dunno... But outside of a microcontroller and some sensor, I'm not sure if there's another way to exactly achieve what you want.

    Comment

    • caphair
      Badcaps Legend
      • Nov 2011
      • 1249

      #3
      Re: Altering a cat toy?

      Originally posted by momaka
      I don't think so, but I'm not an expert.
      Perhaps some kind of a tilt switch could do the job of "random" twitching - that is, if the cat makes the toy flip a certain way, the toy won't move anymore, but if the cat touches the toy again, it might just activate the tilt switch and make the toy move again. I dunno... But outside of a microcontroller and some sensor, I'm not sure if there's another way to exactly achieve what you want.
      Tilt switch might just be perfect actually. As long as it can keep turning off at random should be better than just constantly on

      Comment

      • eccerr0r
        Solder Sloth
        • Nov 2012
        • 8680
        • USA

        #4
        Re: Altering a cat toy?

        and that's what the microcontroller is for, to turning off at random...

        Microcontroller could discern shaking of the toy whereas a simple on/off tilt sensor may not. Perhaps a supervisory routine of detecting motion by the tilt switch changing states (either on->off or off->on) would trigger the state machine of whether to turn on vibration or not depending on timeouts.

        interesting project, and requires microcontroller. Not sure if it would be feasible to make it small enough any other way.

        Comment

        • petehall347
          Badcaps Legend
          • Jan 2015
          • 4425
          • United Kingdom

          #5
          Re: Altering a cat toy?

          i wouldn't be surprised i china could supply the parts for less than the price of a cup of tea

          Comment

          • AdrianM
            Member
            • Dec 2011
            • 39
            • UK

            #6
            Re: Altering a cat toy?

            How's about using a piezo to trigger a mosfet for a short duration - the cat pawing the mouse should make it react for a while then shut off.



            The piezo generates a small voltage when hit, rectified by D1 and held on C2. R1 discharges this over 4 or 5 seconds and while above the gate threshold of M1 (around 2V) the mosfet holds the motor on. D2 clamps the gate voltage to a safe level.

            Even a fairly small piezo should work OK for this and the best thing to do is add mass to it by sticking a steel nut or lead fishing weight to the ceramic side. The inertia of the moving mass flexes the ceramic generating an alternating voltage pulse. Not much current, but not much is needed to turn-on a mosfet.

            However, some current is needed to build up a charge on C2 so without testing it I'm not sure if these values would be best. In principle the mosfet gate alone will provide sufficient charge storage however the total leakage might not be enough to get away without a bleed resistor R1 to get it to switch off after a few seconds. Many 10's of mega-ohms would be required which is why I spec'd C2-R1 values to be more easily controlled.
            Attached Files

            Comment

            • AdrianM
              Member
              • Dec 2011
              • 39
              • UK

              #7
              Re: Altering a cat toy?



              Well, it does work. I left out R1 and changed C2 to 1nF to get around 1 to 10 seconds on-time depending on how hard it's poked. I'm not sure how the physical side of things would work out inside a toy though. That's with a FQP7N10 mosfet I had laying around on the bench.


              Attached Files

              Comment

              Related Topics

              Collapse

              • Document Archive
                Acer Switch Switch V 10 SW5-017P Hybrid (2-in-1) V 10 Specification for Upgrade or Repair
                by Document Archive
                This specification for the Acer Switch Switch V 10 SW5-017P Hybrid (2-in-1) can be useful for upgrading or repairing a laptop that is not working. As a community we are working through our specifications to add valuable data like the Switch V 10 SW5-017P boardview and Switch V 10 SW5-017P schematic. Our users have donated over 1 million documents which are being added to the site. This page will be updated soon with additional information. Alternatively you can request additional help from our users directly on the relevant badcaps forum. Please note that we offer no warranties that any specification,...
                09-06-2024, 05:30 AM
              • Natob82
                Micro Momentary Push Switch?
                by Natob82
                Great to be here! I'm a newbie here trying to find a "micro", momentary push switch to repair a Sony "clamshell" video walkman. This micro switch has long since discontinued by Sony, however I hope there are third-party switches of the same size and functionality that I might be able to source to play the same role. The purpose of this switch is to tell the video walkman that the user has activated the mechanical tape eject button, turning that physical action into an electronic signal that tells the tape transport mechanism to open so one can load or eject a video tape. I...
                12-21-2022, 05:22 AM
              • grimacelord
                NEC TurboExpress On/Off Power Switch Replacement Help
                by grimacelord
                Hello,

                I've been working on a NEC TurboExpress and I accidentally got the plastic inside the power ON/OFF switch too hot while doing other repairs and melted it. At first, it would still power on when sliding the switch, but you had to really press inward while sliding to get it to work.

                I removed the switch component and tried to gently melt the plastic back so it would work more reliably and all I managed to do was make it worse.

                I need to find a replacement On/OFF switch for this, but having some trouble figuring out which kind of switch I need....
                11-09-2023, 09:49 AM
              • SluggerB
                Help making a switch work the opposite way with a relay
                by SluggerB
                I have a very small float switch, I'm using in a very small tank. It only fits in one way. Link https://www.amazon.com/uxcell-Switch.../dp/B07DZ1J2GB

                I want the switch to be open when the water is high, and closed when the water is low. Unfortunately it works the opposite. And since this switch is designed to be underwater, it's all sealed up, there is no taking it apart or hacking it up.

                It will be driving a water pump, basic idea, when the water is low, switch closes, which turns on water pump, when enough water is in the tank, float switch floats,...
                02-07-2025, 07:57 PM
              • sam_sam_sam
                Modifying a 4 Position Universal Rotary Cam Changeover Switch LW26-20 for more cams
                by sam_sam_sam
                Panel Mount 4 Position 8 terminals Universal Rotary Cam Changeover Switch LW26-20 20A
                ( needs more cam circuits for the machine to work correctly again )

                https://www.ebay.com/itm/275321870186

                To
                3 Position 16 Terminals Universal Rotary Cam Changeover Switch LW28-20 20A
                ( not 4 positions but the right amount of cams circuits )

                https://www.ebay.com/itm/274660439950

                I going to take the 4 position cams selector switch and remove the cams that are on it and remove the cams off of the 3 position selector switch and swap them around...
                03-18-2023, 05:12 PM
              • Loading...
              • No more items.
              Working...