Micro Switch Counter

Hi All!

I'm working a new project however I'm stuck on where to go in regards to hardware. I need to sense each time a microswitch is pressed and transmit that info to an android phone a short distance away (via bluetooth). I have the programming setup, at least on the phone side but I need the hardware to sense the switch and transmit it. Any thoughts on how to do this?

The basic switch setup is to have a 10k resistor from the IO pin to 5v and the switch to earth. You can also use the internal pull up R.

Check for the IO pin going low.

Weedpharma

t-hudproject:
Hi All!

I'm working a new project however I'm stuck on where to go in regards to hardware. I need to sense each time a microswitch is pressed and transmit that info to an android phone a short distance away (via bluetooth). I have the programming setup, at least on the phone side but I need the hardware to sense the switch and transmit it. Any thoughts on how to do this?

Bluetooth module, HC-05 is the most common and works with Arduino.

I think the OP is referring to connecting to the microswitch.
Is the switch already in a circuit with another process?
This will influence how you connect it to the arduino.

Tom..... :slight_smile:

On re reading I think we have a switch connected to Arduino. Once the switch is pressed. The fact needs to be sent to the Android phone via BT.

Weedpharma