I am a beginner in electronics and am trying to build a small device that vibrates every n seconds while the device is on. I have done some research and found that the materials I most likely need are: a vibration motor, a coin cell battery power source, a 555 timer or PIC, and maybe a transistor or resistor. I want the device to be small, and the only function needs to be that it vibrates every n seconds while the device is turned on. I am wondering what the best way to go about building something like this is?

  • 2
    \$\begingroup\$ Hi Max, welcome to the site. Please try to keep your questions specific. As it stands this is an open ended questions which may be closed. \$\endgroup\$
    – Drew
    Jan 10, 2021 at 22:36
  • 1
    \$\begingroup\$ Your first step should be to find some schematics for similar devices. \$\endgroup\$
    – Drew
    Jan 10, 2021 at 22:37
  • 1
    \$\begingroup\$ Vibrate every n seconds for how long? 1/4 sec? 1/2 sec? What are the specs of the vibration motor? Can you draw a schematic, even a partial one? \$\endgroup\$
    – Mattman944
    Jan 11, 2021 at 2:17

1 Answer 1


You're not very specific, so I'm assuming you're in search of a simple project to start building experience:

  • You're hesitating between a PIC and a 555:
    • If you choose the 555 path, then your project is going to be only that: a motor that goes on and off periodically. For any addition you will need to change completely your circuit. Or start a new one.
    • If you choose the PIC path, then you will learn how to build micro-controlled circuits. Any addition to the circuit will be a new module to the micro-controller, and you can go further in a more progressive way. I would advocate for the PIC although it may take you longer to reach your goal. And be a little more expensive, as you need to buy the ICD.

This could be the initial idea for your circuit. All of it works at 5V, so you don't need to bother with additional sources. You can connect it to any USB power supply (avoid using your computer as supply, you don't want this kind of risk)

Microcontrolled 5V DC Motor

Start by building the block (A):

  • The PIC, fed by USB, and the ICD connector. The goal is to establish communication between your computer and the PIC.

Then add block (B):

  • A simple LED, to see "something" happening. This would be your hello world.
  • The goal is for you to program something in the PIC, and manage to use a timer.

Then add block (C):

  • A transistor and the motor.
  • The programming is nearly the same as the LED, but this time it activates the transistor and, therefore, the motor.

Finding the right components is always quite hard. Those are only suggestions:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.