I've been coding for 11 years, which probably isn't much to some around here, but I've dealt with burn out a lot in my career, and there are a couple of things that have always helped get me over the hump.
As others have said, hobbies are great. There are a ton of interesting things out there to learn, do, collect and create, and it's likely if you're a software engineer that you have more access to them than a lot of people. On that note, it always helps to remember me that on a big enough scale, my problem ("Boy I'm tired of writing code") is tiny, it's not even really a problem; in this economy where people are struggling to eat and finding out that the jobs they've spent their lives training for are just not available to them anymore, I work in a field where I have comfortable working conditions, internet access, freedom and job mobility almost anywhere I want to go.
I've built houses and worked in commercial construction and I liken burn-out to injuring yourself doing physical labor. We're mental workers, and sometimes we 'hurt' our minds, and we have to take care of them and repair so that we can depend on them again for our livelyhood. Repetitive boredom can do that, so get out, break up your routine, get some exciting new stimulus and never forget how fortunate you really are to have such a skill as coding.