Got to work to work about 11am Tuesday... and didn't come home until 3pm Wednesday. Yup, an honest to god all-nighter! But now I've slept 18 hours straight and I feel much better. I think it was worth the trouble, since it prevented our demo at the not to be named (yet) customer from being a complete disaster. I'm still a little bummed, because there were several pieces of functionality I would have liked to demonstrate but couldn't. Even though the main control board (my primary responsibility) could have handled them. The short version is that there are multiple microcontrollers all communicating, and although I could ask all of them for info, most of them couldn't give me back the info I wanted. I don't want to point fingers, since the truth is I should have gotten into the code inside those other parts of the project much sooner than 4am on the day of the demo. But I will say in my defense that it wasn't explicitly my responsibility to get that code working; it was someone who left the office before I did. (Though in his defense, it was 3:30am when he left and he had been there since 9.)
The lesson here is that integration test of all components in a system needs to happen a lot more than 2 days before you're supposed to demo the system to the customer. But then, that's rather obvious. Well, lesson learned. We're going to rev the PCBs one more time (the ones we're currently using came without power or ground planes, and we had to solder on a million little wires to get voltage to all the necessary spots) and then I think we'll be a few tests away from delivery. It's been a whirlwind 3 weeks doing this project, but a heck of a lot of fun.
Eventually, I'm sure the honeymoon will be over. I'll get tired of embedded systems, bored of microcontrollers and electronics, sick of making neat stuff... but hopefully it'll be a decade or so before that happens. ;]
I'm looking forward to having a full day off this Saturday. I haven't had time to do just about anything for the last 3 weeks. I don't need a lot of time off, but having 3 hours free to do my laundry would be nice. And I haven't had that for at least a couple of weeks now. On the other hand, at least I get paid hourly. Hehe.
Alright, off to work again...