science tinker

Laser module (KY-008)

A small red laser diode that shines a narrow beam while its S pin is HIGH.

Light, sound and displays · Elements inside: AlGaInPCuZnSiOC

Function: what the KY-008 does in a circuit

A small red laser diode that shines a narrow beam while its S pin is HIGH.

  • Shines a narrow red beam
  • Switches on from one digital pin
  • Makes light gates and tripwires with a light sensor

KY-008 key facts

Supply5 V on S
Currentabout 30 mA
Wavelength650 nm (red)
Powerunder 5 mW
PinsS, + (not connected), −

KY-008 pinout

The legs from left to right, as the part is drawn in the simulator:

No.Name
1S (signal)
2+ (not connected)
3− (GND)

How it works

Inside the brass barrel is a laser diode and a lens. Current through the diode makes light that bounces between two mirror-like faces of the crystal; the light waves line up in step and leave as a narrow beam of one colour, 650 nm red. A resistor on the board limits the current to about 30 mA, so a pin can drive it directly.

What it is made of

  • Laser diode: Aluminium gallium indium phosphide crystal AlGaInP
  • Barrel: Brass with a plastic lens CuZn
  • Board: Glass-fibre and epoxy circuit board SiOC

Where the materials come from: Gallium as a by-product of aluminium production; indium from zinc ores; phosphorus from phosphate rock; copper and zinc from their ores.

The chemistry

The colour is set by the crystal’s energy gap: each electron that drops across it gives out one photon of red light with the same energy.

Biology connection

Your eye focuses light onto the retina, so a laser beam is focused to a tiny, intense spot there. The eye in 3D →

Safety and the environment

Never point it at eyes, even a low-power one, and never look into the beam or its reflection in a mirror. Use it only pointing at a wall or a sensor.

Did you know? With a light sensor facing it, this module makes a "laser tripwire": the alarm sounds when something breaks the beam.

Try it in the simulator

Build and code a circuit with a Laser module in these practice projects:

Questions students ask

What does the KY-008 do?

A small red laser diode that shines a narrow beam while its S pin is HIGH. Main functions: shines a narrow red beam; switches on from one digital pin; makes light gates and tripwires with a light sensor.

How do I switch a laser module on from an Arduino?

Connect S to a digital pin and − to GND, then digitalWrite(pin, HIGH). The middle pin is not used. Never point it at eyes.

What are the connections of the KY-008?

In order: S (signal), + (not connected), − (GND).

How does the KY-008 work?

Inside the brass barrel is a laser diode and a lens. Current through the diode makes light that bounces between two mirror-like faces of the crystal; the light waves line up in step and leave as a narrow beam of one colour, 650 nm red. A resistor on the board limits the current to about 30 mA, so a pin can drive it directly.

What is the KY-008 made of?

Laser diode: Aluminium gallium indium phosphide crystal. Barrel: Brass with a plastic lens. Board: Glass-fibre and epoxy circuit board.

Is the KY-008 safe? How should it be recycled?

Never point it at eyes, even a low-power one, and never look into the beam or its reflection in a mirror. Use it only pointing at a wall or a sensor.

More light, sound and displays

Know someone who would use this?

It’s free for every learner. Send it to your class, team or club.

Updated · Free, no sign-up ·

Connected tools

The same idea from another angle, across the site.