Translate

Sunday 2 December 2018

It's (another) Arduino Christmas.

Here's a super simple persistance-of-vision display.

Drive the neighbours mad with 8 static leds, that when they move their head, or drive past, delivers a festive message!

Ingredients.

1 Arduino board (I used a 3.3V 8MHz mini, but anything will do)
8 LED's (if using a 3.3V board, make sure you have enough voltage to light the LEDs!)
8 current limiting resistors

Connect each LED to pins 0-7 (noting 0 and 1 are RX and TX) via a current limiting resistor, and ground.

Load the code from https://github.com/andydoswell/christmas-POV

and enjoy the festive season!



And here's Stuart W's version!


Friday 30 November 2018

Building Frank C's Hedghog 625 PAL to 405 System A standards converter.

It's time to big up someone else's project.

Enter Frank C's Hedghog converter...

Details of the project an be found here.. http://electronics.frankcuffe.ovh/hedghog

It's a stunning project, and features a few useful functions not found on my other standards converter, the Aurora SCRF405 (which for those of you who don't fancy the DIY approach, can be found here http://www.tech-retro.com/Aurora_Design/Single_Converter.html)

It consists of a digital video converter (The TVP5150) which converts PAL to an 8-bit ITU−R BT.656 format. These one's and zero's are fed to an EP2C5 FPGA development board, which mounts to the top of the PCB. The magic happens in here, and the resultant 405 line system A video output emerges from the resistor ladder DAC. This is then passed to a MC44BS373 modulator IC, which is tunable on all Band I and Band III channels. The tuning of the modulator is also taken care of within the FPGA, and is set with a hex switch. There's a second MC44BS373 which is modulating audio at the required 3.5MHZ spacing below the vision carrier.

The unit produces aspect ratios of both 4:3 and 5:4 (5:4 being in use up to 1950)
There's a Pedestal function which lifts black level 50 mV above blanking level. This was abandoned on transmitters post-war, as it reduced the efficiency of the transmitters. It may help with early sets that suffer from flyback lines.
You can select between normal broad pulses or broad pulses with equalising pulses. Equalising pulses were never in the spec, although it may help interlace on some sets (ironically it upsets interlace on some, and causes the top of the picture on some Bush sets to "hook")
The three-line interpolator has three settings: soft, medium and sharp interpolation apertures.
Switchable 1KHz or 400Hz test tones.
There's also a PM5544'esque test pattern, and stair-steps.

These functions are all available via switches on the front panel.

PCBs were ordered from the most-excellent pcbway.com, and arrived within 7 days.

The FPGA board came from eBay.
The MC44BS373's I had to source from AliExpress, as it's now classed as obsolete, however, at the time of writing this, there appears to be plenty of stock from "grey" suppliers. I dislike doing this, as many times I have been caught out with fake parts! Caveat Emptor. I used the AliExpress supplier YT Electronics components co.,ltd


The phono sockets also came from AliExpress (link) and fit with a minor modification.

