Post Created date
USART
The 32.768kHz crystal refers to a real-time clock internal function (current hours:minutes:seconds) found on the Mega644. If the AVR is using this internal clock, then it will...
Sunday, 27 June 2021 - 20:22
Mega328PB Is Interpreting I2C ACKs as NACKs
Is this chip a Texas Instruments  TCA6424A and not a "TCA2464A"?  
Friday, 25 June 2021 - 15:09
random numbers using ADC
So you're using an Arduino, right?   You didn't tell us, but you did mention "analogWrite()" which is only found in the Arduino URL.   The AVRs used in the two...
Wednesday, 23 June 2021 - 15:18
ADC Result shift
   Get rid of the _delay_ms(300); statement.   All the necessary waiting is done in the uart_recieve() function.    By the way, how did you manage to...
Wednesday, 23 June 2021 - 14:43
What should I buy to do a basic project based on CAN protocol 
Your ability to "do CAN project" is limited to your current level of knowledge of microprocessor internals and computer networking.  It will also depend on your ability to...
Wednesday, 23 June 2021 - 14:15
Frequency meter
Let's all just assume that the poster means four 7-segment LED units for the frequency display and that the frequency is going to range from 0 to 9999 Hz. And assume that the...
Monday, 21 June 2021 - 19:36
How can I operate a servo using 8-bits on Fast PWM
I assume that you have three periods here:  the first is logic High for 1 milliSecond,  the second is logic High with a variable length between 0 and 1000 microseconds,...
Saturday, 19 June 2021 - 21:58
Interrupts
I assume that you are testing this with a push button on INT1.  When you press this button, you will get most likely many tiny pulses because the button has no debouncing....
Saturday, 19 June 2021 - 21:22
'interrupt set' was not declared in the scope
Your Timer2 interrupt is way too long!  The interrupt routine should only set a global volatile boolean flag which indicates to the main code that the Timer2 interval period...
Saturday, 19 June 2021 - 20:58
ATmega328P: I2C/TWI Slave+Read
In the MPU8060, the slave register 3B contains only one byte of data.  All the registers have one byte of data.  To read 14 bytes of data starting at register 0x3B, call...
Tuesday, 15 June 2021 - 17:23
Anyone have a working WS2812 Library for the DAs?
Each WS2812 module consists of three internal LEDs: Green, Red, and Blue.  Each LED has 255 levels of brightness (8 bits).  To select a color and light the WS2812, ...
Monday, 14 June 2021 - 20:14
I installed Optiboot onto my ATmega324PB, how do I get applications on it now?
I suggest that you completely stop trying to use a bootloader on your ATmega324PB, and use the standard ISP method of loading flash code and EEPROM values.  I believe that...
Saturday, 12 June 2021 - 18:22

Pages