0
\$\begingroup\$

I am attempting to build a simple circuit to to control sound on my Android phone. All the controls are accomplished by tying a control pin to ground, so all I do in between is just about resistance and pulses.

1 button press=play/pause 2 presses=skip forward 3 presses=skip back

obviously play pause is easy, I just need a switch, but for the others I want a separate switch I can just press once, meaning in pressing it, it should close the circuit, open it, close it, and open it again in order to skip forward. the durration is not critical, it just has to happen withing a couple seconds and the pulses must be probably 100 milliseconds apart or so.

SO, how might I go about this? the circuit needs to be small, so avoiding IC's would be good, but I feel like I am at least going to need a timer.

\$\endgroup\$

1 Answer 1

2
\$\begingroup\$

IMHO, any circuit that avoids using an IC to do this will be bigger and more expensive than using an IC. The easiest and most simple approach would be a small 6-pin microcontroller like one of the ATtiny or PIC. However, this assumes that you have the ability to program one and a minimal understanding of programming. A 555-timer could also do the job, but it will take one timer per action and a few other components beyond that. The ATtiny requires very little beyond it's own chip and an appropriate voltage source.

\$\endgroup\$
3
  • \$\begingroup\$ single IC555? or \$\endgroup\$
    – yogece
    Oct 21, 2013 at 5:55
  • \$\begingroup\$ that could work, I guess this is more a project for the fun of it anyways. I could do fine with the programming, though I have stuck more to arduino, so I don't have a programmer, which is driving the price up a little bit. \$\endgroup\$
    – lkrasner
    Oct 21, 2013 at 13:39
  • \$\begingroup\$ my thought was a dual 555 timer, but I didn't know how to set it up in a way that would only make it pulse twice or 3 times without a microcontroller. \$\endgroup\$
    – lkrasner
    Oct 21, 2013 at 13:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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