Post Created date
Home sensor network
I suggest using wire-wrap cabling to the various sections of your house.   Have each section communicate to the host CPU using I2C (which AVR calls TWI).   ...
Tuesday, 20 August 2019 - 22:37
If you can't do SPI and (I2C) TWI at the same time and you are interfacing with an SD card, then you need a bigger CPU variant.   I recommend the ATmega328P found on the...
Monday, 19 August 2019 - 23:51
Assembly problem using wavrasm.
It doesn't matter about the XP machine. Assemblers are simple programs.  In fact, they were the first simple programs on the first computers.   "The code shown above...
Monday, 19 August 2019 - 23:37
Basic info for the Atmega8515 AVR
The IC that you can't read is still most likely in good condition, however (it is likely) that the chip had its SPIEN fuse deactivated when it was previously written.   Try...
Sunday, 18 August 2019 - 21:19
Is there something wrong with this code?
  First of all, you are setting DDR A to all output, but putting the off/on data on port B.  Port B is still at its default DDR value of all inputs.  Writing 0x00...
Saturday, 17 August 2019 - 23:22
What was your first micro programming experience?
We knew that you weren't from Dover 'cause every child there picks up a piece of chalk from the white cliffs on their way to school.
Thursday, 15 August 2019 - 23:23
OpAmp/Voltage comparator as UART tx buffer?
In this situation I would recommend going as simple as possible.   You may not need any buffering for a total cable length of 25 feet (my part of the world has yet to "...
Thursday, 15 August 2019 - 23:17
"Still in start up territory: 6433344"
I would believe that the bootloader program got corrupted somehow.  Getting the same message at 9600 baud after using different programmers, CPU ICs, and test files would...
Thursday, 15 August 2019 - 01:42
I2C Issues (Rookie)
Try using the 7-bit address 0x1e in every place that you have HMC5883_ADDRESS.   0x3C is the 8-bit address, which is the 7-bit address shifted left by one bit.  I...
Monday, 12 August 2019 - 19:51
Assembly Language
I don't believe that the AT82S52 is an AVR-based chip.  I think that it is a clone of the 40-pin Intel 8052 (with internal ROM) that Atmel made before adopting the AVR design...
Tuesday, 6 August 2019 - 18:56
Craziest Encounter
I worked for a medical company that found one unit of our product had an unusual buzz.  I tried everything that I could think of, but could not find the source.  Our...
Tuesday, 6 August 2019 - 18:47
Learn Firmware
Is this "colleague" actually your teacher for a class in embedded microcomputers?   Why else would he care that you don't use Arduino?   Arduino is a hardware and...
Sunday, 4 August 2019 - 21:37