Assembly is straight forward, don't let the surface mount put you off. Get a decent quality gel flux. If you've seen my videos, you may have realised I suffer with a benign tremor (nothing to worry about, I've had it since I was 14), and I can mount this stuff with ease. I do have the advantage of a microscope.

A bit of blue-tac helps hold the board in place. First off I fit the semi's.

Then the passives...

Programming the FPGA is straight-forward in windows, using the Quartus II (13.0 sp1) software, and the "USB-blaster" supplied with the FPGA board. I failed to get the software to work under Ubuntu (although it would "see" the programmer hardware, the program option remained unavailable). When correctly programmed, there's a binary counter running on three LEDs on the board.
 Sockets and switches are mounted.

And the FPGA board fitted.

... and it's switched on!











However, some fault finding was required, as although the test patterns and test tones were OK, there was no converted video. With the help of the designer, Frank and the VRAT forum (here), it was apparent something was wrong with my FPGA board. After some fault-finding, a tiny solder bridge was found on the FPGA board, shorting out two of the lines. Once this was removed, the converter worked faultlessly.


Moire pattern is being caused by the camera, the actual picture quality is superb.

I like the additional functions available from the front panel. Picture quality appears to be on a par with the aurora converter.

What I'd really like is a centre-cut out function for dealing with a 16:9 input.... Frank?

Monday 1 October 2018

The best laid plans of mice and man... Fellows A75 laminator continued ...

If you've been following this for a while, you'll know I modified a Fellows A75 laminator to get a more reliable way to make toner transfer PCB's. (You can find the original articles here and here.)

As I had predicted, we were now using the item way outside of it's specification, and that's it's life expectancy was certainly going to be, erm, compromised....

Well, tonight it happened. It stopped getting warm. Now I've got a commercial prototype to get out, and I need it. Let's see what's happened.....


So, the poor thing is once again disassembled. Those two red wires you can see running from the other side of the PCB are connected to the element.... A quick check with the meter, and ... it's open circuit. Damn.

Now, in the last modification I decided to raise the temperature by modifying the controller. So what if there's one of those non-resetable thermal fuse things on the element somewhere....





And there is! Mounted against the lower heating element...

It's duly removed, the two wires soldered together, and insulated with a piece of heatshrink...









Back in business!

Now, we've removed an essential safety device, so I'll re-iterate my previous warning... We're putting paper in here, which is being exposed to higher temperatures for more time than it would be in normal use.... If it should jam, there's a risk it could smoulder and catch fire, and ruin your day... DON'T USE IT UNATTENDED!

... you nkow what , I may just build a combined speed/ temperature controller for it, and have done ...

Sunday 2 September 2018

The Air Ministry Power Unit Type 87. Ref no. 10K/201.

Just a short video about this wonderful piece of history ...





Here it is in action....


Friday 31 August 2018

Tascam Portastudio 488 MKII Power Transformer replacement and the dreaded gear "c".

It's not often that Mr Often calls...

"Got this Tascam 488, it's gone dead, can you take a look?"

Yeah, why not....

What a feat of engineering ... 8-tracks on a cassette tape!

This one's a Japanese model, designed for 100V mains operation ... the trouble is it had been run on a 115V step down transformer.... What's 15V between friends? ...

Well, on inspection the mains transformer was open circuit across the primary.











A quick look at the circuit diagram shows there's a thermal fuse in the primary... I may be able to pick it apart and replace it, but to prove the transformer is OK, I temporarily short it out....

The transformer is NOT OK! :( It's got shorted turns somewhere, thankfully I ran it up slowly using a variac whilst monitoring the current.... it draws a few amps at just a few volts of input... game over ....



I call Tascam... but a replacement transformer is obsolete :(

So what about building a replacement supply?

Looking again at the circuit diagram, I think we can replace the single, multiple winding transformer with three separate transformers. We're going to be stuck for space, and there may be a magnetic shielding issue, so it'll have to be outboard, and in a separate enclosure...

The top most winding, appears to be about 12-0-12 V, so that's easy. The next winding is a bit tricky... we'll come back to that. The bottom one wants to be about 50V. It supplies some negative voltage rails and the +48V phantom power. I'll try a 24-0-24 as it's easily obtainable.

Now that centre winding .... it's centre-tap is fed with -25V DC, and the two phase outputs go off via a separate plug to the control PCB... Ah-ha, this is the filament voltage for the vacuum fluorescent display! No Idea what the actual voltage is though...

Some transformers for the top most and bottom most windings are sourced, and lashed up... A small  6-0-6 transformer is used for the filaments.... (The 12-0-12 transformer is under the PCB in the photo)

The top and bottom transformers are powered up, as I'm pretty sure I've got that right, and all the relevant voltage rails appear on the power supply PCB. So far so good. Now I slowly increase the input voltage to the  6-0-6 transformer via the variac, until the display is evenly illuminated. It wants about 100V (across it's 220v primary) .... I switch the small transformer's primary to 110V operation, and repeat the process. It seems happy being fed with the ~48V from the bottom transformer! Great!

Here's the schematic..


The pin numbers from JP1 correspond to the pin numbers for P2 (the red connector on the Tascam Power PCB). Note the transformers TRI and TR2 have the primaries wired for 240V operation. If you're in that funny bit of the world that uses 110V, adjust accordingly. TR3 is wired for 120V operation. You can adjust the filament voltage slightly by using a 5W resistor (a few 10's of ohms should do it, but you'll need to experiment) in series with the primary of TR3. You could also switch to a 5-0-5 transformer. If you can see the filaments in the display glowing, the voltage is too high (note here, if it's way to high, the filament will fail, and that's game over). If the display is not evenly illuminated, your voltage is too low.

The whole thing is tidied up, and mounted in a nice enclosure. Connection is made by a 9-pin D connector to the main unit.


9-pin D mounted on the unit ... 



.... and wired to the PCB .... 


... and tested... great, another repair done... 


... except it's never that easy, is it... During testing the tape mech proves to be faulty... It's removed for inspection.

"It's probably belts" ... nah, is that a broken gear I can see??? 


Off with the loading motor plate , two screws at the back ... 

... and one on the top ... 

... oh that gear's broken alright ... It's known as Gear "C".


Thankfully, there's a guy called Sam Palermo, in the USA, who can supply a newly manufactured gear (the originals are unobtainium). It's quite expensive, but it's that or landfill.


After removing the gear chain, clean off the sticky grease with a cotton wool bud and some IPA.

I also gave the mode select switch a birthday whilst I had it apart.


It's then time to reassemble the gear chain, with the new gear. 

The deck is then reassembled, re-fitted and passes testing with a clean bill of health (phew) 

The guilty parties....

A lot of work, but another saved from landfill.

Sunday 29 July 2018

Paddock battery charging.


Paddock battery charging. That is charging up our racing car battery whilst it's stood in the paddock awaiting it's next run. Both Julian (with the Mini) and Matt (with the Chevette) have expressed an interest.... right...

So we've started the car, ticked over in the cue lane for a few minutes, done our timed run, and driven back to the paddock. We can now charge up the battery waiting for our next run.

The car is fitted with an acid mat battery, and we have a spare, normal lead-acid battery to charge from in the paddock... great, just connect the two together right? Well, no. The fully charged voltage of a lead-acid battery is 12.6 V (at 20 degrees C) ... the best we can hope for is the two batteries, once connected, is to equalise, and it won't happen quickly. So we need to raise the voltage of the paddock battery to 14.4 V, which will charge the car battery without causing it to gas. We'll also limit the current to 5 amps or so.

Now, we could build ourselves a small boost circuit to do this for us, but thankfully, we can purchase a module from eBay for very little money.

It has adjustable voltage output and adjustable current limiting, and rated at 90W.












I'd also like to be able to measure the output current and voltage, and the input voltage...

Voltages are easy to monitor. I don't want the paddock battery to become discharged below 11.6V to avoid it becoming damaged.

Output could be measured by looking at the voltage drop across a small resistor in the negative lead to the battery under charge (in fact, that's exactly how  the constant current mode on the boost module is done), however, I'll use another module....

....enter the ACS712 current motoring IC.
It measures the current by looking at the magnetic field created around a heavy piece of wire which is moulded into the IC. There are 3 versions of the IC, a 5A version, a 20A version and a 30A version. I have chosen the 20A version, so I've got a bit of headroom.












There are two relay modules, which are used to switch the charger on, and the other to enter "bypass mode", whereby if the battery to be charged requires more than 5A at the minimum voltage, the booster will be bypassed, until the charge current falls below 5A, at which point the booster can safely take over.









This is the monitoring circuit. Power is supplied to the ATMEGA328P and accessories via a 7805 regulator.  The uC reads the voltages of input and output using ADC 2 & 3 respectively, via dividers formed by R2 & R3, and R4 & R5. Current is read (as a voltage of  100mV / A) by the ACS712 connected to ADC0. A relay output is provided, which will connect the output from the boost converter once the micro is up and running, and the battery to be charged is connected. If the current exceeds 5A, the boost converter is bypassed, so as to protect it until current is stable. Data is displayed on a 20x4 LCD, connected via an I2C interface. In the event of the input voltage falling below 11.6V, the beeper will sound to alert the user the input battery is becoming seriously discharged. I could stop charging at this point, using the relay, but it's more important that the car battery is charged than the input battery being flat (although at 11.6V, the input battery is entering deep discharge, and permanent damage/loss of capacity may be being caused)

A small PCB is etched ... 

Here's a great website for creating a 3D view. It only works with small boards (unless you want to pay for it) ... but's its a fun thing... just drag and drop your .brd file from eagle into it! You can zoom around and look at any angle, even from below ... Website can be found at 3dbrdviewer.com. (Sadly, since writing this, the site has closed.)


It's a pity it doesn't look quite so good in real life ;)









And the unit is assembled and tested...

Shown here charging a small SLA.












Code (and eagle files) can be found on my github page https://github.com/andydoswell/paddock-charger

Saturday 28 July 2018

Heed Orbit Series 2 power supply repair.

Colin dropped in to bring me an LP or two, and dropped off a mysterious black box.

"It's a Heed power supply, you plug it into your LP12, and it allows you to switch speeds without swapping the belt over, I think it's been got at. Care to take a look?"

Yeah ... why not...




It takes mains in, and spews mains out ....












The little switch on the front alters the output frequency between 50Hz and 67.5 Hz, thus changing the speed of the LP12's motor.



Mains comes in and is supplied to the larger transformer, where it is rectified into +/- 32V supplies. There is a crystal divided oscillator (with 2 crystals, one for each frequency), and this oscillator, after some signal shaping, drives a push-pull amplifier, which drives the primary of the output transformer, which turns the waveform back into 230V AC, at the frequency of the oscillator.



This unit had no output, and everything was getting hot. The heatsink, both transformers. Something was very wrong.


It didn't take long to find the negative rail was being heavily loaded, and the BD242C output transistor was short circuit.

I replaced this, and the other half of the pair, a BD241C just to be safe...







Replacement of the transistors provided the cure. I left the unit on, running into a small load to soak test it.





Although the 67.5Hz is a shade high...