Tuesday, November 26, 2013

Roller Robot (just add cats)




I made this when I was working.  I resurrected  it when i discovered that #4 machine screws will
replace the #2 nut that fell out.  The #4 fits through the mount and doesn't need a nut as it threads itself through the plastic in the motor.  So one side has the old #2 with a bolt, the other side has #4 without the nut.


I got an old RC Car with a spare battery and charger (9.6 V NiMh) similar to this:


http://www.radioshack.com/product/index.jsp?productId=24884186


The battery takes up the hidden floor and is held in place with a twist tie.  I did obstacle avoidance with optical distance sensors.  I even had it slow down when it is near a wall.
It turns and avoids walls but will fall down stairs.  The code is here.

http://www.pololu.com/product/136

I used parts from Solarbotics.

https://solarbotics.com/product/23190/

https://solarbotics.com/product/k_cmd/

https://solarbotics.com/product/gm2/

https://solarbotics.com/product/gmb28/

I got the plastic disks from TAP Plastics.  I wonder if the cats remember this guy from when they kittens?

Sunday, November 17, 2013

Breadboard ARM DIP

About 3 years ago, I bought the lpc1768 version of this board.  Recently, I found an error in my soldering of the ground pin!

I have been using it with the Eclipse or Lpxpresso environment NXP still supports for it. 
Then, I found a post from Jay Carlson that involved finally breaking the LPC-Link debugger and getting an LPC1114 DIP ARM on a bare-bones breadboard configuration. 

As you can see, I got the usual blinking LED working he had in his post:

Once again, I had to overcome my lack of soldering skills. Try 1 had no power to the chip. Try 2, no comm. Finally, the 3rd try worked!

I found these helpful:

http://www.lpcware.com/content/nxpfile/sample-code-bundle-lpc11xx-peripherals-using-nxp-lpcxpresso

http://www.digikey.com/product-detail/en/EA-XPR-003/EA-XPR-003-ND/2410099

http://www.digikey.com/product-search/en?pv16=6533&FV=fff40027%2Cfff800cd&k=lpc1114&mnonly=0&newproducts=0&ColumnSort=0&page=1&quantity=0&ptm=0&fid=0&pageSize=25