A simple pulse circuit.

Thread Starter

Bod

Joined Sep 18, 2016
317
I recently bought one of these Chinese audio bluetooth reciever modules: https://www.ebay.co.uk/itm/Bluetoot...136925?hash=item41e0210e1d:g:R-UAAOSwZBha1Qln.

These modules need a two seccond button press to turn on and a two seccond button press to turn off. I am using an on/off pushbutton switch (one like this: https://lgswitch.en.made-in-china.c...Push-on-off-Pushbutton-Switch-for-Stereo.html) to turn my speaker on and off. When you press the button I need a two second pulse to turn on the bluetooth adapter. When the is pushed again, I need another two second pulse to turn the bluetooth off. Keep in mind that I am using an Arduino, so maybe theres a circuit that will allow me to do what I want to do.

I only have one idea and that's using a capacitor and somehow discharging it into the module over a two second period, to turn it on/off.

EDIT: I forgot to mention it all runs off of 5v

Thanks,
Bod
 
Last edited:

ericgibbs

Joined Jan 29, 2010
18,766
hi Bod,
As you are using a Arduino, are there spare I/O pins for the P/B's and the 2Sec On/Off pulse.
Add a routine to the program.
E
 

Thread Starter

Bod

Joined Sep 18, 2016
317
Thanks for this! I will try these out and will get back to you.

EDIT: This could be why the circuit was wrong. I said pushbutton when I meant latching switch. Doh!

Bod
 
Last edited:

Thread Starter

Bod

Joined Sep 18, 2016
317
Doesn't seem to work, espicially since I have an on/off pushbutton. Would it be a good idea to use a momentary switch as the power on. From this I would take two outputs, one goes straight to the BT module and one goes to some sort of flip-flop circuit to turn it into a constant output.
 
Top