Post Created date
Fail to re-enter sleep mode
There is nothing in this code that explains what any of the sleep routines are actually doing.   What sleep library are you using?   On the Mega328P-based Arduinos...
Thursday, 20 August 2020 - 15:49
Is it possible to use Two Clock Source in One AVR
From reviewing the datasheet, I believe that it would be possible to use the PLL on Timer1 and the 1MHz system clock on Timer 0. Why would you want to do this?   What is...
Thursday, 20 August 2020 - 15:17
Confuse with USI as I2C
I caution against using USI as I2C unless you are an AVR expert: i.e. you can read the most obscure AVR data sheet and write test code to verify that it is correct and you...
Monday, 17 August 2020 - 14:29
Fail to re-enter sleep mode
AVR Mega328p has two types of pin interrupts.  The first is on Arduino pins D2 and D3.  These are the "external interrupts".  These are the ones that are configured...
Friday, 14 August 2020 - 21:43
Expend data section to external memory
The external memory extensions for the early AVRs (1997-2003 era, including the mega128) was designed to resemble the external memory on the Intel 8031, which was one of the most...
Friday, 14 August 2020 - 15:49
What is the best wireless network architecture for 1000 nodes...?
How are you powering these 1000 sensors?   And the CPU/XBEE that is attached to each sensor is powered by what?
Friday, 14 August 2020 - 02:17
Convert Atmega8 code to Atmega88
So you are a "beginner" and you want to turn 300+ lines of assembler-based C code into code that will work on a similar but internally-different CPU? It would be a miracle if this...
Monday, 10 August 2020 - 20:20
[ATmega4809] I2C Question
hello.   You are trying to adapt code for an ARM CPU's internal I2C peripheral to an AVR CPU without fully understanding the I2C process.   The ARM and AVR internal...
Monday, 10 August 2020 - 20:01
UART not working
I believe that your baud rate formula is wrong.  Try (FCPU/(16*baud) ) -1 .   The UART operates at 16 times the baud rate so that when it is receiving data, it can test...
Monday, 10 August 2020 - 19:26
Weird effect of AVR C on USB-serial communication.
Make one change at a time and observe how your one change affects your AVR system.   Do this version of the Arduino program before switching to the int main() format:...
Sunday, 9 August 2020 - 20:18
set_bit, clear_bit, and toggle_bit not changing I/O on AtMega328
Dear original poster,   If you are an advanced microprocessor development engineer with years of experience, then excuse me for "talking down".  I mean no...
Sunday, 9 August 2020 - 14:08
Programming an Rfduino, through arduino ide
I suspect that it would be best to go one step above the actual RFduino hardware in your approach.  Instead think of the situation as one to use a generic Bluetooth to...
Saturday, 8 August 2020 - 20:40