Using micro switch with Arduino


#1

HI, I would like to use the Me micro switch on an Arduino. The problem is i don’t know the pin out, and i don’t how to connect this Me micro switch to an Arduino board.

Thanks for the help !


#2

@Joy_EIRB,Me micro switch should work with Me adapter, kindly refer from here: http://www.makeblock.cc/me-rj25-adapter/


#3

@Pioneer First thank you for your reply. And yes i see i can work with the RJ25 adaptater but i don’t want an adapter i would like to plug in direct the ME microswitch to the arduino. Is it possible ? How this work ?


#4

@Joy_EIRB, theoretically, its ok for you to do the connection. You can see there three pins on Adaptor: S1/2, Vcc, GND, you have to connect them to I/O port ( any Analog or digital port is fine), 5V, GND on Arduino, after that, you have to write program to control switch.


#5