Tuesday, December 12, 2006

PIC Programming

I've been trying to figure out how to program Microchip's PICs in order to create peripheral devices for the BOE-Bot such as stepper motor drivers and such. This has proven to be much more difficult than I had hoped. Apparently I need to get a degree in computer science to be able to achieve this. That, or I need to spend around $250 on a PICbasic Pro compiler to match the ease of use of the Basic Stamp. I've been trying to learn C but I haven't found any helpful websites that teach C programming as it applies to PIC devices. Perhaps I'm just being impatient and want it all to be uber simple like the Basic Stamp. Hopefully sometime soon there will be an open source Basic or Pbasic compiler for PICs. Then I can accomplish what I want to do without having to pay college tuition to advance my hobby. I've got to surf some more forums to see if I've missed one where someone writes tutorials that apply to beginners with little or no experience programming... wish me luck.

Wednesday, October 18, 2006

Sparkfun's Triple Output LED RBG on the BOE-bot

I bought a few doo-dads from sparkfun.com a while back and finally got around to playing with the triple output LED. It works like any other LED only it has four leads instead of two. I always forget what is the anode and what is the cathode, but regardless it has one lead that goes to ground and the others go to the output leads from the BOE-bot, with a 470 Ohm resistor to drop the voltage down to a level that won't fry the LED. Please note that the red portion of the LED had a lower max voltage than the green or blue. I ignored this and used the same LED circuit I had used in a previous BOE-Bot LED excersize. It hasn't killed the LED yet so I think it will live. Anyway I wrote a little code using pulse width modulation to fade from one color to another. It works pretty well. I'll see if I can post the video I took of it working. See the code below:

'RGB LED Changer

' {$STAMP BS2}
' {$PBASIC 2.5}

counter VAR Word
DO
FOR counter = 1 TO 100
PULSOUT 9, 1000 - (10 * counter)
PULSOUT 11, 10 * counter
PAUSE 5
NEXT
FOR counter = 101 TO 200
PULSOUT 11, 1000 - (10 * (counter - 100))
PAUSE 5
PULSOUT 10, 10 * (counter - 100)
PAUSE 5
NEXT
FOR counter = 201 TO 300
PULSOUT 10, 1000 - (10 * (counter - 200))
PAUSE 5
PULSOUT 9, (10 * (counter -200))
PAUSE 5
NEXT

LOOP

Thursday, August 17, 2006

Cheese Stuffed Hamburgers

I know, I know, Kraft had this on a commercial. So it isn't an original idea. Maybe I just wanted to document my attempt at it. Is that alright with you? Why are you so judgemental? Here it goes:

Step 1

You need to add some junk into the ground beef to add flavor and help retain the moisture. Here I add breadcrumbs, my special spice mix, Worcestershire sauce, salt and pepper.










Step 2

To keep it all together and reduce the amount of melty cheese that escapes from the tasty burger, add an egg to the mixture.

Step 3

Mix it altogether. Yeah sure, you could use that fancy Kitchenaid mixer that sits on your counter begging you to turn it on and let it make some delicious foods with it, but where's the adventure in that? I say, put your grubby hands right in there and mix it together like a real man.


Step 4

Give some meat to the dog. Seriously, he's been staring at you with his crazy eyes for a while now and your starting to be more than a little frightened.

Step 5

Roll the meat into little balls and then press flat into thin meat discuses... diski?


Step 6

Fill with glorious cheese. Yes, that is cheese. No, it isn't butter. Mmm, butter burgers.


Step 7

Place meat discus B atop discus A.


Step 8

Pinch around the edges of the diski to seal the goodness.


The result is some bigass meat patties that look like normal hamburgers, but lurking inside is a cheesiness that will shock and amaze you.


**************WARNING**************

Cheesy goodness must be allowed to rest for a minimum of 5 minutes after cooking burgers or cheese with be in its "liquid hot magma" phase and may cause severe burns.

Saturday, June 17, 2006

DIY 5G Ipod USB Charger

I've seen several USB charger projects online and these work well for most devices that charge off of USB, but never quite worked for my fifth generation Ipod. Most of these chargers are based off of the LM7805 voltage regulator, in order to step a voltage down to the 5V required for USB. What these designs lack is the data in-out signal that tells the 5G Ipod that it is a high power USB outlet. I recently found a suggestion online to use 4 equal resistors to make a voltage divider to supply a 2.5V signal to each data line on the usb connector. Check out the thread where I found it here for more details. Anywho, I used the bread board on my Parallax BOE-Bot to prototype the circuit for testing. You may notice that there is no LM7805 on this circuit. That's because the BOE-Bot has one integrated into it, which sped up my testing. After verifying that I did indeed get 2.5V on the data lines I plugged in the Ipod. Previously the Ipod needed to be reset in order to charge on such a circuit, but now it charges as if it were plugged into a real USB outlet. Now I just need to figure out if the LM7805 will hold up to the rigors of being wired into my truck's 12V power so that I can make a charger to integrate into the Ipod car dock that I'm slowly designing.

