Source: https://mokxi.com/ideas/lamp-projects
Updated: 2026-11-17

Projects / Project ideas
Project ideas by part

# Projects with a lamp

25 Mokxi projects use a filament lamp (8 beginner, 12 intermediate and 5 advanced). They run on Arduino Uno and ESP32 boards, and 4 need no board at all. Here are 24, from “ULN2803A switching four 12 V lamps” to “Pressure tank monitor”. Each card says what the project does, the board and parts it needs and its level, and Open in the simulator runs it in your browser in one click, with no account.

First project

## How to pick your first one

- Start with “One cell to 12 V”, a beginner project that needs a battery: AA, an MT3608 boost converter module and a lamp.
- Arduino Uno runs 19 of them, ESP32 2 and 4 need no board at all. Start on the board you have, or on an Arduino Uno if you are buying one.
- The parts used most here are the LED (7 projects), the push button (6) and the slide switch (6). With those on hand, most of this list is open to you.
- Before you build one on a real bench, open the filament lamp part page for its pins and what each one does.

Projects

## 24 projects of 25

### ULN2803A switching four 12 V lamps

Four slide switches on a ULN2803A's inputs, four 12 V lamps on its outputs: each channel sinks its lamp to about 0.87 V.

Board

No board

Parts

ULN2803A Darlington array, slide switch, filament lamp

Level

Beginner

Open in the simulator

### One cell to 12 V

An 18650 cell into an MT3608 boost module set to 12 V lights a 12 V lamp, and keeps it lit at 12 V as the cell runs down.

Board

No board

Parts

Battery: AA, MT3608 boost converter module, filament lamp

Level

Beginner

Open in the simulator

### A 3S LiPo to 5 V with an MP1584

A three-cell LiPo into an MP1584 buck module set to 5 V lights a 6 V lamp, and the output holds 5 V as the pack runs down.

Board

No board

Parts

Battery: AA, MP1584 mini buck converter, filament lamp

Level

Beginner

Open in the simulator

### IR remote control relay module

IRremote and a 21-key handset: keys 1 to 4 toggle the four channels of a relay board, each switching a 12 V lamp, and 0 turns them all off.

Board

Arduino Uno R3

Parts

IR remote, IR receiver and remote, four-channel relay board, DC jack and adapter, filament lamp

Level

Beginner

Open in the simulator

### Bluetooth home automation with relays

An HC-05 and a four-relay board: send 1 to 4 from the module’s box, as a phone app does, and that lamp toggles; A and a switch them all, ?

Board

Arduino Uno R3

Parts

HC-05 Bluetooth module, resistor, four-channel relay board, DC jack and adapter, filament lamp

Level

Beginner

Open in the simulator

### PIR motion light with a relay

After dark, an HC-SR501 PIR switches a 12 V lamp on through a relay, and it goes off 20 s after the last movement; a light sensor keeps it off by day.

Board

Arduino Uno R3

Parts

PIR motion sensor, photoresistor module, relay module, DC jack and adapter, filament lamp

Level

Beginner

Open in the simulator

### 12 V lamp dimmer with a MOSFET module

A knob on A0 sets the PWM on pin 9, and a D4184 MOSFET module dims a 12 V lamp on a wall adapter with it: the pin switches the gates, not the lamp.

Board

Arduino Uno R3

Parts

Potentiometer, D4184 MOSFET module, DC jack and adapter, filament lamp

Level

Beginner

Open in the simulator

### Lamp power meter

A MAX471 board in a 6 V lamp’s supply lead: the volts, milliamps and milliwatts on a 16x2 I2C LCD, and the surge a cold filament draws.

Board

Arduino Uno R3

Parts

Current and voltage sensor, push button, filament lamp, bench power supply, I2C LCD

Level

Beginner

Open in the simulator

### Two AC lamps on an SSR board

A two-channel G3MB-202P solid-state relay board switches two 12 V AC lamps from an Uno: each channel is on while its pin is LOW.

Board

Arduino Uno R3

Parts

SSR board, signal generator, filament lamp

Level

Intermediate

Open in the simulator

### Energy meter

An INA228 on a 12 V load adds up the joules and coulombs through its shunt, and an OPT3001 reads the light falling on the panel that would charge it.

Board

Arduino Uno R3

Parts

Power and energy monitor, filament lamp, ambient light

Level

Intermediate

Open in the simulator

### Solid-state relay on 24 V AC

An SSR-25DA on pin 7 switches two 12 V lamps on 24 V AC, on two seconds and off two: it turns on at a zero of the AC and off at the next current zero.

Board

Arduino Uno R3

Parts

Solid-state relay, signal generator, filament lamp

Level

Intermediate

Open in the simulator

### ESP32 async web server: BME280, slider and relay

