Posts

Showing posts from 2011

Homebrew 7" Touch Screen

Image
(Touch monitor under test using Linux Mint) I've posted a short set of photos of the LCD monitor conversion so far. http://www.flickr.com/photos/glennwalsh/sets/72157628590966293/ The monitor is one of a pair purchased on eBay for £15 (s0 say £8 per monitor) and the touch panel cost £14 again from an eBay store in the far east. Total cost is under £30 and a lot of fun in the research and modification. The monitor is not VGA, but the picture is remarkably sharp and with big icons (such as Linpus or Tiny Core at 400 x 300 or something) this would be ideal as an in-vehicle dash control panel. I've just ordered some panels (just the panels for now) for under £5 a panel. Now the electronics are the more expensive part, but I'm about to start looking at reading these resistive panels directly from a micro controller using A/D conversion. More on that in the New Year.

Clever

Image
I thought this was pretty clever when I spotted it a while back passing a farm on the coast. They've put a row of solar water panels on an outbuilding roof. Nice south-facing roof too and low enough to make installation and maintenance a breeze. The only wonder is how the water is being piped from the outbuilding to the main house (if it even is). There's a fair loss in heat over even short distances which is why it is always recommended that solar panels are placed as close to the hot water tank as possible. Still a great installation.

Large 4-digit LED display board

Image
These are 1-inch green LED 7-segment displays I picked up on eBay. I got 8 in total for a few dollars. I wanted to use up some off-cuts of stripboard so I ended up sticking 2 pieces together using epoxy glue and a strip of scrap ABS plastic which is on the back. The DIL socket will hold a MAX7219 integrated circuit when the display is finished. The MAX7219 is an intelligent driver which can handle binary-coded decimal as well as bit-addressed data. I'm going to play about with this and add it to the ever-growing box of 'modules' for the car computer project (if ever...) as it would make a great rev counter or speedometer, or both.

LCD Monitors

Image
Internals of the 6.2" LCD monitor. Just 4 connections needed, 2 for power and 2 for the composite video signal. Power connection is marked (strangely) 7v, but the power board supplied 9v and it seems to work on anything between 6 and 12v. Internals of the 7" LCD monitor. The lower circuit board handles power and has a stereo audio amplifier.

Covering Up

Image
I've been looking at a quick, cheap way to make a dry store area for scrap timber, old pallets and logs. I needed somewhere out of the rain, but where there will be a breeze to encourage drying and the best space was at the gable end of the house where we have our coal bunker. I bought this tarpaulin for about £4 from CPC and rigged it to the side of the house using 10 cup hooks (5 at the top and 5 at the bottom). The first attempt went a bit wrong because I hadn't put enough of a rake on the tarpaulin so the rain just pooled at the bottom. This adjustement seems to be working, but I think I'll drop the bottom end a few inches to make sure any rain runs off.

Anyone for a slice of Pi?

Coming along nicely (almost segueing into) my last post, here's the same idea, 20 years later. http://www.raspberrypi.org A tiny credit card-sized single-board computer aimed at teaching kids (and anyone else) about old-school computing, growing-your-own code and building your own kit. What really attracts me to this one is the provision of an analogue video output, which I could hook up to one of the old 6" LCD screens I've been messing with for about 2 years. I'm thinking of a 20MHz PIC like a 16F690 to collect raw engine data down at the ECU and to send it via a long USB cable to the cabin where a Raspberry Pi running TinyCore and my own Gambas program would decode this into graphs and charts. Rather than a touch display, I'd like to revisit the old Renault Laguna stalk controls , but via another PIC (maybe a 16F628) and USB so the control buttons have some degree of 'intelligence' for the computer to interpret. Getting closer, but oh so slowl

The mark of a true nerd is...

Image
Zilog Z80. Ahhhhh.... (!)

Life on Mars

Image
"We're the Sweeney son and we haven't had our dinner." (Image by Bill Walsh)

Stoved In

Image
Short version... Just over 2 years ago I purchased a wood-burning stove (actually multi-fuel) at a good price and we had it installed as a dry stove (i.e. no hot water). The stove actually had a back boiler, but at the time we couldn't afford the plumbing work and were quite happy to use it as a living-room fire. Now this was no pot-belly job. If you know me, you know that about once every 5 years I take the head staggers and this was a classic version (the last one was buying the MR2 sight-unseen and bringing it back from England). This stove is huge. It weighs 240kg (that's a quarter ton in old currency) and at full tilt can reach 500 degrees C inside and generate 21kW of heat, enough to run at least 10 radiators. So 2 years passed and we had saved money from using less oil (a lot less) and thought we'd get it plumbed-in. This cost the raw part of £2k and is a beautiful piece of work, all done in copper pipe. So the plumber came to commission the whole thing and water sta

Levelling Out

