Post Created date
AVR Studio On Mac & Linux?
I am probably the only one here who likes Windows.  I have to.  Micro$oft is paying for my retirement.  My wife worked at Microsoft Research for 10 years before...
Wed. Oct 17, 2018 - 02:49 PM
Low level arithmetics implementation on ATmega328
I did my google and nearly everyone says a divide takes more clock cycles than a multiply.  One fellow said this:   Yes, many CPUs can perform multiplication in 1 or 2...
Thu. Sep 27, 2018 - 06:26 PM
Low level arithmetics implementation on ATmega328
My example used 1022.  It could have been 833.  This trick was used when the divide by a constant was used multiple times in a loop or in various other places, so all...
Thu. Sep 27, 2018 - 06:01 PM
How to simulate humans capacitance in touch button?
Here is a Forrest Mims solution.  I have found you only have to touch contact 2 to get the pulse, the length of which is determined by C1    
Thu. Sep 27, 2018 - 05:21 PM
Low level arithmetics implementation on ATmega328
In the old days a divide took more time than a multiply.  So instead of having 1. / 1022, we would define a constant cdiv = 1. / 1022. and then do a multiply by cdiv instead...
Thu. Sep 27, 2018 - 05:09 PM
Can't upload a hex file to my atmega168
I answered my own question from a forum some time ago about cheap Chinese Nano's vs real Arduino Nano's.  The reason to pay 10 times as much for the real thing is the...
Sat. Sep 22, 2018 - 03:05 AM
Can't upload a hex file to my atmega168
I just bought some 6V 2A wall warts from AliBaba, and they measure 6.7 V no load, 6.3 V putting out 1A.      I was surprised when I measured the 7.5V wall...
Fri. Sep 21, 2018 - 05:13 PM
Is this NANO counterfeit?
I have purchased scores of Chinese Nano's over the years that use the CH340 instead of FTDI chips.  I have also purchased bare CH340 chips to make my own USB-serial...
Tue. Aug 21, 2018 - 11:43 PM
Prototyping Boards
Don't forget the 0.1 uF cap and 10uH inductor on the AVCC pin for noise cancellation as shown in the Analog Noise Canceling Techniques section of the ATmega328P data sheet.
Wed. Aug 15, 2018 - 05:51 PM
The 6 Stages of Debugging
Yeah, I do too these days.
Sat. Aug 11, 2018 - 05:07 PM
The 6 Stages of Debugging
If you are debugging software, the first stage is to blame it on the hardware guys.  If that doesn't work call it a compiler bug.  If it is hardware you are debugging,...
Fri. Aug 10, 2018 - 04:16 PM
Atmel Studio 7.0.1931
Installed fine with Win 7.
Fri. Jun 22, 2018 - 09:48 PM