Saturday, April 08, 2006

We've got ants in our pants!!! Or our porch.


Carpenter ants that is. Lots of them. Tens of thousands perhaps. Lots. We called Terminix and a guy named Steven came out to kill our bugs(I know that isn't very DIY but those guys can use better poisons). Anyway I ripped off some of the wall board and revealed what Steven says is the second largest nest of carpenter ants that he's ever seen. Man I hate being second... most of the time. So Steven sprayed lots of poisonous stuff and killed all of the ants we could find, but I'm sure as I do more demolition on the porch that I will find more of these lovely creatures. I can't wait.

Wednesday, February 22, 2006

Hello Toyota Tacoma


OK, I haven't gotten the Tacoma yet so I hope I'm not jumping the gun just yet, but I'm excited. I grabbed some pics off of the dealer's site so everyone can see what it looks like. Pretty sweet, eh? It has BF Goodridge All Terrain TA/KO's on it and everything. Those are just the tires that I'd put on if I were't so cheap. My best friend Jon and I went many places we never thought possible atop four BFG's, ignoring the fact that those were considerably bigger and being powered by a Chevy V-8, and I can't wait to see where these can take me. Most likely just to work and back several hundred times, but nonetheless, they look pretty badass don't they? Yeah, I thought so too.

Tuesday, February 21, 2006

Bye Bye Golf Diesel



I've finally given up on the Golf. Putting aside the fact that there are good sized rust holes in the body and that the driver's door handle is a speaker cable, the fact that parts mounted to the engine are beginning to shake themselves loose is enough for me to call it quits. I've decided that since I no longer live in a bad neighborhood, like Wooster St. in New Haven, I can have a decent vehicle again and not worry too much about it being broken into every other month or so. My friend/coworker Lee is now the proud owner of the '86 VW Golf Diesel. He'll be posting any changes to the Golf here: http://nodeep6-86.blogspot.com/. I will be replacing the Golf with a 2000 Toyota Tacoma 4WD pickup(The sale willl be final on 2/23/06), which I put a deposit on last night. Hopefully the Tacoma will be a tool in my DIY projects rather than becoming another project itself. I'll post some pics of it as soon as I can.

Monday, February 06, 2006

DIY - Practically free fix for broken car door handle


Do you own an older car on which the outer door handles are difficult to use or don't work at all? If so, I have the fix for you. My '86 VW Golf's driver’s door handle broke one morning as I was attempting to go to work. It has the old VW trigger style door handles that have a reputation for failing over time. Call me cheap or whatever you'd like, but since I paid $800 for this car I'm certainly not going to pay the ridiculous prices charged for a replacement door handle. Instead I chose to put my inventive mind to work and created a fix that cost me nothing but a bit of embarrassment when people see it. Knowing that I had some speaker cable that once went to the stereo on the CJ (the stereo had been stolen a year or so before I bought the Jeep) in the garage, I figured that I could finally find a good use for it. I tied one end to the grab handle on the inside of the driver’s door, and the other to the interior and still operational door handle. Now when I get out of the car I simply hold on to the wire loop and shut it in the door. To get in I jut pull on the loop. Problem solved and it didn’t cost me a penny.

Thursday, February 02, 2006

Two year anniversary

YAY!!! I've officially made it a whole two years at my current employer. As I mentioned in my first post, I work for a major American firearms manufacturer. So far it's been a prett cool job and I've learned a great deal about surface modelling in Solidworks(for an example of what I do, see the picture of the stock model that I've made. This one will probably never be made so I guess it's OK to post it), as well as some of the ins and outs of plastic molding. I've become pretty decent at solid modeling. I'm definitely the best here(the truth is that surface modeling in Solidworks is a terribly tedious thing to do and I am the only one at here that has been subjected to this torture). Hopefully this will pay off in the future if this company suffers a similar fate to Winchester, which is closing its doors very soon. I can apply what I've learned here to product design elsewhere as well, so I should be all set. One more year and this will be the longest I've ever worked for a company. I've only been out a college for five years though, so its not like I'm a job-hopper or anything. Just three more years and my 401k is vested. I guess that's something to shoot for.

Thursday, January 26, 2006

Pressure washer

Yeah, I bought one. I remembered that I had a Home Depot gift certificate for $40 in my wallet so I went to the depot and grabbed their cheapest model. It's the 1300psi model that they hide from you so that you look more at the expensive models. While it's certainly a bit underpowered, it'll do what I need it to, and was well worth the $12.97 after tax. I can think of a billion uses for the thing. Things like removing the mildew from the siding, washing the Jeep, the dishes, the toilet ... heck, this could cut my daily shower time in half. That would give me an extra 3 minutes a day to play with.