Image
I bought a USB-to-Serial converter a while back to play with that had the large standard USB plug (rather than a socket). These modules have a CP2102 chip on board which uses the 3.3V standard so the only issue I had with it was a level change problem from 3.3V to the 5V I'm using with my 16-series PICs. I turned up a very neat bi-directional solution using just one MOSFET and 2 resistors for each channel (see above). Even though the transistors are surface mount(i.e. tiny) this was easy enough to build and the USB converter now works a treat, so much so that I bought another one with a micro USB socket which I think would be more use mounted into an actual project. Not only that, but early indications seem to show that this version doesn't have a problem with the voltage level shift and is working quite contentedly with the 5V PIC circuits. I've been communicating with these units using the Gambas2 programming language under Linux. Gambas2 is similar to Visual Basic al

Six Inches - Big Enough

Image
I got around to taking the screen out of one of the LCD units to see what could be done with it. For a start the actual screen is 6.2" (according to the serial number and a ruler) not 7" as on the manufacturer's website, but that's no bad thing. It turns out a 6.2" screen is just the right size to fit in a double-DIN car radio slot, which prompts all sorts of ideas. It also turned out that there were 2 circuit boards, a big one with an audio amplifier and some power supply circuitry and a small one for the actual screen. Essentially the screen will operate with just a 4-wire connection (9 volt, GND, Video and Video GND). There is another connector for options (screen mode, colour and brightness), but with nothing connected to this the monitor defaults to perfectly use-able settings. In the photo I have it hooked to a PC via a VGA-to-Video adaptor. The computer is running Tiny Core Linux (my new favourite distro) in 640 x 480 mode (I think). It will go down to 320

DIY Immersion Heater Control

Image
This started life as a plug-in countdown timer I got in a clearance sale at CPC. After taking it apart and removing the 13-amp plug and socket parts I was left with a the guts of an immersion heater timer that can be set between 5 and 50 minutes in 5-minute steps . The relay was rated for 20A at 240V so it could certainly handle the heater current, so I set about blanking off the hole where the socket was and then glued the back of the timer to a standard blanking plate with Araldite. I drilled a hole through the middle of the blanking plate, added a 3-way terminal block and voilá, an immersion timer for less than £5 to compliment my £5 central heating timer. Now there is no danger of the immersion heater being left on for more than 50 minutes and if you need hot water for washing dishes that's just one press.

I Have The Power (Steering)

When I re-fitted the PAS pump it was deceased, kaputt, had gone to the great pump house in the sky. I got another one on eBay for £145 delivered, fitted it and all was well. Power steering for the first time in 2 months, which felt weird. The whole job cost about £250, a lot less than the £1000-plus I had heard people were paying Skoda for the same work. The day after that the engine started acting-up, losing power under load once you were up to 30mph or so. A bit of bodging and I narrowed this down to the EGR valve, which has been temporarily put out of action until I get time to clean it out this weekend. Off to MOT and it failed on... a leaky rear shock absorber! With all the other things I'd forgotten to check them. Critical mistake becuase with a clean and rub down it might have passed as the leak isn't too bad yet, more of a smear. Anyway I got a second-hand shock for £10 up at Traynor's in Malusk so that's Saturday taken care of. Good thing is I have an excuse to

PAS Pump

Image
Power steering hydraulic fluid leaking out of the end of the steering rack (with the gaiter off showing track rod joint) Power steering pump back in place.

Let there be light...

Image
Probably one of the best things I've been (kindly) given on Freecycle is an old flourescent light fitting which I use when I'm working under a car. Combined with the inspection light it means I can actually see what I'm doing without being blinded. This is also the proof that while I'm not the fastest worker, I'm not a 'keyboard mechanic' - if I say I've done it, I've done it, warts and all.

Skoda Fabia PAS problems

Image
The Skoda Fabia is apparently renowned for developing power steering problems and mine sprung a leak in the steering rack about a month ago. I'm going to replace the rack with one from a scrap car, but decided to clean up the pump in the process. I'm also going to replace the anti-roll bar bushings (I bought the bushings about a year ago and never fitted them) because both jobs involve dropping the front subframe . Of course one of the track rod ends couldn't be easily removed and I needed to resort to the trusty nut-splitter and now one of the ARB drop links is up to the same trick. I've sprayed easing oil round it, but the problem with both these parts is that you need to use an Allen key to keep them from moving while you undo the bolt and after 10 years in a car that can be almost impossible. This is the power steering pump removed from the car. As can be seen, the plastic cover and foam jacket have pretty much disintegrated. The foam was soaking and was the caus

MR2 App

Image
This is my first attempt at a possible diagnostics app for the MR2, written using Google App Inventor. Unfortunately, I'm hitting a brick wall with this because the tablet is only running Android 1.6, which doesn't have a proper Bluetooth stack. App Inventor has Bluetooth coming out its ears, but can only target Android 2.o and above. I have tried playing with the Bluetooth backport to 1.6, but it won't work on this tablet. I've also scoured the 'Net to see if there is any way to run Android 2.0, but with only 128 MByte of RAM this would be unlikely and very slow if I could find a build. I'm holding out for a similar tablet at around £50 running Android 2.2 which should handle the Bluetooth with less trouble, if any. Meanwhile the prototype diagnostics sender is coming along in dribs and drabs. I have an op-amp interface for the oxygen sensor and an RPM interface converting IG pulses to a linear voltage, not as elegant as counting the pulses, but a lot l

