Post Created date
Input Capture - changing edge detection inside interrupt
P47_R1ck wrote:I use a button connected to the ICPn pin   Mechanical buttons are a very poor source of transitions, since they bounce.   Whenever you change the...
Monday, 19 March 2018 - 10:25
Microcontroller with external or embedded CAN interface.
An internal CAN controller cause many times lesser CPU load. All registers are internal mapped inside the memory space. No need to transfer data and controls over the SPI...
Tuesday, 14 November 2017 - 14:18
Single shot ADC measurements corrupted by multiple timer ISR's
SpmP wrote:fastCallback += 1; // ... fastCallback();   I wonder, if incrementing a function pointer would give useful behaviour instead rubbish.
Friday, 27 October 2017 - 12:15
Coding adjustment for ATTiny13A, Charlieplexed LED Circuit
awneil wrote:If you need to be able to have any arbitrary combination of LEDs on together, then Charlieplexing is (probably) not the right choice anyhow.   No problem, if you...
Thursday, 26 October 2017 - 14:39
ATMEGA1284P
There are no differences on the ATmega1284 and ATmega1284P, but the signature differs. But on AVRs with big differences, e.g. ATtiny2313 and ATtiny2313A (two interrupt sources...
Thursday, 26 October 2017 - 13:50
ultra high speed process control
Typically a dc-dc converter contain some storage devices (inductor, capacitor), which allow no fast current and voltage changing, so no very fast reaction was needed. E.g. I use...
Thursday, 26 October 2017 - 08:21
Coding adjustment for ATTiny13A, Charlieplexed LED Circuit
Charlieplexing was invented from MAXIM and need special driver circuits with high current capability on one side and constant current sources on the other. E.G. the MAX6950 was...
Thursday, 26 October 2017 - 07:24
7 segment digital clock with AT89S52 - running fast !!
Please edit your posts and attach the code instead inserting as text !!!   Inserting was only appropriate for small snippets (about 10 lines), but not for huge programs....
Friday, 19 December 2014 - 11:51
What methods are there for a software UART for reading?
https://www.avrfreaks.net/project...
Thursday, 4 December 2014 - 08:30
How to Utilize Watch Dog Timer (WDT) Atmega8 Newbie
asking wrote:Now what if i want to implement WDT timer( To enable auto reset when processor DB gets corrupted due to EMI). The WDT was fully useless on EMI problems. The WDT was...
Friday, 29 August 2014 - 09:45
software UART with attiny85
graymalk wrote: Why is the bit length 1e6/baud? Because _delay_us( 1e6 ) = 1s and Baud = bits per second graymalk wrote: The c=~c line perplexes me. The shift operator shift...
Tuesday, 26 August 2014 - 19:12
software UART with attiny85
A simple and code saving transmit UART: void sputchar( uint8_t c ) { c = ~c; STX_PORT &= ~(1<<STX_BIT); // start bit for( uint8_t i = 10; i; i...
Tuesday, 26 August 2014 - 09:40

Pages