Updates
This commit is contained in:
42
Notes/Odin - PWM Candles.md
Normal file
42
Notes/Odin - PWM Candles.md
Normal file
@@ -0,0 +1,42 @@
|
||||
---
|
||||
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:
|
||||
@@ -1,17 +0,0 @@
|
||||
---
|
||||
created: 2026-06-08T14:10:00
|
||||
Index: "[[Odin]]"
|
||||
tags:
|
||||
- software
|
||||
- table-candles
|
||||
source:
|
||||
---
|
||||
# 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:
|
||||
@@ -1,35 +0,0 @@
|
||||
---
|
||||
created: 2026-06-07T14:31:00
|
||||
Index: "[[Odin]]"
|
||||
tags:
|
||||
- software
|
||||
- electrical
|
||||
- table-candles
|
||||
source:
|
||||
---
|
||||
# PWM Candles
|
||||
---
|
||||
|
||||
## Steps
|
||||
- [ ] Create good looking candles
|
||||
- [ ] Wax dripping down
|
||||
- [ ] Base: screw holes for mounting, secured in candles
|
||||
- [ ] Wires go out
|
||||
- [ ] 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
|
||||
- [ ] Mount candles to table
|
||||
- [ ] Wooden/3d printed base to hold candles together?
|
||||
- [ ] Wire candles
|
||||
- [ ] Software
|
||||
- [x] PWM control for the 2 mosfet boards
|
||||
- [ ] Integrate into the escape room control
|
||||
|
||||
|
||||
|
||||
---
|
||||
## References:
|
||||
@@ -1,41 +0,0 @@
|
||||
---
|
||||
created: 2026-06-25T13:24:00
|
||||
Index: "[[Retro]]"
|
||||
tags:
|
||||
- electrical
|
||||
- software
|
||||
- speaker
|
||||
source:
|
||||
---
|
||||
# Record Puzzle
|
||||
---
|
||||
|
||||
## Needed
|
||||
- 6 record slots that read records with RFID reader to check if it is the correct record
|
||||
- Songs of correct record play on speaker below each record holder
|
||||
- Hand sensor for someone to place hand on record holder, then song plays
|
||||
|
||||
## Constraints
|
||||
- 1 Raspberry Pi
|
||||
- Limits of I2C
|
||||
- I2C bus supports up to 128 devices, but limits such as unique addresses, and bus capacitance limit that significantly, especially with longer wire lengths. Something similar to this might have been the issue with the SPI
|
||||
|
||||
## New Parts
|
||||
- New RFID readers, flat, I2C, new cable
|
||||
- Speakers
|
||||
- Already have 3 of 4 ohm 5 W speaker
|
||||
- Speaker Driver
|
||||
- Complicated, because it is 6 speakers, and different sounds, along with already having I2C used
|
||||
- Hand sensor
|
||||
- IR distance sensor?
|
||||
- I2C?
|
||||
- Speaker enclosure
|
||||
|
||||
## Considerations
|
||||
- Should the Raspberry Pi control the audio, or should it just send a signal to a separate board to trigger audio playing?
|
||||
- IE: each speaker has it's own little board with an amplifier and sound file, and plays on command
|
||||
- OR: Should the hand sensor trigger that directly, no need for the Raspberry Pi to control it?
|
||||
- It could send a signal to the Raspberry Pi so we know what is going on, but this simplifies the code, and I2C issue, and the multiple speaker driver issue.
|
||||
- Updated Idea: Hand sensor triggers the speaker driver, which has the sound file on it: [SpeakerDriver](https://www.amazon.com/Yuuhseel-Player-Support-Compatible-DFPlayer/dp/B0G133NWK3?s=electronics) But, the raspberry pi intercepts the signal, to know what is happening, and can turn it off with a mosfet board, or some other way when the correct record in inserted. I think that this keeps it simpler.
|
||||
|
||||
---
|
||||
Reference in New Issue
Block a user