This is the simplest sensor you will find for obstacle and collision sensing. It is basically a switch with a long handle (can be extend with external lever for better performance) which closes the switch everytime it collides with an obstacle. It is of medium size and comes in a SPST package. It is simple in working and easy to use. Can be easily interfaced to microcontrollers and external circuits.