Wednesday, 4 October 2017

Maslow Update

Maslow Update

The Maslow is now together:

This morning I moved the motors forwards so that the chains are more parallel to the work surface. Hopefully this will stop the chains jumping on the sprockets when I start cutting thicker material.

The router I am using is quite top heavy and this causes the sled to tend to tip backwards, especially if the router bit it out from the work surface. at the moment I'm putting a rod of steel on the top of the sled as a sort of counter weight. It works, so I'm happy at the moment.

I have made the first 'thing' using the machine:

Well, OK, it's the parts for a thing, not a thing, but this is the sort of thing the Maslow was for. Big plywood things. At first anyway, maybe big scaffolding board things later. These parts are going to be a filament reel for the 3D printers. I've made them manually before and this was way quicker. And I can do something else while the parts are cut out.

The calibration was a bit out before I moved the motors. I'll have to re-calibrate now the motors have moved, but hopefully I can get the calibration back to something as good as I had before. Those discs I made are slightly oval, but I'm hopng I'll be able to manually adjust that out on the next calibration.

The Z axis mount work remarkably well, considering the wood isn't actually attached to anything, it's just wedged in there.

I may have a go at 3D printing a replacement for the wooden version, but this works, so I'm in no hurry.

Tuesday, 26 September 2017

Prototype X-Y Table

 The new microscope came with a nice XY stage, but the slide holder was missing. I made one from a cheap XY table. The XY stage is manual, which is fine for adhoc looking at dies, but for photographing dies and then stitching photos there's a lot of photos. It's tedious doing it manually. So I prototyped an XY table from DVD drive stepper motor assemblies.

I had an arduino and two stepper drivers, so connected it all up;
The result is here, the two stepper drivers are being driven with the same signals.

And another view.

I'll have to make a stage block with a dovetail to mount this on the microscope. I may also remove material from the top table as it could do with being a bit lighter.

Wednesday, 20 September 2017

New Microscope

I've been looking at a lot of ICs under my microscopes recently, and realised that it was a way that I could do better reverse engineering. This will let me look at the ICs on a PCB without datasheets, so the PCB could possibly be re-used.
Reverse engineering the IC is an interesting thing in itself, as well.

So, I had a look on ebay and bought a metallurgical microscope. This has a lighting system that can illuminate a subject from the top, so it works on opaque samples like ICs.

It came with no objectives, so I'm now hunting for decent objectives for it. It has a proper X-Y table which is good for moving samples about. This is especially useful for die-shots which are large arrays of photos.

The USB microscope is still useful for soldering and so on, as this microscope has a working distance from objective to sample of between about 0.5mm and 10mm. That's not a lot of room for soldering!

The X-Y table didn't have a slide holder so I bought a cheap X-Y table mechanism on ebay and used some melted down food trays cast into an ingot :

After machining into a block, I drilled some holes and mounted the slide holder from the cheap XY mechanism:

So I now have a nice spring loaded slide holder:

It's not perfect, and has a bit of a broken drill in it, but it's decidedly better than my first attempt:

Thats a bit of sheet metal bent into a holder shape. It's much better now.

Next projects are a camera mount and an LED based illumination source.

Saturday, 2 September 2017

Maslow L298 Failure

Maslow L298 Failure

My Maslow motors stopped working, so I removed the IC from the PCB, decapped it and had a look. One of the transistors has overheated, maybe shorting some rails out:

For reference, the full chip looks like this:

Tuesday, 29 August 2017

From Scrap to Rings...

Starting with some leftover wood, I found some circles inside, using the bandsaw:


 It turns out that there were quite a few circles in that bit of scrap:

The circles stack quite nicely too...

I found some holes in the middle of the circles, as well...

We chose some colours and bought some sample pots

and went multicolour.

Saturday, 26 August 2017

Maslow Update

A short update of the Maslow. I've added the Z axis drive using a piece of wood, I'm planning to 3D print a thingie to replace the wooden prototype.

Unfortunately, while testing the Z axis I drove the motor into a jammed z axis screw and overheated one of the motor controllers, so I now have a Maslow that only has one motor drive.
I'm going to have to remove the drive chip and put a new one on...

Sunday, 13 August 2017

Maslow Arrival
My Maslow CNC router kit has arrived, so I have been making a frame for it. The frame is a one-off that fits on a wheeled trolley I made a while ago for sheet material storage. The dimensions seem to be absolutely correct for a Maslow frame, strangely, as I didn't build it with the CNC machine in mind.
The kit looks like this after it has exited the box.

