Sun Jan 28 2001 15:47:00 GMT-0800 (PST)
Another update on the serial servo controller: Apparently I wasn't restoring the FSR register correctly in my interrupt handler...that is what caused the servo to jitter even when turned off... It will still jitter (albeit a very small amount) when turned on....more to come later...
Sun Jan 28 2001 14:53:00 GMT-0800 (PST)
Well, I've done quite a bit more work on the serial servo controller. I've finished implementing the pin/timer interrupt combination for handling incoming RS232. The method works and has been successfully incorporated into the servo control code. Note to self: "Interrupt flag bits get sent when an interrupt condition occurs regardless of the state of its corresponding enable bit or the global enable bit, GIE." - taken directly from the PIC data sheet. I could have saved mucho timeo by reading that in the first place. :) Unfortunately, the servo still jitters occasionally. Even when turned off. Obviously, this shouldn't happen. I'm off to more troubleshooting...
Sun Jan 21 2001 22:56:00 GMT-0800 (PST)
First: I'm a Napster junkie. Second: It came to me in a late night vision...I must fix this servo jitter problem. We must set a timer to interrupt for each bit so that we don't block for the whole incoming serial byte...this is going to get tricky! Third: The hockey game was really exiciting tonight. What a comeback! We won in a shoot-out. I thought we were going to lose for sure. Fourth: Those dogs next door are annoying. They made me miss my Sunday night required TV viewing. I blame them completely.
Sun Jan 14 2001 15:20:00 GMT-0800 (PST)
Quick fix to the weblog here: I noticed that the hour and day both had leading zeros, which isn't really necessary, so I changed it up. Should look a little better, but I guess I'm just being picky. :-)
Sun Jan 14 2001 15:13:00 GMT-0800 (PST)
Ok, more news on the PIC based serial servo motor controller. I'm now on code version 4. What does this mean? Here's the run down:
Independent control of 8 servo control channel pulses. Interrupt driven ASCII serial port routines to set the requested servo to the requested position (0-255) (these work!).
When I scope the output signals, the appropriate channel's pulse width changes as expected! This is a major accomplishment...however...
It seems that the servo isn't moving through its full 180 degree range. What's the deal with this? I guess I'd better to try another motor, then check my references to be absolutely sure that the timings that I used in design are correct.
After I fix the servo range problem, it's on to adding the query command, perhaps using a binary mode (based on a jumper?), and then eventually doing some board layout.
Sat Jan 13 2001 17:48:00 GMT-0800 (PST)
Significant progress made on serial servo controller! Yippie! Note to self: ALWAYS, that is always remember to use the second parameter on MOVF calls. Without it, the assembler will default to 1 and the behavior is probably not what you wanted. :) This is actually what caused me the most problems... I'm controlling 8 independent servo channels now...all variable, all on PORTB. I've done some pretty detailed scoping of the timing signals, and all looks good. Next step: Hack a fix to move behavior for RB0 to RA4 so that RB0 can be used for serial interrupts. Then implement serial interrupts. Then actually use the serial data to change position variables.
Tue Jan 09 2001 21:26:00 GMT-0800 (PST)
Mmmmmmmmmmmmmm.....Mozilla 0.7. Yummy. Ok, so it's official. I have over 24 hours of WCSB (www.wcsb.org) recorded in mp3 format. I'm addicted to the Noise Rotation. If you're bored on Monday nights from 10-12 (central), give it a listen. Sometimes it is much better than other times...but overall I love it. So I spent some time getting up to date on trimming the recordings that I hadn't manually processed since our vacation. Feel sorry for chucksta. Modems suck.
Tue Jan 09 2001 08:35:00 GMT-0800 (PST)
Werd. Big money props to my gal Queenie who found my damn check book late last night. I thought I was screwed...but alas she discovered its sneaky hiding spot in the remote corners of the bathroom (of all damn places!) I did some additional development on my PIC based serial servo controller last night. I'm still a long ways off from being finished, but maybe I'm a step closer. Serial port is invaluable as debugging tool (sometimes). Maybe I'll throw up a page for the controller under "electronics" sometime.
Mon Jan 08 2001 09:13:00 GMT-0800 (PST)
Yup...it's a fuckin Monday. If you have any idea where my damn checkbook is, please let me know. I'm pulling my hair out over this! How on earth could I have lost it??? Where did it go? Do the otherdimensional monkeys have it? Oh yeah, and a big FUCK YOU to the guy who felt it necessary to put the following bumper sticker on his white GMC pickup:
Indian word for "Lousy Hunter"
Sun Jan 07 2001 18:52:00 GMT-0800 (PST)
Well...I guess it's that time again. Time for the regular Sunday night 2 hour TV viewing block: The Simpsons, Malcolm in the Middle, The X Files. I really don't watch that much TV...but I feel like less of a person if I miss these shows now. Call me crazy. You're probably right. I have a bunch of new DVDs that I got for xmas that I haven't seen yet...so perhaps I'll throw one of those in after the networks get boring again.