Post Created date
ATmega88 TWI communication with DS3231 not working
To use the DS3231, first write the current date and time to the internal registers (be sure that a battery is connected so that this data is not lost when the main power goes off...
Friday, 2 August 2019 - 01:37
Accurate Digital clock using only Atmega32 ?
I find that the best AVR real-time clock is to use an external module based on the DS3231 IC.  These modules sell on eBay for about $1 each:
Thursday, 1 August 2019 - 20:41
Split from: ATTINY13 timer and interrupts for reading RC receiver signal
The application is a frequency range detector.  The AVR should change the logic state on an indicator pin if the input frequency is between 3000 and 5000 Hertz.  Since...
Wednesday, 31 July 2019 - 19:26
3 external interrupts needed for older avr
The 90S1200 was the first AVR.  It had nothing but 16 or so I/O pins and maybe a timer, but no UART, I2C.   The modern pin-out equivalent is the Tiny2313.  But...
Wednesday, 31 July 2019 - 18:58
Reflow with hot air gun or kitchen oven?
Do not use the oven or the hot-air gun! They are both too hot and will float all the surface mount items on one side and make them all fall off on the other side.   Use a low...
Tuesday, 30 July 2019 - 17:17
Atmega2560 Uart Communication
You don't want to use a UART to send Manchester encoding.  The UART is a hardware device that only works with 8 bits that are framed with start and stop bits in order to...
Saturday, 27 July 2019 - 18:49
500 ohms
I don't know about that.  Back about 20 years ago when the record industry was fighting Napster someone pointed out that "pirates" could copy music by connecting a recorder...
Thursday, 25 July 2019 - 21:40
Why can't get precise 1 sec ON/OFF pulse - Attiny85?
A stable waveform with a wrong frequency in a timing/blinking program means either incorrect system clock, or wrong timer programming parameters.   Check and verify the...
Thursday, 25 July 2019 - 21:28
500 ohms
Use four 120 ohm resistors in series to make 480 ohms.    In the real world 480 ohms is as good as 500 ohms. Unless you have a very specific application, then use a 500...
Wednesday, 24 July 2019 - 21:21
What was your first micro programming experience?
Started home computing "late" in 1984 with a $50 Radio Shack little version Color Computer known as the MC10.  It had a Motorola 6803 CPU {which was a 6802 with a UART and an...
Wednesday, 24 July 2019 - 02:01
The AtMega32 goes strange in an arithmetic statement.
Try setting F_CPU to 12000000 instead of 12 if your clock speed is 12MHz.
Tuesday, 23 July 2019 - 00:34
TFT LCD Modules
Thank you for advertising your giant company's entire TFT product line in a message that has been posted in the tech-help-request section of our tiny website dedicated to a...
Saturday, 20 July 2019 - 19:52