---
created: 2026-06-07
Index: "[[Odin]]"
tags:
  - software
  - electrical
  - table-candles
source:
active: false
completed: 2026-07-01
---
# Goal

Create good looking PWM based candles that are mounted to the table in Odin's Dilemma.  This will remove the need to replace batteries in the candles, saving money and simplifying the room reset.
## Tasks

- [ ] Buy caps ➕ 2026-07-11 
- [ ] Install wooden caps over screws ➕ 2026-07-11 
- [x] Create good looking candles
	 - [x] Wax dripping down
	 - [x] Base: screw holes for mounting, secured in candles
	 - [x] Wires go out
 - [x] Create LED s with resistors
	 - [x] Resistors wired directly to LEDs (for 12 v) so it is clean
	 - [ ] Place LED s in candles
 - [x] Wire 3 mosfet boards
	 - [x] Test mosfet boards with LED s on test rig
 - [x] Create path for wires from mosfet/raspberry pi
 - [x] Route wires to candle locations
 - [x] Mount candles to table ✅ 2026-07-11
	 - [x] Wooden/3d printed base to hold candles together? ✅ 2026-07-11
 - [x] Wire candles ✅ 2026-07-11
 - [x] Software ✅ 2026-07-11
	- [x]  PWM control for the 2 mosfet boards
	- [x] Integrate into the escape room control ✅ 2026-07-11

## PWM Candles Software

1. User inputs the desired LED pins (via mosfets) to program
2. Program sets them as output
3. Program flickers each pin simultaniously, but with different flicker rates.
## References:
