Rising and Falling Edge triggered one-shot

Jan 11, 2018 42 Replies

I had a quick look at the ATM168 datasheet and not only does it support several decent power saving modes it also supports interrupt on any transition for certain pins whilst in a low power state.

You will have to write an interrupt handler but that need not be a very complex one just something that does whatever you want to do and returns to sleep mode again. You might need to deal with the situation where the down transition occurs whilst you are processing the up transition or vice-versa (but that would be a problem for a hardware one shot too).

So long as you keep the overall power consumption under 5uA you will find that in service battery life pretty much depends on ambient temperature and how badly stored the battery was before you bought it.

Regards, Martin Brown

That's what depletion mode FETs and charge pumps are for :-)

Regards, Joerg http://www.analogconsultants.com/

I'd say nearly all of us.

Absolutamente. Ted would be missing out on most of the good stuff these days. I adopted SMT in 1986 and never looked back. It's actually easier to hand-solder than through-hole, no constant turning around of the board, nothing falls back out because the wires weren't bent sideways enough. Another nice thing is that resistors and capacitors can be stacked for trimming experiments or when the correct value is not at hand.

Ted: You can get what is often called "surfboards" that adapt SMT to through-hole. You could also just use those "copper-striped" boards and cut or score out a center line in each strip which would give you the

0.05" spaing of SO packages. It's easy once you get the hang of it. For soldering fine stuff the ETS tip for Weller irons works great.

Horror story that really happened: A friend was soldering a digital through-hole board, didn't immediately notice that one IC had slipped out when turning the board, the phone rang, he got up, pushing himself off the table with one hand .... YOOOUUUWWEEE ... all IC pins were solidly embedded in his palm. He had sort of a DIP-16 tattoo for a long time.

Regards, Joerg http://www.analogconsultants.com/

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required