Discussion Title | Created date |
---|---|
Waterproof a rotary encoder I've got a small Sharp mechanical rotary encoder with 24 detent positions (11) and I want to know how I can make it waterproof. CW = 11 10 00 01 11 CCW = 11 01 00 10 11 What I do... |
Saturday, 24 December 2005 - 20:16 |
PWM 2313 Gday I setup the PWM function on a AT90S2313, output at PB3 (OC1) Xtal is 4MHz. Timer1 running @ ck/64, PWM OC1 clear and 8-bit mode, but a measure a PWM period of about 8msec on... |
Friday, 23 December 2005 - 22:49 |
PWM, servo and jitter What is the problem with jitter and PWM? How can I filter a normal i/o, so that I have no more jitter? I need 12 PWM signals, I can take 12 tiny's or 2 mega128's, then I have real... |
Friday, 16 December 2005 - 18:06 |
Saving registers using double 8) I am using a lot of registers (almost all lower, one left), so now I use doubles. Program size increases a littlebit. How can I do the next piece of code shorter... |
Wednesday, 7 December 2005 - 22:26 |
Interrupt at pinswitch problem Here I am again... :oops: I have a circuit with LED's, and when an timer1 interrupt occurs sometimes I see the LED's switch on and off very fast. Now I use cli to disable the... |
Tuesday, 6 December 2005 - 19:03 |
No tiny AVR with 16bit timer and ADC? Which AVR (tiny) has a 16bit timer and ADC and goes up to 20MHz clock? Seems none? Only ATmega48/88. Before there was an all AVR table on this website with all the features with... |
Tuesday, 6 December 2005 - 13:36 |
How calculate T from f? I want to calculate T=1/f. But how can I devide 1/f? This will be very small numbers when f gets greater. Difficult? :roll: |
Monday, 5 December 2005 - 15:31 |
Interrupt when ADC is converting? Can an interrupt occur when the ADC is converting? What happens with the conversion? :roll: |
Sunday, 4 December 2005 - 19:48 |
What is the lowest PWM freq. possible? I wonder what is the lowest PWM frequency possible for an AVR? Highest is 500kHz fast PWM, but is there also a slow PWM function (trick)? :roll: |
Sunday, 4 December 2005 - 18:37 |
if X < 46 and Y < 46 then do something A problem. How can I do in ASM? if X... |
Friday, 2 December 2005 - 19:47 |
Using multiple ADC channels How does multiple ADC channels work? I understand does you have to run the ADC in free running mode, and wait until conversion complete interrupt occurs, then switch the ADMUX? Is... |
Friday, 2 December 2005 - 13:06 |
0 - 1023 from 1023 - 0 8) I have a 10k pot hooked to an ADC input (ATtiny26), but the turn direction is wrong, now going from 1023 to 0 when I turn right, I want it going from 0 - 1023 when turning... |
Monday, 28 November 2005 - 22:05 |