Wednesday, March 13, 2013

Free Touchscreen in cheap car back-up monitor for Raspberry Pi

I have a great find to share with everyone, I found a resistive touchscreen sensor embeded in a cheap car back-up monitor that i was using for the Raspberry Pi.
Cheap car back-up monitor for Raspberry Pi without the stand
As you can see, I have removed the stand/leg thing because it was standing in my way. I bought this from BestBuy because I wanted it then and didn't want to wait for a week for one to ship from eBay (I overpaid by double I think).

Wednesday, February 27, 2013

Arduino autonomous tracked robot build Part 3

So I finally got to this step, my bodged together piece of code that makes my robot move. This is the last one in the series.

I uploaded the code to SourceForge so anyone can take it and do whatever they want with it and maybe in the process someone will learn something. Here it is.

Arduino autonomous tracked robot build Part 1
Arduino autonomous tracked robot build Part 2
Arduino autonomous tracked robot build Part 3
Arduino autonomous tracked robot (visual post)

I will start with the easy bits, the small functions and the bits that hold everything together.

Monday, February 25, 2013

Arduino autonomous tracked robot (visual post)

This is a post with the video of my robot in action along with all the photos I have of it. Enjoy!
And the photo gallery below. (and links to the build).

Arduino autonomous tracked robot build Part 1
Arduino autonomous tracked robot build Part 2
Arduino autonomous tracked robot build Part 3
Arduino autonomous tracked robot (visual post)

Arduino autonomous tracked robot build Part 2


On to the actual construction of the tank.
Basically it is made from Tamiya kits, the tracks and gearbox one kit and the platform and diverse small parts in another. I bought them from a local hobby shop and that cost me a lot more than expected but that is my problem. It should be fairly cheap if you source the parts from the source and not third party vendors like I did.
Arduino autonomous tracked rebot
This is the final version of the robot but there were several iterations until I got to this and unfortunately I don't have photos of those but I can still share my experience.

Arduino autonomous tracked robot build Part 1
Arduino autonomous tracked robot build Part 2
Arduino autonomous tracked robot build Part 3
Arduino autonomous tracked robot (visual post)

Saturday, February 23, 2013

Arduino autonomous tracked robot build Part 1

So I am finally taking time to write about this one. I created the monster some time ago but I haven't have the chance to talk about it. This is a simple (yet it took me a bloody long time to complete) Arduino Uno, motor shield, Ping sensor, infrared sensor, autonomous robot.
My arduino autonomous tracked robot
So there it is, that picture explains everything, my job is done here :)

Arduino autonomous tracked robot build Part 1
Arduino autonomous tracked robot build Part 2
Arduino autonomous tracked robot build Part 3
Arduino autonomous tracked robot (visual post)

Friday, February 22, 2013

Fast Image resizeing for space saving uploads

Since I started writing this blog there has been one thing that I have been doing manually that I feel like a burden. I take pictures (8MP) of things I build, then I have to download them to my computer and then sort them. After that I want to upload them to my SkyDrive but I have limited space so I have to shrink them. I use Gimp for this, but the manual way. I have read that you can script everything but it seems too hard.
I decided to write my own application that does exactly what I need and not one thing more.

ImageResizer main window

Friday, February 15, 2013

Adjustable LiPo battery charging circuit

So I found myself having a lot of small 1 cell lipo batteries from various devices and gadgets I took apart (broken before or after I disassembled them) and no way to charge them. Recently I found a small boost converter to power small 5V devices. It has a USB female jack on one end and 2 solder pads on the other. It uses anything from 1.5 to 4.5V to output the needed 5V at a maximum of 450mA. The batteries I have would be great but I have no way to use them multiple times. This is the result:
DIY lipo charger
It looks ugly but it does the job great.

Monday, January 28, 2013

Testing the Sound Switcher board with an Arduino

So after completing my Sound Switcher board (and updating it) I wanted to use it with a microcontroller. I have a couple of aux cables lying around and some headphones to hear what is coming out of the board. Using headphones though is not ideal as it will hurt my ears after some time, as writing and testing the Arduino sketch is going to take some time. Last night I found a self powered speaker so I will use that instead (it was only $5 so worth it, and even some decent sound coming from it). Here it is:

Self Powered mini speaker
Yes, it does look like a microphone but it is actually a small speaker. It's quite ingenious, I took it apart and looked at it (forgot to take pictures) and the cool part is that it charges using the same 3.5mm input. Not
ideal if you want to listen to it and charge it at the same time but still, quite portable.


Tuesday, January 22, 2013

Soft switch sound switcher using a few 2N3904 and resistors

Having two sound sources connected to the same output may be good for a while but sometimes you don't want to have both sources outputting sound at the same time and may want to switch between them. I wanted to be able to control this with a micro controller and not use a servo, so a mechanical switch is out of the question.

Transistor as switch
I know that you can use transistor as soft switches so I started researching how to build this.

Friday, January 18, 2013

Using LM317T to simulate LIPO battery

I have a few battery operated devices (rechargeable) that I wouldn't mind using only connected to a power source. So I started to find a way to replace a LIPO cell with a power supply. The first (and easiest) answer to this problem is using a LM317 as a power source.
Typical LM317T usage circuit
So I started looking around for how I might build a circuit. I found a lot of information online and started building it. Before this, I still needed to know what the needed voltage is. A standard LIPO cell is rated at 3.7V.

Power Small FINISHED projects from USB

Often I create a small... thing, not really anything to write home about but something that blinks a LED for example and I use and Arduino to power it. This is good for the building stages but using and Arduino just for the 5V output is not efficient.
So I wanted a way to power the devices from USB 5V. this is bad for the laptop health if the project is not finished and there are still problems with the wiring but when all is finished, you can safely source the needed voltage from a PC (remember no more than 500 ma).
My solution is a power cable with a USB male on one end and standard header pins on the other.

Small UPS for RaspberryPi

Some time ago I went into Radio Shack and found a small USB rechargeable battery that has a retractable USB connector on one end and a microUSB on the other. It looks something like this but it is only 800 mah and was on sale for $8.

I wanted to use it as a power source for my RaspberryPi but wanted it to use the battery only when mains where off. I looked around for circuits that allowed for instant swithcing between 2 power sources and actually found something I could make but it was pretty complicated.

Monday, January 7, 2013

Upgrading HP Compaq 6715s with a Motorola Surfboard SBG6580 wireless card

So after pulling apart the dead modem/router I wanted to use the only working part scavenged.

I opened my wife's laptop to access the wi-fi card. This is the easy part as it is just one screw for the panel and 2 screws that hold the wi-fi card in place.
HP Compaq 6715s back
HP Compaq 6715s panel that contains the Wi-Fi

A close up of the old WLAN card












The first problem appeared:
HP Compaq 6715s new WLAN installed

Friday, January 4, 2013

Motorola Surfboard SBG6580... to pieces and beyond

So this year did not start well for me. When I finally woke up on the 2nd of January my internet kept going down on me. After numerous restarts and resets of my wonderful modem/router combo it died. The top 3 lights would flash for a sec and then nothing. That is the last time I buy one of these all-in-ones (on a side note, don't get the Belkin wireless router it restarts every time you change any settings).

Anyway here is what I found inside it:

A main board with a mini PCI Express slot.

Front of main board


and the other side

Back of main board