• 6 Posts
  • 31 Comments
Joined 1 year ago
cake
Cake day: June 20th, 2023

help-circle


  • Great, good luck with that :)

    Another thing that comes to mind: for audio purposes another technique used in ring modulators for audio effects is to use a mosfet switch to mix the signal with a square wave. This has more byproducts than mixing with a pure sine, but is a lot easier to do. Since you are downconcerting, it should not matter at all if you use a square wave, since the byproducts will all be (higher-order) harmonics of the local oscillator, which you’ll filter out anyway.








  • It’s not completely stupid. One pissible issue: when the light level is around the threshold, slight variations (think: cloud passing by) will cause the relay to switch back and forth quickly. This can be solved with some additional parts (keyword: hysteresis).

    I would recommend using a microcontroller, it makes this problem easy to solve, plus you can have more logic to trigger the lights (eg time based).

    Another thing is turning off: if it’s purely based on light level, you need to make sure the sensor does not “see” any of the LED light, otherwise it thinks the sun is back up