Post Created date
Connecting Arduino directly to the serial port of an old PC (not USB)
Once you get the RS232 voltage levels that are coming out of your PC's Serial port to the levels of your AVR, then switch your lines so that the RX of the PC serial port goes to...
Thursday, 20 January 2022 - 17:32
Tx port is constantly high even after enabling serial communication
I suspect that your baud calculation is not correct.  For the baud register values with 16MHz clock and 9600 baud, do:   9600 * 16  = 153,600   ...
Tuesday, 18 January 2022 - 18:05
How to develop for legacy AVRs using Arduino IDE?
I also recommend not using 90S8515 in any new designs if you are using Arduino.  If you have several tubes of these chips, then I suggest selling them on eBay, as user westfw...
Sunday, 16 January 2022 - 21:47
Atmega16, how to verify if its dead...
First verify voltage and signals at the pins of the ATmega16 IC itself. Get a sewing needle and clamp it into the alligator clip or scope probe.  A good wrap-around-the-...
Sunday, 16 January 2022 - 21:15
ICC V8 Compiler question
Here's an example of using strings that have been stored in flash memory:   const char DOW0[] PROGMEM = "Sunday"; const char DOW1[] PROGMEM = "Monday"; const char DOW2[]...
Tuesday, 11 January 2022 - 19:43
Cheap sine wave, and DAC
You should get some of these I2S DAC ICs:https://www.ebay.com/itm/1916742...   16-bit dual serial DAC CD-audio quality for less than $1 each.  Why fool around with...
Tuesday, 11 January 2022 - 14:53
Is it cooperative scheduling
You should declare a global volatile unsigned long variable (for example: milliCount) and initialize it to 0x0000.  Then set the timer to interrupt every millisecond and...
Friday, 7 January 2022 - 12:54
become a pro in embedded systems for just $6
The embedded-systems industry is one of the few in the world where it is possible to bypass the HR departments of the corporate world through your knowledge and skills.   The...
Thursday, 6 January 2022 - 21:15
FATFS: How to understand basic functionality?
I suggest downloading the Arduino IDE and looking at the code for the SD card library that included with the IDE download.   The code is extensive in this library and it...
Thursday, 6 January 2022 - 20:54
USART waveform question
I don't believe that the formula for baud rate is correct.  I know...I know...the datasheet says ...  But, at this point, I really don't trust anyone at Atmel to write...
Tuesday, 4 January 2022 - 14:08
Interrupt to toggle LED
If you want to clear DDRD2, use void INT0_Init (void) { DDRD &= ~(1 << PD2);  I, also, suspect that this is a bouncing push-switch.   You can add a...
Monday, 3 January 2022 - 14:24
AVR DB - GCC - first experiment with interrupt (from USART0), appliation restarts when first character received by USART0
Your main() loop should actually have a loop in it, like   { while(1);  }  after the sei().  Otherwise, main() simply executes random instructions after...
Saturday, 1 January 2022 - 22:46

Pages