The frame so far is a double A frame with some chipboard flooring for a sacrificial routing surface. (It's really cheap, which means it is comfortably sacrificial).

The A frame is constructed similarly to the standard Maslow frame, and I'm keeping the dimensions very similar even though I will be using smaller plywood sheets than the 8 x 4 foot sheets Maslow was designed for.
I'm planning on putting triangular motor mounts on the cross beam, hopefully they will be rigid enough for the motor/chain stresses. If not, then I'll look at a single beam across the top and supports. I'm using up a lot of material I have hanging around, hence a different design and varied materials.
3D Printing Failure
While attempting to make one of these:

I made one of these:

Shame it's not as useful.

Friday, 4 August 2017

A Bit of Leather Work

I made some new straps for this bag, using leather rather than a plastic version of leather that was originally used.

One of the original straps had just worn out:

While I was doing work on the bag, I also replaced the popper that was on a closing strap with a new one, as the old one had been bent out of shape:

Thursday, 13 July 2017

Canopy Fitting Fix

The canopy fitting that I remade in nylon was taken to Italy and tried out. The pivot bolt and nut were fouling on the part that this remade part fits into, so I have dropped the bolt and nuts by counter-boring the holes:

I used a 20mm Forstner bit to do this. The bolt and nut are now much lower and hopefully should easily clear the
other part:

I bought some stainless bolts, nuts and washers as I realised that the canopy is going to be used by the sea, and the original bolts were maybe not going to weather sea water exposure very well.

Wednesday, 12 July 2017

Distance Increaser

When washing nappies in the toilet it's always nice to have a distance increaser, or, to give it it's Latin name: A Pair of Tongs.
They keep your hands away from the juice found in toilets and allow movement of nappies without the brown tipping of fingers.

These can be made out of wood, and when made quickly out of offcuts of wood and a homemade hinge (old PC case) they tend to be crap.

When remade (from the same materials) they can be a lot better.

Special slider that stops the ends from missing as the tongs twist:

DIY hinges as the hinge pot was empty (made from old PC case sheet material):

In between the wooden bits, there's a spring, held captive by the slider:

It works a lot better.

Friday, 30 June 2017

The Wet Phone Affair
( or, How to Make Your Own SD Card)

One paddling pool plus one phone equals one project. After the phone was dried out it still didn't boot well enough to get stuff off it using USB. After all attempts to get the phone to boot had ended, there was one path left: take the flash memory off the phone and read it some other way. The phone was an 8G model and the flash was implemented using an 8G eMMC module. This is a common type of flash memory with a fairly standard pinout and form factor. The package used is a 153 ball BGA with pins on a 0.5mm pitch. Not all balls are connected, so it's definitely feasible to wire this device up and read the data off. Fortunately, as this is a eMMC device, it uses the MMC interface and so it is possible to wire the chip to look like a micro SD card.

So, I removed the chip from the phone PCB (hot air gun) and attached it to a micro SD to SD card adapter. Internally these are just wiring so there's ample metal inside to attach wires.

This is the internals after it's been wired up:

This device (Sandisk SDIN8DE2-8G)  has some things that I think are peculiar to itself. Some wiring hints:

D0 to D3 just wire to the appropriate SD card signals.
The CLK and CMD signals also wire directly.
The VCCI signal needs a capcitor to ground ( I used 200nF)
There's two VSS signals on this device and two VCCs. I wired both Vcc to the SD card Vcc and bot Vss to the SD card Vss.
I put a capacitor across Vcc and Vss. (1uF)

The wire I used was from an old transformer I dismantled, it has an insulating coating that needs to be scratched off to get a good contact. Thin wire is essential. A microscope is almost essential too, if just for inspection.

After wiring the SD card/eMMC arrangement, after a couple of false starts, it worked. The data was read with no errors in dmesg for a 7.3G dd invocation.

DIY SD card...

Friday, 23 June 2017

Vortoscope Sort Of

Vortoscope (Sort Of)

The vortoscope is an optical attachment for cameras which is similar to a kaleidoscope. I want to try to experiment with  one of these, so I decided to build a copy of the Leica universal polariser part that attaches to the lenses on the front of my M8.
The attachment is a circular ring that attaches to adapters that screw on to the front of each lens.

The basic ring:

I drilled some holes that will be used to mount various  front arrangements.

The first front attachment is a 3d printed holder for a prism from an old pair of binoculars I dismantled years ago.

The thumbscrews are used to  attach this assembly to the lens adapter disks. Using different 3D printed adapters I should be able to attach various different optical adjusters...

Fx502p Cassette Interface

Fx502P Cassette Interface

The Casio fx502p is an old calculator. It is from the 80s which was a time when the cassette recorder was more common that it is these days, and it was used for non volatile storage on devices like this. I have a couple of these calculators, but I don't have a cassette recorder any more, and I really would like to have a better way to store programs than a cassette tape.

So, the MK I cassette interface based on an Arduino Uno:

This breadboarded circuit was capable of reading a cassette file sent by the calculator and then sending that same file back again. The output from the cassette interface is a microphone signal of about 10mV so there's an amplifier stage to get the signal to a logic level. This breadboard proof of concept worked well, so I made a PCB version of the amplifier circuit.

The Arduino Uno is just fast enough to handle the signals from the fx502P, which are 2400Hz and 1200Hz pulses, but I wanted to try to get this circuit working with calculators and computers that use faster signals, so I replaced the Uno with a Due which is a much faster processor. It also has more flash memory and RAM so I can add the SD card interface to the Due and have enough flash and RAM space left over to cache programs received over the interface.

The SD card interface was integrated with the amplifier on a shield:

The trimmers are used to adjust the gain of the amplifier stages and also the final threshold level on the comparator stage that is used to generate the final pulses .

The control of the card is currently done using the arduino serial interface. There's a set of commands that can be sent to do things, like send the current RAM buffer back to the calculator.

This is a program file sent from the fx502P:
This can be written to SD card and then read on a PC. You can also alter the program or data on the Arduino and send that back to the calculator. In this way you can get access to program instructions it is impossible to access from the keyboard, or the alphanumeric characters that, in the case of the fx502p can only be accessed with a sequence of keystrokes.

This is the fx502P receiving a program from the arduino:

Here I have sent the memories in one fx502p, modified them to give alphanumeric characters and sent the modified memory data to a second fx502P, you can see them on the calculator on the right.

 Next, I need to add a few commands to the code to read files from SD card and also see what other calculators and computers I can get to work with the interface.
I also added code that used the bottom bit of the file number to turn the Arduino LED on if the bit is 1 and off if it is 0. This is a single bit output port. It would be very feasible to assign input and output ports to one of the memories of the calculator (perhaps just for a particular file number). This would allow the calculator to control external hardware and read sensors etc. You could also attach an I2C port to the calculator with some extra code. I'll try this as well.

Sunday, 28 May 2017

Video of DRO Operating

Video of DRO Operating

I've made a little video of the DRO operating so you can see how fast the update rate is. It's several readings a second and easily fast enough for anything I do. The gauge data stream is pretty fast and all six channels are read by the main processor over I2C, only three are displayed.

The main TFT is quite slow with big updates, but just about responsive enough when I use the menus.

One thing I was worried about was the auto power-off that the gauges have. After a period of inactivity they shut down, but fortunately all they do is turn the display off. The data stream continues, which is perfect for a DRO like this. It also might explain why the batteries go flat so quickly...

Tuesday, 16 May 2017

Latest OLED Watch (Isn't OLED)

The OLED watch project started when I saw some small OLED displays on ebay and thought 'What can I do with that?'. The watches followed, but there was always the problem of the power consumption of the display. I manage about 400 hours of use from a rechargeable 2032 battery, more from a non-rechargeable (the capacity is higher).
So, I had a look around and found a lower power display, one of the Sharp memory LCDs. These are very low power LCD displays.

A redesign of the hardware to drive the LCD was needed as the display isn't I2C, it's a serial bit stream. The hard part of using this LCD was finding a way to solder the 0.5mm pitch connector on to a PCB. Milling that connector was challenging as well. In the end I got a new soldering station so I have hot air. I also have a stencil for solder paste application. As well as milled PCBs I had a few made up by Dirty PCBs so I have a full solution if I need it.

The code was adjusted and the display was up and running.

The PCB is reversed due to the layout of the display connection. It's a cleaner look, but less interesting. I may revisit that in a later iteration.
The battery has also been reversed.

The overall watch is as thin as the OLED one and is very wearable.

So far the battery life seems to be far in excess of the OLED watch. The display update takes 20ms and to get power consumption to an absolute minimum the display is updated every 5 minutes. I'll see what real world battery life I get from this and then decide on what update rate I'll settle on.

Friday, 5 May 2017


Microprofessor MPF-1P

I recently bought an MPF-1P, which is an old Z80 training board. The one I got was in a bit of a state. The crystal had been removed, as had the processor. There were no ROMs and the 7805 regulator had also gone. The display power supply wasn't working as a transistor had blown.
These old bits of kit are very fixable, as the schematics are findable, and the PCB is all through hole technology.
I had all the parts I needed to fix the MPF in my parts bins, and got to the stage where the display had a scanning across all the digits. When the reset key was pressed the scanning stopped. I had found a ROM image online, but it had 'BAD DUMP' next to it, which was suspicious. I put out some feelers via email and on a forum (EEVBlog) and within about 5 hours I had a reply that listed a site which had many images and files. One programmed 2764 later and the MPF is alive:

I have some other images I'm going to try, but unfortunately I found that my old EPROM eraser no longer erases. I think the bulb has gone. As it's cheaper to get a new eraser from China than buy a new bulb (if I can foind one), I've ordered a new eraser. It'll arrive in about four weeks I'd think, so things are on hold for a while.

After this success, I thought the keyboard deserved a clean: