Good stuff, Thanks Sheldons. Look forward to it.Im in the middle of redesigning your circuit to give you a pulsed alarm tone after a short delay when the fridge door has opened,all solid state with no relays.
Yeah, I'm here. Sorry I'm in Australia, time difference.You there boss?
That is what you are meant to be doing. Each circuit is a building block entity. Redesigning the wheel with every design isn't what it is about.I adopted other circuits together to do what I wanted it to do, but I am learning as I go.
Looks good. I take it that the capacitor from pin 6, the variable resistor and the connecting resistor set the frequency of the oscillator?.Heres the schematic for the gated osc section of the alarm ,the rest is on its way shortly...
So Electronic Engineers use project management too. So how do you go from the block diagram to component level?For example, I require a block at the moment that dosen't seem to exist. I need a cheap universal approach using obsolete parts to interface an MCU to a TV or computer monitor.
So I am screwed, I have no choice but to invent because there isn't anything already out there that is what I require.
Yes, that's pretty much how it goes, like software programming. For bigger projects, it's literally a collection of "Black Boxes" that plug together with standard power and I/O and the entire system (theoretically) works when power is applied. Once it is found that it barely functions correctly if at all, then it is all ripped apart, and built in a sane manner. Again, just like software programming.So Electronic Engineers use project management too. So how do you go from the block diagram to component level?
Do you just sort of look at what is needed at each block and think of what circuit could do that particular task and then put them together later to form the entire circuit?
Looking forward to itheres the front end so far,shall do the rest shortly as one file
Yeah, it does. This is it here. Once again, thank-you for your services.I need to know if the buzzer/sounder you are using has its own osc built in so i can design the driver to suit and the time for the delay before the alarm sounds is variable ,havnt put any component values there yet and will add the extra so it beeps as you open the fridge door.....
Sheldons is kinda on a mission for me, but I would still like to have a look at the schematic though.Wow, I can't believe I missed this thread. I built a fridge door sensor as a lark a few years back, mostly to have an excuse to work with the tiniest microcontroller available.
Door sensing is done with a photoresistor (R2), so it is detecting light not a switch. You could replace that with the switch if you want. I drew this from memory, if there is interest I'll dig op the full project files. I even still have the prototype on hand (and it is still running, it beeps when I open the project box).
![]()
R1 was as large as I could make it, it might even be 10 or 22 Meg. The goal is to drive the current to as low as possible. The micro U1 spends most of the time in sleep mode using a microamp if that. A change in light triggers the pin that wakes the micro up to start timing and driving a sonalert beeper. It runs for at least a year on it's own off a single coin cell battery the size of a quarter.
That IS the schematic. You are missing the source code/program for the microcontroller.Sheldons is kinda on a mission for me, but I would still like to have a look at the schematic though.
Oh ok. How is the timing done without a capacitor?.That IS the schematic. You are missing the source code/program for the microcontroller.
Internal oscillator on the microcontroller. They are pretty awesome devices. $50 to get started (PICKit 2 and demo board from microchipdirect.com), $1 or less for that uC, 5 minutes to run iwres to program it, then wire it up as shown.Oh ok. How is the timing done without a capacitor?.
Interesting. I will put that in the maybe pile for now, may take me awhile to learn how to program it with what I want it to do.Internal oscillator on the microcontroller. They are pretty awesome devices. $50 to get started (PICKit 2 and demo board from microchipdirect.com), $1 or less for that uC, 5 minutes to run iwres to program it, then wire it up as shown.
Cool part, the PICKit 2 is a cone time cost, so thousands of previously c"hard" or "complicated" projects come within easy grasp if you know any programming language, or are willing to learn.