Uses for these sensors?

2 weeks into arduino. Things are going great. Got a sensor pack from my parents (

I cant figure out what these sensors do though...

Particularly the...
-laser sensor module
-the hunt sensor
-linear magnetic hall sensor
-magic light cup

Can somebody explain their uses/how to use them? Theres also some mercury sensors of some sort, and heartbeat detectors that are cool, but i cant for the love of me, figure out how to use them either...

WOW! I want my parents to send me that!

The types of shields/sensors are listed below the picture... looks like you can do darn near anything with that assortment. You will have to dig through then Arduino site to find out how to use them. There are lots of tutorials and scripts on many of these.

Pick out one that make sense to you and start from there... I assume you have an arduino board.

You're going to have to post close-up pictures of the individual modules you have questions with. From your names the only two I can guess at is the "hall sensor" which is used to detect the presence of a magnetic field, "linear" in that it will output a variable voltage on the signal line depending on the strength of the magnet. The "laser sensor" is more than likely just a laser (not a sensor).

I had a "magic light cup" once. It magically didn't do its job when I needed it most. Man that hurt.

Wow that's quite a selection for the price! Mind you DealExtreme has always had some interesting stuff.

I agree close-up photos will help identify the mystery ones better.

It would be great to know which of them can work at 3V3 too...

That is a grand sensor kit for the price. That, a breadboard, a bunch of jumpers, and an Arduino would make a great starter kit. I don't need it and I just bought one.

I know this is a bit old, but I stumbled on this thread when I was trying to learn more about these sensors. Maybe it will help some other Google searchers.

After some digging, I found the full set of documentation for these sensors. It's written in "translated" English so it can be a bit challenging.
The ziped file of the documentation is located at

I got it for cheap at amazon. Some say the shipping is $50 which brings the total price to $80, but in my case Amazon gave me free shipping (within the US) so the total price is just $52.

I found the entire list of sensor products included, note the part numbers at the end of each line, just do a google search for the part number and you'll come up with a site that documents it with code samples.

(eg. googling "KY-006" brings up this page)

  • 1 x Small passive buzzer module KY-006
  • 1 x 2-color LED module KY-011
  • 1 x Hit sensor module KY-031
  • 1 x Vibration switch module KY-002
  • 1 x Photo resistor module KY-018
  • 1 x Key switch module KY-004
  • 1 x Tilt switch module KY-020
  • 1 x 3-color full-color LED SMD modules KY-009
  • 1 x Infrared emission sensor module KY-005
  • 1 x 3-color LED module KY-016
  • 1 x Mercury open optical module KY-017
  • 1 x Yin Yi 2-color LED module 3MM KY-029
  • 1 x Active buzzer module KY-012
  • 1 x Temperature sensor module KY-013
  • 1 x Automatic flashing colorful LED module KY-034
  • 1 x Mini magnetic reed modules KY-021
  • 1 x Hall magnetic sensor module KY-003
  • 1 x Infrared sensor receiver module KY-022
  • 1 x Class Bihor magnetic sensor KY-035
  • 1 x Magic light cup module KY-027
  • 1 x Rotary encoder module KY-040
  • 1 x Optical broken module KY-010
  • 1 x Detect the heartbeat module KY-039
  • 1 x Reed module KY-025
  • 1 x Obstacle avoidance sensor module KY-032
  • 1 x Hunt sensor module KY-033
  • 1 x Microphone sound sensor module KY-038
  • 1 x Laser sensor module KY-008
  • 1 x 5V relay module KY-019
  • 1 x Temperature sensor module KY-001
  • 1 x Temperature sensor module KY-028
  • 1 x Linear magnetic Hall sensors KY-024
  • 1 x Flame sensor module KY-026
  • 1 x Sensitive microphone sensor module KY-037
  • 1 x Temperature and humidity sensor module KY-015
  • 1 x XY-axis joystick module KY-023
  • 1 x Metal touch sensor module KY-036

use the word arduino in front of your part :

From a comment on one of the reviews from Amazon:

Pablo Halpern says:
Pin assignments and sample code for all of the parts except the KY-029 are available at

Hi everyone.
How would you use the Optical Broken module KY-010. I can't find any references on how to use it. I found sample code for it and it looks like you have to somehow physically insert something to break a beam into a very small slot.
Thanks for any help with this.

This is a photo interrupter. One side has a LED and the other side has a phototransistor. You turn the LED on and the transistor is lit so,gives an output (high or low depending on transistor).

When you put something in the gap, the light is broken and the output changes.


You would use that by attaching it to the frame of the door of a cupboard or closet, and attaching a small flat object to the door, so that when the door is closed, the small flat object is blocking the slot in the device.

The you can use that to control the light inside the closet. Or an alarm.

The optical interrupt sensor would typically be used to encode an axis.

You run a thin wheel with slots through the small gap, which means you can count the openings as they appear and calculate the position or calculate the rpm based on the amount of slots in the circle.

google "rotary encoder" for visuals


Hello . What is the purpose of the Ky027 module and where is it used?

Dont be lazy.

Post the whole part/component NAME... (I doubt anyone has memorized the board #'s)

  • 1 x Magic light cup module KY-027

is what you MEANT to post............right?

Seeing as how you have tried to search yourself.....(doubt it)..

Seems like its just a variant on a 'tilt' switch..

** Also.. this thread is almost 2+ years old.