Keyestudio 37 in 1 Sensor Kit: every lesson, simulated
All 37 module projects, in order, each a circuit that runs in your browser on the pins the project uses. Try every sensor in the box, from a light and a microphone to a flame, a magnet and a motion detector, before you wire one.
Not affiliated with Keyestudio. Lesson titles are referenced so you can follow along.
Every lesson in the kit’s order
Lesson numbers and titles follow the Arduino tutorial for KS0068 in Keyestudio’s online wiki. Each circuit uses the kit’s parts on the pins the lesson uses.
37 of the 37 lessons with a circuit run here, 8 of them with a change we name.
- Project 1
White LED Light
Runs, with a changeAn LED module on pin 7, on for a second and off for a second.
The module is a part and its resistor on a little board; here the same parts sit on a breadboard.
- Project 2
Red LED Light
Runs, with a changeThe same blink on pin 7 with the red LED module.
The module is a part and its resistor on a little board; here the same parts sit on a breadboard. Click the LED and make it red.
- Project 3
3W LED Module
Runs, with a changeA 3 W LED on pin 13, blinking once a second.
The module’s LED and its driver are wired as parts here: a 3 W power LED, a MOSFET module on pin 13 and a 4.7 ohm resistor from 5 V.
- Project 4
RGB LED
Runs, with a changeRed on pin 11, blue on 10 and green on 9, each color fading up and down in turn.
The module carries the three resistors on its board; here they sit on a breadboard with the LED.
- Project 5
Analog Temperature
Runs hereA thermistor module on A0, turned into degrees with the beta equation.
- Project 6
Photocell Sensor
Runs hereA photoresistor module on A0: the reading follows the light.
- Project 7
Analog Sound
Runs hereA microphone module on A0: clap and the reading jumps.
- Project 8
Analog Rotation Sensor
Runs hereA rotation sensor on A0, its reading printed as you turn it.
- Project 9
Passive Buzzer
Runs hereA passive buzzer on pin 3 plays two tones made by switching the pin by hand.
- Project 10
Digital Buzzer
Runs hereAn active buzzer on pin 3, on for a second and off for a second.
- Project 11
Digital Push Button
Runs hereA push button module on pin 3 lights the LED on pin 13 while it is held.
Its 10k is set as a pull-down, as on the kit’s board: pressed reads HIGH.
- Project 12
Digital Tilt Sensor
Runs, with a changeA tilt switch on pin 3; the LED on pin 13 follows it.
The module is a part and its resistor on a little board; here the same parts sit on a breadboard.
- Project 13
Photo Interrupter
Runs hereBlock the slot of the photo interrupter on pin 3 and the LED on pin 13 follows.
- Project 14
Capacitive Touch
Runs hereA touch pad on pin 2 lights the LED on pin 13.
- Project 15
Knock Module
Runs hereKnock the sensor on pin 3 and the LED on pin 13 flashes.
Its 10k is set as a pull-down, as the kit’s sketch reads it: a knock is HIGH pulses.
- Project 16
Hall Magnetic Sensor
Runs hereBring a magnet to the Hall sensor on pin 3 and the LED on pin 13 lights.
The sketch turns on pin 3’s own pull-up, which the module carries on its board.
- Project 17
Line Tracking Sensor
Runs hereA line sensor on pin 3 tells a black line from a white floor.
- Project 18
Infrared Obstacle Avoidance
Runs hereSomething in front of the obstacle sensor on pin 3 lights the LED on pin 13.
- Project 19
PIR Motion Sensor
Runs hereMovement in front of the PIR sensor on pin 3 lights the LED on pin 13.
- Project 20
Flame Sensor
Runs hereA flame near the sensor on pin 2 lights the LED on pin 13.
- Project 21
Vibration Sensor
Runs hereA shake on pin 3 fires an interrupt and lights the LED on pin 13 for half a second.
- Project 22
Analog Gas Sensor
Runs hereAn MQ-2 gas sensor on A0: more gas, a higher reading.
- Project 23
Analog Alcohol Sensor
Runs hereAn MQ-3 alcohol sensor on A0: the reading climbs with the vapor.
- Project 24
Digital IR Transmitter
Runs, with a changeAn infrared LED module sends codes for another board’s receiver to read.
Here two Nanos send to each other, each with an IR LED and a receiver: press a button and the other board reads the code. A KY-005 is the same LED on a board; find it in the parts panel. The receiving side alone is project 25.
- Project 25
Digital IR Receiver
Runs hereAn IR receiver on pin 11 decodes the remote’s buttons.
- Project 26
Rotary Encoder
Runs hereAn encoder on pins 2, 3 and 4 counts clicks each way, with an LED for each direction on 5 and 6.
- Project 27
LM35 Linear Temperature
Runs hereAn LM35 on A0: 10 millivolts a degree, printed in Celsius.
- Project 28
18B20 Temperature Sensor
Runs hereA DS18B20 on pin 2 reads the temperature over one wire.
- Project 29
ADXL345 Three Axis Acceleration
Runs hereAn ADXL345 on the I2C pins reports X, Y and Z as you tip it.
- Project 30
DHT11 Temperature and Humidity Sensor
Runs hereA DHT11 on pin 4 reports the humidity and the temperature.
- Project 31
Bluetooth Module
Runs, with a changeAn HC-05 brings messages from a phone to the board, and the board answers with a lamp.
Here the module talks on pins 2 and 3, so the serial monitor stays free, and a word turns a lamp on pin 9 on or off. The lesson wires it to pins 0 and 1 and blinks pin 13 for the letter a.
- Project 32
TEMT6000 Ambient Light
Runs hereA TEMT6000 ambient light sensor on A0: brighter light, a higher reading.
- Project 33
SR01 Ultrasonic Sensor
Runs, with a changeAn ultrasonic sensor with TRIG on 8 and ECHO on 7 prints the distance, and pin 13 lights when nothing is in range.
An HC-SR04 stands in for the SR01; the two are driven the same way.
- Project 34
Joystick Module
Runs hereX on A0, Y on A1 and the push switch on pin 3, printed together.
- Project 35
DS3231 Clock Module
Runs hereA DS3231 on the I2C pins keeps the date and time; the board prints them once a second.
The sketch reads the clock with RTClib rather than the lesson’s DS3231 library.
- Project 36
5V Relay Module
Runs hereA relay on pin 8 clicks on and off every two seconds, switching an LED.
- Project 37
Vapor Sensor
Runs hereA steam sensor on A0: the reading rises as moisture bridges its traces.
Keyestudio publishes no figures for this board, so its curve is the water level sensor’s.
Lesson list and pins read from Keyestudio’s online tutorial. The explanations on this page are our own.
Everything the Keyestudio 37 in 1 Sensor Kit can build
No built-in project uses only the parts in this box yet. The next section shows what to add.
Add a few parts, unlock more projects
The smallest shopping lists that open the most new projects for the Keyestudio 37 in 1 Sensor Kit.
Add Arduino Uno R3
Add Resistor and Arduino Uno R3
Add Pushbutton, Resistor and Arduino Uno R3
Unlocks 113 more projects:
Projects that combine two kits
Own another kit as well? These need parts from both boxes, and neither can build them alone.
With the Adafruit MetroX Classic Kit
76 projects:
With the Arduino Starter Kit
68 projects:
The kit’s parts, and what plays them here
The parts in the Keyestudio 37 in 1 Sensor Kit, by the names its maker gives them. Each one is in the editor’s parts panel.
- White and red LED modules LED With a resistor on a breadboard.
- 3W LED module Power LED, 1 W or 3 W star Switched by a MOSFET module, with a resistor to set its current.
- RGB LED module RGB LED
- Analog temperature module NTC temperature sensor module
- Photocell sensor Photoresistor sensor module
- Analog sound sensor Sound sensor, KY-038
- Analog rotation sensor Analog rotation sensor
- Passive buzzer Piezo speaker
- Digital buzzer Buzzer
- Digital push button Button module, KY-004
- Digital tilt sensor Tilt switch
- Photo interrupter Photo interrupter, slot
- Capacitive touch sensor Touch sensor, TTP223
- Knock sensor Knock sensor, KY-031
- Vibration sensor Vibration sensor, SW-420
- Hall magnetic sensor Hall sensor, A3144
- Line tracking sensor Line sensor, TCRT5000
- Infrared obstacle avoidance sensor Obstacle sensor, FC-51
- PIR motion sensor Motion sensor
- Flame sensor Flame sensor
- Analog gas sensor Gas sensor, MQ-2
- Analog alcohol sensor Alcohol sensor, MQ-3
- Digital IR transmitter KY-005 infrared LED module
- Digital IR receiver Infrared receiver, VS1838B
- Rotary encoder Rotary encoder, KY-040
- LM35 temperature sensor Temperature sensor, LM35
- 18B20 temperature sensor Temperature sensor, DS18B20
- ADXL345 accelerometer Accelerometer, ADXL345
- DHT11 temperature and humidity sensor Temperature and humidity, DHT22 Set to DHT11 in these circuits.
- Bluetooth module Bluetooth serial module, HC-05
- TEMT6000 ambient light sensor Ambient light sensor, TEMT6000
- SR01 ultrasonic sensor Ultrasonic ranger
- Joystick module Thumb stick
- DS3231 clock module Real-time clock, DS3231
- 5V relay module Relay module
- Vapor sensor Steam sensor
A link and a QR code for this page
Print either one beside a lesson, or tape it inside the box lid. Both open this page.
mokxi.com/k/keyestudio-37
The code is black on white with a quiet border, so it prints and scans at any size from 2 cm up.
Download the QR code (SVG)Make kits? See what we offer kit makers.
Questions about this page
Is this made by Keyestudio?
No. Mokxi is independent and is not affiliated with Keyestudio. The page follows the kit’s lessons so you can use the two side by side; the circuits, sketches and explanations are Mokxi’s own.
Do I need the kit?
No. Every lesson that runs here runs in the browser, so you can try them before you buy a kit, or keep going while a part is missing or broken.
Is the code the same as in my manual?
The pins and the parts are the same, and the sketches use the same libraries where the kit does. The code itself is written for this page, with comments that explain each step, so it will not match the manual line for line.
What do "with a change" and "coming soon" mean?
A lesson marked "with a change" runs, but something differs from the kit, and the note under it says exactly what. "Coming soon" means we cannot simulate that lesson yet, and the note says why. We do not mark a lesson as running unless it does.
Is it free?
Yes. Every lesson on this page opens with no account. A free account saves your own copies of the circuits.
Other kits
Companion pages for more starter kits.
Start at lesson one
Every project opens in the editor with no account and nothing to install. Run it, change a number, run it again.