I'm new to electronics and I'm working on a mini-project for college. The goal is to create an on/off switch using a photodiode, where the light switches on when you pass by once and turns off when you pass by again. I'm really starting from scratch and have set some personal rules: I want to fully understand everything I do, avoid using pre-made circuits, and no copy-pasting. I can look up explanations on YouTube, but I haven't found many helpful videos yet—most just show circuits and ask you to replicate them. If anyone has insights, tips, or video links that could help, I'd really appreciate it!
2 Answers
What do you mean by not using ready-made circuits? Are you planning to build everything from the ground up? It might be helpful to use basic components like resistors and transistors to make your own circuits while still learning the principles behind them. Just keep it simple!
It sounds like you might be looking for a flip-flop circuit to achieve that toggle action. A simple solution could use a comparator that detects changes in light levels. This way, when the light changes as you pass by, it will flip the state of your output, allowing you to control whatever device you want with it. It's a good way to learn about the components in action!

Nah, I’m definitely using basic components, just want to make sure I understand how to put them together without copying existing designs.