Post Created date
Power AVR from 24V AC
I'm no expert, but that should be low enough to run through a bridge, cap and then either linear (not too efficient) or switching regulator. It'd be a 2-chip + caps (plus inductor...
Friday, 17 November 2006 - 16:24
AVR Simulators
not 4000+ units being tested, 4000+ "unit tests" meaning 4000+ simple tests geared at a particular subsystem/scenario/input/behaviour/etc.
Tuesday, 14 November 2006 - 00:02
Accumulating Average?
I love it when topics get completely off track and noone even answers the original question asked... =) To provide yet another non-answer, I remember going over something like...
Wednesday, 8 November 2006 - 15:26
Serial Bit-bang Programmer w/ MAX232
I eventually gave up on the max232 and went to the 5v1 zener solution. Works like a charm. I don't know exactly why the max232 wasn't working, as since you can invert pins with...
Tuesday, 7 November 2006 - 15:54
RPM Meter and speed controller? help
Suppose so, but if you've got nothing else to do, might as well poll it full speed. There shouldn't be more to do than the CPU can cope with between interrupts if that's the only...
Tuesday, 7 November 2006 - 04:29
Bits in a hex bytes
He doesn't need how many bits it takes to store a variable of size large enough to represent the number, he just needs how many bits (assuming we have variables of all bit sizes)...
Tuesday, 7 November 2006 - 04:06
RPM Meter and speed controller? help
Quote:1. for reading pulse from optocoupler which way the best to use: External INT0 or Input Capture interrupt?Why? Might as well use an input capture interrupt. You're going to...
Tuesday, 7 November 2006 - 03:24
Bits in a hex bytes
Looking back at your post, maybe I misunderstood what you want. If you want to count the number of bits required to represent that number, then this will probably work: int...
Tuesday, 7 November 2006 - 02:49
Bits in a hex bytes
There's a few ways to do it, depending on whether you need it fast, memory efficient, etc. Probably the fastest way is a lookup table. Something like: int setBits[256] = { 0, 1...
Tuesday, 7 November 2006 - 02:45
EX rated micro switch
Think it's got to do with being certified for use in environments containing hazardous vapours. (ie. he needs a switch that's certified not to arc and blow up all the fumes in...
Monday, 6 November 2006 - 22:31
How do I serial download to flash?
If you can enter programming mode and do other stuff correctly, at least you've got the hard parts done =) What exactly are the commands you're trying to use to program a page of...
Monday, 6 November 2006 - 06:12
Reprogram fuse bit after setting clock source to external
Or just buy an oscillator chip. They're only a few dollars and are handy in cases like this. Just hook up the clock out to XTAL1 and the VCC and GND to a 5V supply and use it to...
Friday, 3 November 2006 - 15:50