Terry Lean

Image
My brother got me an Airfix kit of a MK1 Ford Escort for my birthday and here is the driver all painted up like a 1973 middle manager working at a soft drinks company in Sheffield. Yes, I've given him a complete back story. His suit is tailored in ICI Terylene (TM) and shoes in pleather.

Nice LED array

Image
This LED array came out of an old Sky+ box (you know the one, it's used in all the Sky advertising). The LEDs are multiplexed, but if you only want to have one on at a time it is easy to drive them directly from an 8-bit port on a PIC. I rigged it up to a PIC 16F690 set up for analogue reading so the LEDs work like a neat little meter with the green arrow at the mid-point. I'm thinking of using this as fuel/air meter.

Tablet Internal Bluetooth

Image
When I had the tablet PC apart I noticed that the camera had just 4 wires coming out of it, so it was probably USB . A bit of investigation showed the three USB connections (camera, internal wi - fi and the USB socket) all going back to one chip on the board, clearly a USB hub of some sort. Anyway, the camera was a bit pants and I thought it would be much cooler to have internal Bluetooth , especially now I am playing about with the Google App Inventor's Bluetooth functions. I disassembled a USB Bluetooth adaptor and made a test connection to try it out in place of the camera. First time out it didn't work, but reversing the D+ and D- USB connections did the trick and it worked. For some odd reason the camera module had these connections reversed although every other USB module I've seen including the wi - fi one in the tablet seems to follow the standard USB wiring conventions. All I need to do now is tidy the wiring up by removing the USB plug from the Blueto

USB DOS

Image
DOS running 'live' on a netbook . I upgraded the RAM on this original Acer A110 from 512Mb to 1 Gb using a RAM module I got from another kind donor and am waiting on parts from China to do a cheapo upgrade of the 8 Gb solid-state HDD to an 80 Gb SATA one extracted from a laptop that had been run over by a car (I kid thee not, actually run over... by a car). Anyway in the meantime I've been trying different Linux distros , Android and even DOS on it and DOS is actually pretty cool, especially FreeDOS and FreeGEM .

Taking the tablet! - WORKING

Image
I bought this Android tablet from a mate for £20. I think it was a warranty return or something he got on eBay. Anyway, it worked for about a week and then just quit and it looks like the power board or maybe the inverter for the screen has gone wonky because there is a buzzing sound when you try and power it up. That said, after just a week I was hooked! I was able to plug a 3G dongle in and surf the web from anywhere, just like rich people do with iPads (!) and Bluetooth worked out-of-the-box with a £1 dongle from... PoundWorld. What really got me excited was when I got my first app working on it. Okay so it was only the tutorial app from Google App Inventor and admittedly it was just a photo of a cat that purred when you touched it, but it worked. Now App Inventor includes libraries for Bluetooth and USB communications so if I could get this thing working again it would be the dashboard car console to kill for, for £20! UPDATE - THE TABLET IS WORKING AGAIN!!! I took it apart on 24

Touching the pad

Image
An interesting little 'quick' project. The touchpad out of a broken laptop wired to an old PS/2 connection from an old mouse. Plug-and-play touchpad for the carputer project. Both mouse buttons work as well as the tap-to-click feature. I could mount this on the dash or pretty much anywhere. Result!

Kicking Myself

I finally gave up on the XDA and stripped it for spare parts as the main connector was broken. I've been holding out in the hopes I'd get a similar 'phone somewhere with a cracked screen (I narrowly missed one on its way to the dump). It just dawned on me that with the Bluetooth adaptor for communications all I needed to do was get power into the XDA and I'd have had a very useful pocket computer. Of course at the time I wasn't even aware you could send serial data via Bluetooth so I guess I have to put it down to the learning curve, but it's still annoying.

Weebly Web

I've been mucking around on the web again. Check this out and send me any photos of hair salons if you see any good names. Krazy Kutts Weebly is a fantastic online web design system which is free for basic use (which is actually far from basic). You can add video, audio and all sorts of other things just by linking to your YouTube or podcast account elsewhere.

Serial-to-Bluetooth

Image
I purchased this little Bluetooth module on eBay, another special all the way from China. It cost about £7 (delivered), but in bulk they can be bought for as little as £2. The module converts a TTL serial port such as the TX/RX pair on a PIC microcontroller to a basic Bluetooth communications link. As long as it is paired with a computer, 'phone or PDA which supports 'Serial over Bluetooth ,' a virtual serial port can be set up to allow any terminal program (or DIY software) to communicate wirelessly with the microcontroller . I got it tested last night using the basic 8-channel ADC program on the PIC 16F690, which outputs a stream of analogue values serially, usually via RS232. Anyway, after a bit of fiddling with the settings I got a test serial program written in Pocket Zeus working on the iPaq and a stream of data arrived wirelessly via the iPaq Bluetooth . Incredibly cool and lots of application, but starting with sending engine data via Bluetooth to the