Use this source photo to identify the module before wiring it. The photo is saved from the checked 37-in-1 kit guide.
What it detects
Sends infrared pulses.
This is the main signal to test before adding displays, motors, buzzers, or game logic.
How it works
An infrared LED sends invisible light pulses when driven by code. Pair it with an IR receiver to learn how remote-control signals are sent.
Matching the part number
This module is usually sold as KY-005. If yours is printed with that code, the vendor datasheet and the original example sketch are in the KY-numbered kit repository linked at the bottom of this page.
That repository documents a different 37-in-1 kit. The two overlap on this module, but its module list is not the same as the Keyestudio one, so check the part in front of you rather than the kit name.
What you need
Starter parts
Keep the first circuit small and add displays or motors later.
White USB Type-C CableConnects or powers USB-C devices, boards, chargers, and project accessories.
Arduino Nano & Expansion BoardCompact controller and breakout board for sensors, wiring, and embedded projects.
Female to Male 10 cm Wire10 cm Jumper Wire for connecting breadboards to male-pin modules or sensors.
37-in-1 Arduino Sensors KitExplore light, sound, motion, touch, and environmental sensing with Arduino projects.
Try first
Blink an IR signal and detect it with the receiver.
This is the quickest way to see the module reading change.
Connections
Wiring to the Arduino Nano on its expansion shield
Plug into the digital bank of headers. The pin numbers below match the sketch further down this page; change one and change the other.
Module pinGoes to
Module SShield header D3
The Nano I/O expansion shield supplied in the kit, photographed from above for the Voltaat product listing. Column positions measured from the photo; labels added by Fix It Today.
Where it plugs in
The ringed column on the shield is the one this module uses. Its three pins are ground on top, 5 V in the middle and the signal at the bottom, so a three-pin module takes one whole column.
Before you power it
On this shield both banks read G, V, S from the top: the black lead goes to G, the red to V and the signal to S. The letters are printed at the ends of the rows, so check them on your own board before you wire a whole class.
One 3-pin lead per module. Connect ground first, then power, then signal.
A module in backwards puts 5 V on the signal pin. Some shrug it off, plenty do not.
The pin map and the shield layout are on the Nano and expansion shield wiring guide.
1
Plug the module into the header listed above, black lead to ground.
2
Copy the sketch below, upload it, and open Tools > Serial Monitor at 9600 baud.
3
Change the physical condition the module senses and watch the reading or output respond.
Starter sketch
Code you can copy and upload
Set the pin constants at the top of the sketch to match the header you plugged the module into, then upload it and open Tools > Serial Monitor at 9600 baud.
ir_transmitter.inoArduino C++
1const uint8_t IR_LED = 3; // PWM pin
2
3void setup() {
4 pinMode(IR_LED, OUTPUT);
5}
6
7void loop() {
8 tone(IR_LED, 38000); // 38 kHz, what IR receivers expect
9 delay(200);
10 noTone(IR_LED);
11 delay(800);
12}
Point it at the IR receiver module from the same kit and watch the receiver's serial output. A phone camera can often see the flash, your eyes cannot.
Build next
Make a simple remote-control transmitter demo.
Turn the raw reading into a small useful interaction.
Add the OLED display when the reading is stable.
Use an LED, buzzer, servo, or motor only after the sensor input works by itself.
Write down the value range you see so your thresholds match the real room and module.
Reference
Source guide and step-by-step builds
Use the source guide for the exact wiring diagram, and the workshop guides for a full worked build on this board.
Have an idea for what MakerAccess should stock, improve, or explain next? Share it in the survey. If you bought or used a product and want to comment on the item itself, use the product feedback form.