ESPAsyncWebServer serves a page with BME280 temperature, humidity and pressure, a slider that dims an LED and a button that switches a relay.

Board

ESP32 DevKit V1

Parts

BME280 weather sensor, resistor, LED, relay module, DC jack and adapter, +1 more

Level

Intermediate

Open in the simulator

### Two rails

An INA226 on a 12 V load and an INA3221 on a 5 V one: each rail’s voltage and current, and the power, on one I2C bus.

Board

Arduino Uno R3

Parts

Power monitor, filament lamp, three-channel current monitor

Level

Intermediate

Open in the simulator

### Solar battery monitor with an INA3221

One INA3221 reads a solar panel, an 18650 and its load on three channels, and a 20x4 LCD shows volts, currents and whether the cell is charging.

Board

Arduino Uno R3

Parts

Three-channel current monitor, solar panel, li-ion charger, battery: AA, filament lamp, +1 more

Level

Intermediate

Open in the simulator

### LM393 night light with a ULN2003A

An LM393 compares an LDR with a knob, its open-collector output pulled up by 10 k.

Board

No board

Parts

Photoresistor, resistor, potentiometer, LM393 dual comparator, ULN2003A Darlington array, +1 more

Level

Intermediate

Open in the simulator

### Lamp inrush

An Uno switches a 6 V filament lamp with a MOSFET and samples its current every millisecond: the surge of a cold filament.

Board

Arduino Uno R3

Parts

MOSFET, resistor, filament lamp, battery: AA

Level

Intermediate

Open in the simulator

### Bidirectional visitor counter

Two IR sensors at a doorway tell people coming in from going out, an I2C LCD shows IN, OUT and inside, and a relay lights the room while anyone is in.

Board

Arduino Uno R3

Parts

FC-51 IR obstacle sensor, relay module, DC jack and adapter, filament lamp, I2C LCD

Level

Intermediate

Open in the simulator

### Four AC lamps on an IR remote SSR board

Keys 1 to 4 on an IR handset toggle the four channels of a G3MB-202P solid-state relay board, each switching a 12 V AC lamp; 0 turns them all off.

Board

Arduino Uno R3

Parts

IR remote, IR receiver and remote, SSR board, signal generator, filament lamp

Level

Intermediate

Open in the simulator

### Turn signals and hazard flasher

Left, right and hazard buttons flash two 12 V bulbs a side through a relay board at 90 a minute.

Board

Arduino Uno R3

Parts

Push button, resistor, LED, two-channel relay board, INA219 current monitor, +3 more

Level

Intermediate

Open in the simulator

### Smart home hub

An ESP32-C3 web dashboard that switches a lamp and a fan through relays, dims a porch light, reads temperature, humidity and motion.

Board

ESP32-C3-DevKitM-1

Parts

Two-channel relay board, filament lamp, DC motor, LED, resistor, +4 more

Level

Advanced

Open in the simulator

### Heated bed PID

A 100k thermistor, a MOSFET heater and a PID loop holding a modeled bed at its target.

Board

Arduino Uno R3

Parts

Resistor, 10k NTC thermistor, MOSFET, filament lamp, slide switch, +1 more

Level

Advanced

Open in the simulator

### Water heater thermostat

A thermistor, a setpoint knob and an SSR-switched lamp for the element: an 8 F hysteresis band plus a latched high-limit cutout.

Board

Arduino Uno R3

Parts

10k NTC thermistor, resistor, potentiometer, push button, LED, +3 more

Level

Advanced

Open in the simulator

### Generator transfer switch

The control logic of an automatic transfer switch with low-voltage stand-ins: two interlocked contactors that never both close.

Board

Arduino Uno R3

Parts

Push button, resistor, LED, transistor, slide switch, +2 more

Level

Advanced

Open in the simulator

### Pressure tank monitor

A pressure transducer and a pump relay run a 40/60 or 30/50 psi cut-in and cut-out, count pump cycles and run time, and flag short cycling.

Board

Arduino Uno R3

Parts

0.5 to 4.5 V pressure sender, relay module, filament lamp, slide switch, push button, +2 more

Level

Advanced

Open in the simulator

Keep going

## Wiring, libraries and more ideas

The filament lamp part page Every project ideas list

### Library pages

- LiquidCrystal I2C library
- IRremote library
- Adafruit BME280 library
- Adafruit INA219 library
- Adafruit Unified Sensor library
- Async TCP library

### More project ideas

- Arduino Uno project ideas
- Electronics projects with no code
- ESP32 project ideas
- LED projects for Arduino, ESP32 and Pico
- Projects with a push button
- Projects with a slide switch
- Projects with a relay module
- Projects with an I2C LCD
- Projects with a potentiometer
