Kit companion

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.

Lesson by lesson

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.

  1. Project 1

    White LED Light

    Runs, with a change

    An 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.

  2. Project 2

    Red LED Light

    Runs, with a change

    The 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.

  3. Project 3

    3W LED Module

    Runs, with a change

    A 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.

  4. Project 4

    RGB LED

    Runs, with a change

    Red 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.

  5. Project 5

    Analog Temperature

    Runs here

    A thermistor module on A0, turned into degrees with the beta equation.

  6. Project 6

    Photocell Sensor

    Runs here

    A photoresistor module on A0: the reading follows the light.

  7. Project 7

    Analog Sound

    Runs here

    A microphone module on A0: clap and the reading jumps.

  8. Project 8

    Analog Rotation Sensor

    Runs here

    A rotation sensor on A0, its reading printed as you turn it.

  9. Project 9

    Passive Buzzer

    Runs here

    A passive buzzer on pin 3 plays two tones made by switching the pin by hand.

  10. Project 10

    Digital Buzzer

    Runs here

    An active buzzer on pin 3, on for a second and off for a second.

  11. Project 11

    Digital Push Button

    Runs here

    A 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.

  12. Project 12

    Digital Tilt Sensor

    Runs, with a change

    A 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.

  13. Project 13

    Photo Interrupter

    Runs here

    Block the slot of the photo interrupter on pin 3 and the LED on pin 13 follows.

  14. Project 14

    Capacitive Touch

    Runs here

    A touch pad on pin 2 lights the LED on pin 13.

  15. Project 15

    Knock Module

    Runs here

    Knock 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.

  16. Project 16

    Hall Magnetic Sensor

    Runs here

    Bring 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.

  17. Project 17

    Line Tracking Sensor

    Runs here

    A line sensor on pin 3 tells a black line from a white floor.

  18. Project 18

    Infrared Obstacle Avoidance

    Runs here

    Something in front of the obstacle sensor on pin 3 lights the LED on pin 13.

  19. Project 19

    PIR Motion Sensor

    Runs here

    Movement in front of the PIR sensor on pin 3 lights the LED on pin 13.

  20. Project 20

    Flame Sensor

    Runs here

    A flame near the sensor on pin 2 lights the LED on pin 13.

  21. Project 21

    Vibration Sensor

    Runs here

    A shake on pin 3 fires an interrupt and lights the LED on pin 13 for half a second.

  22. Project 22

    Analog Gas Sensor

    Runs here

    An MQ-2 gas sensor on A0: more gas, a higher reading.

  23. Project 23

    Analog Alcohol Sensor

    Runs here

    An MQ-3 alcohol sensor on A0: the reading climbs with the vapor.

  24. Project 24

    Digital IR Transmitter

    Runs, with a change

    An 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.

  25. Project 25

    Digital IR Receiver

    Runs here

    An IR receiver on pin 11 decodes the remote’s buttons.

  26. Project 26

    Rotary Encoder

    Runs here

    An encoder on pins 2, 3 and 4 counts clicks each way, with an LED for each direction on 5 and 6.

  27. Project 27

    LM35 Linear Temperature

    Runs here

    An LM35 on A0: 10 millivolts a degree, printed in Celsius.

  28. Project 28

    18B20 Temperature Sensor

    Runs here

    A DS18B20 on pin 2 reads the temperature over one wire.

  29. Project 29

    ADXL345 Three Axis Acceleration

    Runs here

    An ADXL345 on the I2C pins reports X, Y and Z as you tip it.

  30. Project 30

    DHT11 Temperature and Humidity Sensor

    Runs here

    A DHT11 on pin 4 reports the humidity and the temperature.

  31. Project 31

    Bluetooth Module

    Runs, with a change

    An 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.

  32. Project 32

    TEMT6000 Ambient Light

    Runs here

    A TEMT6000 ambient light sensor on A0: brighter light, a higher reading.

  33. Project 33

    SR01 Ultrasonic Sensor

    Runs, with a change

    An 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.

  34. Project 34

    Joystick Module

    Runs here

    X on A0, Y on A1 and the push switch on pin 3, printed together.

  35. Project 35

    DS3231 Clock Module

    Runs here

    A 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.

  36. Project 36

    5V Relay Module

    Runs here

    A relay on pin 8 clicks on and off every two seconds, switching an LED.

  37. Project 37

    Vapor Sensor

    Runs here

    A 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.

Learning path

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.

Level up

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.

In the box

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.

For the manual

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.

QR code for mokxi.com/k/keyestudio-37

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.

FAQ

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.

Keep going

Other kits

Companion pages for more starter kits.

ELEGOO UNO R3 Super Starter Kit
25 lessons, 24 run in the browser
ELEGOO UNO R3 Most Complete Starter Kit
48 lessons, 44 run in the browser
Arduino Starter Kit
15 lessons, 15 run in the browser
Freenove Ultimate Starter Kit
42 lessons, 42 run in the browser
ELEGOO UNO R3 Basic Starter Kit
11 lessons, 10 run in the browser
SunFounder Starter Kit for Arduino Uno R3
23 lessons, 23 run in the browser
SunFounder Inventor Lab Kit
34 lessons, 33 run in the browser
REXQualis UNO R3 Super Starter Kit
22 lessons, 21 run in the browser
LAFVIN Super Starter Kit
28 lessons, 27 run in the browser
Freenove Ultimate Starter Kit for ESP32-WROVER
54 lessons, 44 run in the browser
SunFounder Kepler Kit for Raspberry Pi Pico W
63 lessons, 48 run in the browser
Freenove Ultimate Starter Kit for Raspberry Pi Pico
56 lessons, 50 run in the browser
keyestudio Super Starter Kit
Projects you can build with its parts
Vilros Arduino Uno 3 Ultimate Starter Kit
Projects you can build with its parts
SunFounder Universal Maker Sensor Kit
Projects you can build with its parts
SunFounder ESP32 Ultimate Starter Kit
Projects you can build with its parts
Adafruit MetroX Classic Kit
Projects you can build with its parts
MonkMakes Electronics Kit 1 for Raspberry Pi Pico
Projects you can build with its parts
Kitronik Discovery Kit for Raspberry Pi Pico
Projects you can build with its parts
Kitronik Inventor’s Kit for the Raspberry Pi Pico
Projects you can build with its parts
Keyestudio ESP32 Learning Kit Ultimate Edition
Projects you can build with its parts

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.