Post Created date
theoretical questions about infinite looping in main
If you're writing code in assembler, I believe it just runs off into unprogrammed memory.  The default unprogrammed flash parses as 'jmp 0x0000', and so it starts over....
Saturday, 8 October 2016 - 11:26
Model Railway - Turnout control using servos and a microcontroller
Small suggestion:    Consider a large printed circuit board (PCB) for the back of your control panel (or two or three plugged together).  Homebrew PCBs can run up...
Wednesday, 17 August 2016 - 15:00
Barely Encrypted? [Solved - good enough]
Might be a bit late to this thread, but I once implemented a sixteen-bit LFSR in a lil' AVR.   It was supposed to generate pseudo-random ASCII for a Morse code trainer ("Code...
Tuesday, 16 August 2016 - 07:35
[TUT] Newbie's Guide to AVR Interrupts
I understand this thread was four years old, but I thought I'd throw in a bone for updating it:  In newer AVRs, I specifically have in mind an ATmega168A, it _is_ possible to...
Sunday, 14 August 2016 - 19:06
[TUT][XMEGA] Making Sense of the XMega Series
In Soviet Russia, Effects Affect YOU!!   :)   Looks interesting, but incomplete.  For the newbies you might mention that "DMA" means "Direct Memory Access" and...
Sunday, 14 August 2016 - 18:42
ExpressPCB gives away project box
steve17 wrote: Scroungre wrote:   One thing I only found out the hard way was that the miniboard had a limit of 350 holes.  It's there but it isn't easy to find. ...
Friday, 12 August 2016 - 17:30
ExpressPCB gives away project box
steve17 wrote: Scroungre wrote:   Newer part libraries? Yeah, if you don't want to make your own footprints, this might not be the best for you.   I can if I have to,...
Friday, 12 August 2016 - 16:43
ExpressPCB gives away project box
I used to like ExpressPCB too, but their layout software, while simple and easy to use, was becoming a little too simple and easy to use - it was becoming primitive.  It hadn...
Friday, 12 August 2016 - 13:44
(1<<bitnumber) expression considered harmful
Or you could just write it out in assembly to start with...    S.  
Friday, 12 August 2016 - 06:29
Got a pullup on the AVR's reset line?  10k is good.   S.
Wednesday, 6 July 2016 - 04:56
ATMEGA 128 - how to use array located in both parts of memory
I always wrote ADIW (and SBIW) with both addresses, e.g. "adiw ZH:ZL, 1"   Can I leave out the "ZH:"?  I wonder if that was part of it being weird.    S.  
Tuesday, 10 May 2016 - 16:28
Multiple AVR in a single circuit
Brian Fairchild wrote: I have a design here, just waiting for someone to push the GO button, that has 14 (!) microcontrollers on the same PCB.   I will go find my hat and...
Saturday, 23 April 2016 - 06:16