February 5, 2011 3

bus pirate case

By in Mods

I have been playing around with electronics a lot more lately and figured that I had better get something to help me troubleshoot hiccups. My tool of chose was the open source Bus Pirate by Dangerous Prototypes. I really like the flexibility of the device along with the fact that it is completely open source. I prefer to use open source hardware/software where possible due to the large community support you usually find behind the product.

Once I received my Bus Pirate I quickly soldered on some header pins, jumped the PGC & PGD pins together and uploaded the newest firmware. Since I didn’t purchase a case for my Bus Pirate I decided to make one. There are cases available for the Bus Pirate here. Seeing that I just purchased my own CNC machine, I decided that I would make an el cheapo case for the time being and later mill one out of acetal or some other type of plastic. I looked around my house for something small and made of plastic to house the pirate in. I cam across a NDS cartridge case. After a little drilling, nibbling, cutting and glueing, I came up with this not so pretty, but protective case for my Bus Pirate.

February 5, 2011 2

arduino serial lcd

By in Arduino

Recently I was asked to make a jog control for a CNC machine using an Arduino, LCD and a few buttons for input and movement. The first thing I had to do was come up with a prototype using components I had lying around. For the LCD I decided to use a Newhaven 2×16 serial interfaceable display. The next step was to setup the LCD on a breadboard and make sure the Arduino could talk to the display seamlessly without interrupt.

I started by robbing some header pins off an old motherboard and soldering them to the serial pins on the LCD. The pin assignments and locations are detailed in the displays datasheet. The serial control of the display is handled by 3 pins. The first is the RX pin which will receive all of the serial data sent from the Arduino and display it on the screen. The next two pins are for powering the display at 5VDC which can be leeched from the Arduino’s power pins.

Connecting the LCD to the Arduino is simple. Here is a diagram of the connections:

Note: The LCD shown here has a different pin configuration than the Newhaven display.

Now that I had my LCD connected to my Arduino, it was time to make a simple “Hello World!” sketch. To start all I want to do is have the Arduino send text via Read the rest of this entry »

January 10, 2011 3

motorshield stepper control

By in Arduino

A while back I purchased a MotorShield from Adafruit Industries to toy around with some stepper motors I had lying around. After completing the ‘Hello World’ equivalent for running a stepper motor I decided to add a potentiometer to the mix.

After scouring the web for 20 mins or so, I came to the conclusion that there were no good example on how to achieve the MotorKnob sketch with a MotorShield, so I created my own. Enjoy!

Download – MotorshieldKnob (1184 B)

Read the rest of this entry »

January 5, 2011 0

web proxy update

By in Web

I finally got around to giving the web proxy a better look. Nothing too fancy and still NO ADS! If you need to bypass a web filter you can find the proxy HERE.

Happy Surfing!

January 4, 2011 0

download count trigger

By in Scripts

Ever have the need to bump up a download counter? Well, recently I did.

Websites that offer downloads routinely tie the downloads to a small script that allows them to track the number of times a file has been uniquely downloaded. When writing counter scripts it is common place to add a method to filter downloads so that only a single download is counted per individual. This is usually done by some type of IP address tracking.

Bypassing the IP tracking is pretty easy with the use of a Proxy Sever. The only problem is that it would be time consuming to visit multiple proxy sites and download the file. This is where my script comes into play. First gather a list of proxy servers and place them in a file titled ‘proxies’. After you compile your list place it in the same directory as this script and wah la, you have yourself a counter bumper.

Here is a very simple script that allows you to do what is described above. Note that this script could be made much more advanced. One thing you could add is a timing loop to break up the time between downloads to make it look more realistic.

Download – Counter Script (919 B)

Read the rest of this entry »