Posted on 10 Comments

3M Microtouch 17″ Raspberry Pi Touch PC

A while back I posted about a 3M Touch Systems industrial monitor that I’d been given. I had previously paired it with a Raspberry Pi Model B+, but for general desktop use it was just a little on the slow side.

Since the release of the Raspberry Pi 2, with it’s 4-core ARM Cortex CPU, things are much improved, so I figured I’d post an update with the latest on the system.

The monitor I’ve used is a commercial one, used in such things as POS terminals, service kiosks, etc. It’s a fairly old unit, but it’s built like a tank.

3M Panel
3M Panel

It’s built around a Samsung LTM170EI-A01 System-On-Panel, these are unusual in that all the control electronics & backlighting are built into the panel itself, instead of requiring an external converter board to take VGA to the required LVDS that LCD panels use for their interface.

The touch section is a 3M Microtouch EXII series controller, with a surface capacitive touch overlay.

Touch Controller
Touch Controller

Above is the touch controller PCB, with it’s USB-Serial converter to interface with the Pi.

As there is much spare space inside the back of this monitor, I have mounted the Pi on a couple of spare screw posts, fitted USB ports where the original VGA & Serial connectors were in the casing, and added voltage regulation to provide the Pi with it’s required 5v.

Overview
Overview

Here’s the entire back of the panel, the Pi in the middle interfaces with a HDMI-VGA adaptor for the monitor, and the serial adaptor on the right for the touch. A small voltage regulator at the bottom of the unit is providing the 5v rail. There’s a switch at the bottom next to one of the USB ports to control power to the Pi itself. The panel won’t detect the resolution properly if they’re both powered on at the same time.

At 13.8v, the device pulls about 2A from the supply, which seems to be typical for a CCFL backlighted LCD.
Now the Raspberry Pi 2 has been released, it’s much more responsive for desktop applications, especially with a slight overclock.

Shameless Plug
Shameless Plug

A full disk image enabled for Desktop & 3M touch monitors is available below for others that have similar panels. This image only works for the Pi 2!

[download id=”5591″]

Posted on Leave a comment

Dell SE197FPf Monitor 12v Conversion

My other monitors are a different model, and have a slightly different main PCB inside, but the process is mostly the same for converting these to 12v supply.

Main PCB
Main PCB

In this monitor type, there is only a single board, with all the PSU & logic, instead of separate boards for each function.

PSU Closeup
PSU Closeup

This monitor is slightly different in it’s power supply layout. The mains supply provides only a single 12v rail, which is then stepped down by a switching converter to 5v, then by smaller linear regulators to 3.3v & 1.8v for the logic. This makes my life easier since I don’t have to worry about any power conversion at all.

PCB Reverse
PCB Reverse

Here’s the backside of the PCB, the mains PSU section is in the centre.

Attachment Points
Attachment Points

Here’s the pair of 12v supply wires soldered onto the main board, onto the common GND connection on the left, and the main +12v rail on the right. I’ve not bothered with colour coding the wiring here, just used whatever I had to hand that was heavy enough to cope with a couple amps.

12v Socket
12v Socket

A small mod later with a cone drill & the 12v input socket is mounted in the LCD frame.

Casing Mod
Casing Mod

Some light removal of plastic & the back cover fits back on. Current draw at 13.8v is ~2A.

Posted on Leave a comment

17mm µMonitor

I’ve had a couple of viewfinder CRT modules for a while, & haven’t done much with them, so I decided to make a very small B&W monitor.

CRT
CRT

I ordered a small transparent ABS box when I made a large order with Farnell, that turned out to be just about the perfect size for the project! The CRT & PCB barely fit into the space. The face of the CRT itself is about 17mm across.

Module Installed
Module Installed

Here’s the main PCB & tube fully installed into the case. Barely enough room for a regulator left over!
Power is provided by a simple LM7809 IC to take a standard 12v input.

Module Rear
Module Rear

Rear of the case, showing the fit of the control board.

Connections
Connections

Here’s the back of the monitor, with the DC input jack & a 3.5mm 4-pole jack for audio & video. This allows simple connection to many devices, including the one I’ll use the most – the Raspberry Pi.

Completed
Completed

Completed monitor. Audio is handled by a very small 20mm speaker, currently mounted just below the CRT face.
Current draw from a 13.8v supply is 117mA.

 

Posted on Leave a comment

Rigol DS1054Z DC Power Supply – Linear Post Regulation

Finally, here’s the last part of the Rigol 12v DC Power Supply project, the linear post regulation section to remove some of the ripple.

I have made a couple of layout adjustments since the last post about this part of the project – a little more filtering on the DC outputs. As usual the Eagle project files are at the bottom of the post for those who might find them useful.

Updated PCB
Updated PCB
Updated Schematic
Updated Schematic

 

Completed PCB
Completed PCB

Here’s the completed PCB, partially installed in the back of the scope. The missing regulator is the 5v one, since I already have a source of clean 5v from my original attempt at the supply, it’s not a problem not using a linear after the switcher. The filtering is the same on all channels, input from the switchers is on the right, outputs to the scope on the left.

PCB Bottom
PCB Bottom

Here’s the bottom of the PCB, with the common mode input chokes. The design of this board has allowed me to remove a couple of the switching modules as well, as I can use a single bipolar supply to run both sets of bipolar regulators on this board. This should help remove some of the noise also.

The ripple level has now dropped to lower than it was originally on the mains supply! Current draw at 13.8v DC is about 1.75A.

Scope Ripple
Scope Ripple

[download id=”5589″]

Posted on Leave a comment

Opticon OPN-2001 Barcode Scanner

OPN-2001
OPN-2001

Random teardown time!

The OPN-2001 is a very small handheld barcode data collection device, used for stock keeping, inventory, etc.

It’s powered by an internal Li-Poly cell, at 150mAh, and has storage for 1000 barcodes in it’s internal memory.

USB
USB

The unit is charged via it’s USB port, the data can also be downloaded using this interface.

ID Label
ID Label

Here’s the bottom of the unit with it’s label. Serial number removed to protect the guilty. 😉

Cover Removed
Cover Removed

Here the bottom cover has been removed from the scanner, showing the internals. The barcode engine is on the left, this contains all the hardware & logic for scanning & storing the barcode data. The Li-Poly cell is under the FFC cable wrapped in foam tape for protection.

PCB Removed
PCB Removed

Here’s the PCB & engine assembly removed from the casing. The lower PCB appears to just handle the user interface buttons, beeper & USB power & charging circuitry. All the processing logic is on the barcode engine itself.

PCB Reverse
PCB Reverse

Here’s the back of the support PCB, with the pair of buttons for scanning & deleting barcodes. Also on this board is a 32kHz clock crystal & a Ricoh RV5C386A RTC IC. This communicates with the main processor via I²C for storing the date & time with the barcodes. At the bottom right corner are some of the power supply passives.

Support PCB
Support PCB

Here’s the other side of the support PCB, with the beeper, battery connector & the switching regulator to provide the barcode engine with 3.3v power.

Barcode Engine
Barcode Engine

Here’s the barcode engine itself, which is absolutely tiny, at roughly 20mm square. The main processor & it’s associated Flash ROM are on this PCB. The main processor has an ARM7 32bit core, with 64kB of RAM, and onboard 512kB of ROM for program & barcode storage.

Mirror
Mirror

Here’s the business end of the barcode engine, the mirror vibrates at 100Hz to produce the scan line. The laser diode is rated at 1mW, 650nm. This is in the deep red range.

 

Posted on Leave a comment

Baofeng Battery Capacity Lies

I’ve had a couple of larger batteries for my UV-5Rs for some time now, and decided to do a quick teardown to see if they’re actually the capacity claimed.

BL-5L Battery
BL-5L Battery

Here’s the label, claiming 3800mAh (3.8Ah) of battery capacity.
These batteries are held together with glue, but a good way to get these kinds of things open is by whacking the seams with the handle of a screwdriver. This cracks the glue without damaging the casing.

Battery Cracked Open
Battery Cracked Open

After a few minutes of cracking the seams, the battery comes right open. The pair of wires link the protection board on the cells to the DC terminals on the top of the pack. The charging terminals are under the cardboard insulator on the right.

Cells
Cells

Here’s the other half of the case, with the cells themselves. These are wired in series for a 7.2v pack, and at a capacity of 2600mAh (2.6Ah) printed on them, the label clearly lies about the capacity.

Posted on Leave a comment

USB1100 Digital Message Unit

This is basically an industrial, rugged MP3 player, in an extruded aluminium case.
They are used in commercial settings for generating telephone hold music or continual playback of background music in shops.

USB1100
USB1100

It’s quite a compact unit, in a nice aluminium case, designed for mounting into a comms setup. This unit will play any MP3 file, up to a maximum size of 11MB.

Connections
Connections

Here’s the user connections on the end of the unit. The device takes a standard 12v DC input, and has a single button for setup, user feedback is given through the multi-colour LED next to the power jack.
Both 8Ω & 600Ω audio outputs are provided for maximum compatibility. Volume & tone controls are also here.
On the other end of the unit is a single USB port for loading the audio files from a USB drive, and a reset button.

Main PCB
Main PCB

Here’s the single PCB removed from the casing. Unfortunately the main CPU has had it’s part number sanded off, and I can’t be bothered to try & find out what kind of processor it is at this point. To the right of the CPU are some flash ROM & SDRAM, along with the single USB port at bottom right.
The left side of the board is dedicated to audio output & voltage regulation, there are a fair few linear regulators in this unit.

Audio End
Audio End

Here’s the audio output side of the board, the transformer on the left is to provide the 600Ω output, the audio amplifier IC (BA5416) is just behind it. To the right are some of the main voltage regulators, a 5v one on the heatsink & a LM317.

Audio Codec
Audio Codec

The audio codec is a CS4271 from Cirrus Logic, a really high quality part, 24-bit resolution, 192kHz Stereo codec. Considering this is for telephone & PA systems that aren’t that high fidelity, it’s well built!

Posted on Leave a comment

Rigol DS1054Z 12v Power Supply Project – Completion

All of the parts I required to complete the supply arrived this morning. After several hours of building, here’s what I came up with:

12v Power Supply
12v Power Supply

I’ve mounted everything on a piece of FR4 PCB, with it’s copper plane grounded to the case. This backing board is the same size as the original PSU PCB to allow it to be screwed into the same location in the scope.

The power comes in via the converter on the right, which outputs a single 24v rail for the rest of the supplies. The other 6 supplies then generate the individual voltage rails that the scope requires. The use of a single input supply allows this system to operate at voltages up to 30v DC, so it’s good for both 12v & 24v systems.

Scope Ripple
Scope Ripple

At present the only issue is with some ripple on one of the supplies, this is showing up on the scope display with no input connected at the lowest volts/division. Parts are on order from Farnell to build some common mode filters to remove this from the DC output.

On a 13.8v supply, the scope draws about 1.5A total from the supply, giving a total power consumption of 20.7W. This is with all 4 channels enabled.

My wiring assignments & DC-DC converter ratings are in the table below

Connector PinPCB PinSignalMainboardDC-DC RatingWire Colour
110GNDGNDN/ABLACK
22+9v_GNDFAN --NABLACK
38+7.5V6.3V6AORANGE
414-7.5V-7.5V2AGREEN
51NOT USEDAC_TRIGN/ANOT USED
64+5V5V5A6ARED
76GNDGNDN/ABLACK
87GNDGNDN/ABLACK
912-17.5V-17.5V3APURPLE
109+7.5V6.3V6AORANGE
113+9VFAN +1AGREY
121117.5V17.5V3ABLUE
135+5V5V5A6ARED
1413GNDGNDN/ABLACK

Stay tuned for the final section of this build with the power supply filtering & main DC input connections!

73s for now 🙂

Posted on Leave a comment

GY561 Frequency & Power Meter LiPo Conversion

From the factory, the GY561 meter uses alkaline AAA cells for power. As these are not rechargable, and I don’t carry any other devices that take such batteries, I figured I’d replace them with a single Lithium Polymer cell that I can charge via USB.

Battery Compartment
Battery Compartment

Here’s the battery compartment, with the original spring terminals removed.
I searched eBay for a suitable sized cell, and settled on a 1000mAh type, with dimensions of 47mm x 28mm x 7mm.

This size cell required a small amount of modification to the battery compartment to make it fit properly with the associated charge & protection circuitry.

Modified Compartment
Modified Compartment

Here’s the modifications made to the compartment, I’ve ground away the plastic to make the bottom flat, and the plastic tabs that retained the original spring terminals.

Modifications
Modifications

After grinding away the original battery spring holders with a dremel, the cell fits perfectly in the available space. The small PCB on the top of the cell is the USB charger & protection.

Charger
Charger

The charger is located in a slot cut in the bottom of the casing, so the USB port is accessible from outside the compartment.

Wiring
Wiring

Here’s the rest of the wiring completed, with the power wires going through holes in the bottom of the battery compartment to join onto the PCB where the original terminals were located. I have insulated the solder joints on the control PCB with some Kapton tape to prevent any shorts against the lithium cell.

Battery Cover
Battery Cover

A small cutout was also required in the battery cover to allow the USB connector to poke out. This was easy to do on the soft plastic with a Dremel tool.

Charging Port
Charging Port

With the battery cover installed, the USB port is nicely recessed into the edge.

Charging LED
Charging LED

The indicator LEDs on the charging & control board show nicely through the plastic, here’s the unit on charge. When the charge is complete, another LED lights as shown below.

Charging Complete
Charging Complete
Posted on Leave a comment

12v CFL Lamp Failure Analysis

On the boat I have installed custom LED lighting almost everywhere, but we still use CFL bulbs in a standing lamp since they have a wide light angle, and brightness for the size.

I bought a couple of 12v CFLs from China, and the first of these has been running for over a year pretty much constantly without issue. However, recently it stopped working altogether.

12v CFL
12v CFL

Here’s the lamp, exactly the same as the 240v mains versions, except for the design of the electronic ballast in the base. As can be seen here, the heat from the ballast has degraded the plastic of the base & it’s cracked. The tube itself is still perfectly fine, there are no dark spots around the ends caused by the electrodes sputtering over time.

Ballast
Ballast

Here’s the ballast inside the bottom of the lamp, a simple 2-transistor oscillator & transformer. The board has obviously got a bit warm, it’s very discoloured!

Failed Wiring
Failed Wiring

The failure mode in this case was cooked wiring to the screw base. The insulation is completely crispy!

Direct Supply
Direct Supply

On connection direct to a 12v supply, the lamp pops into life again! Current draw at 13.8v is 1.5A, giving a power consumption of 20.7W. Most of this energy is obviously being dissipated as heat in the ballast & the tube itself.

Ballast PCB
Ballast PCB

Here’s the ballast PCB removed from the case. It’s been getting very warm indeed, and the series capacitor on the left has actually cracked! It’s supposed to be 2.2nF, but it reads a bit high at 3nF. It’s a good thing there are no electrolytics in this unit, as they would have exploded long ago. There’s a choke on the DC input, probably to stop RFI, but it doesn’t have much effect.

Supply Waveform
Supply Waveform

Here’s the waveform coming from the supply, a pretty crusty sinewave at 71.4kHz. The voltage at the tube is much higher than I expected while running, at 428v.

RFI
RFI

Holding the scope probe a good 12″ away from the running bulb produces this trace, which is being emitted as RFI. There’s virtually no filtering or shielding in this bulb so this is inevitable.

Posted on Leave a comment

Samsung ETA-U90UWE Adaptor Failure

Here’s an odd & sudden failure, the power adaptor for a Samsung device. It’s been working for months & on being plugged into the mains today the magic blue smoke escaped.

Samsung Charger
Samsung Charger

It’s one of their 2A models, for charging bigger devices like tablets.

Flash Burn
Flash Burn

Strangely for one of these chargers, no glue is used to hold it together – just clips. This made disassembly for inspection much easier. Evidence of a rather violent component failure is visible inside the back casing.

PCB
PCB

Here’s the charger PCB removed from the casing. As to be expected from Samsung, it’s a high quality unit, with all the features of a well designed SMPS.

PCB Reverse
PCB Reverse

However, on turning the board over, the blown component is easily visible. It’s the main SMPS controller IC, with a massive hole blown in the top. The on board fuse has also blown open, but it obviously didn’t operate fast enough to save the circuit from further damage!

 

Posted on 3 Comments

Evolis Dualys3 Card Printer Teardown

I recently dug out my other card printer to fit it with a 12v regulator, (it’s 24v at the moment), and figured I’d do a teardown post while I had the thing in bits.

This is a less industrial unit than my Zebra P330i, but unlike the Zebra, it has automatic duplexing, it doesn’t have Ethernet connectivity though.

Unlike domestic printers, which are built down to a price, these machines are very much built up to a spec, and feature some very high quality components.

Naked Printer
Naked Printer

Here’s the mechanism with the cowling removed. This is the main drive side of the printer, with the main drive stepper at left, ribbon take-up spool motor lower right, and the duplex module stepper motors at far right.

Main Motor Drive
Main Motor Drive

The main drive motor runs the various rollers in the card path through a pair of synchronous belts, shown here.

Main Stepper
Main Stepper

The stepper itself is a quality ball-bearing Sanyo Denki bipolar motor.

Main Stepper Driver
Main Stepper Driver

Electrical drive is provided to the stepper with a L6258EX DMOS universal motor driver. This chip can also drive DC motors as well as steppers.

Ribbon Supply Spool
Ribbon Supply Spool

Here is the encoder geared onto the ribbon supply spool. This is used to monitor the speed the ribbon is moving relative to the card.

Printer Top
Printer Top

Here’s a top view through the printer, the blue roller on the left cleans the card as it’s pulled from the feeder, the gold coloured spool to it’s right is the ribbon supply reel. The cooling fan on the right serves to stop the print head overheating during heavy use.

Spool Take Up Motor
Spool Take Up Motor

The spool take-up reel is powered by another very high quality motor, a Buhler DC gearmotor. These printers are very heavily over engineered!
This motor drives the spool through an O-Ring belt, before the gear above. This allows the drive to slip in the event the ribbon jams, preventing it from breaking.

Duplex Unit Stepper Drivers
Duplex Unit Stepper Drivers

The pair of steppers that operate the duplexing unit are driven by a separate board, with a pair of L6219DS bipolar stepper driver ICs. There are also a couple of opto-sensors on this board for the output hopper.

 

Main Control PCB
Main Control PCB

All the mechanisms of the printer are controlled from this main PCB, which handles all logic & power supply functions. Sections on the board are unpopulated, these would be for the Ethernet interface, smart card programming & magstripe programming.

Main CPU
Main CPU

The brains of the operation is this ColdFire MCF5208CVM166 32-bit microprocessor. It features 16KB of RAM, 8KB of cache, DMA controller, 3 UARTs, SPI, 10/100M Ethernet and low power management. This is a fairly powerful processor, running at 166MHz.
It’s paired with an external 128Mbit SDRAM from Samsung, and a Spansion 8Mbit boot sector flash, for firmware storage.

USB Interface & Power Input
USB Interface & Power Input

Here the USB interface IC is located. It’s a USBN9604 from Texas Instruments, this interfaces with the main CPU via serial.

Posted on Leave a comment

Uniden UBC92XLT Teardown

One bit of my equipment that I’ve never looked into is my scanner, a handheld Uniden unit. I got this when Maplin Electronics had them on special offer a few years ago.

Uniden Scanner
Uniden Scanner

Here’s the scanner itself, roughly the same size as a usual HT.

Back Cover Removed
Back Cover Removed

Here the back cover has been removed, and the main RF board is visible at the top of the stack. Unfortunately the shielding cans are soldered on this unit, so no looking under there 🙁
On the right hand side of the board next to the antenna input is the main RF filter network, and it’s associated switching. The RF front end is under the shield closest to the front edge.

Controls & 3.3v Regulator
Controls & 3.3v Regulator

On the other side of the PCB is the Volume & Squelch potentiometers, along with a dedicated 3.3v switching supply. An NJM2360A High Precision DC/DC converter IC controls this one. A 3.3v test point is visible next to the regulator.

RF Board Reverse
RF Board Reverse

Here’s the backside of the RF board, some more interesting parts here. There’s a pair of NJM3404A Single Supply Dual Op-Amp ICs, and a TK10931V Dual AM/FM IF Discriminator IC. This is the one that does all the back-end radio functionality. The audio amplifier for the internal speaker & external headphone jack is also on this PCB, top left. A board-to-board interconnect links this radio board with the main control board underneath.

Control PCB Front
Control PCB Front

Here’s the front of the control PCB, nothing much to see here, just the LCD & membrane keypad contacts.

Control PCB Reverse
Control PCB Reverse

And here’s the reverse side of the control board. All the interesting bits are here. The main microcontroller is on the right, a Renesas M38D59GF, a fairly powerful MCU, with onboard LCD drive, A/D converter, serial interface, 60K of ROM & 2K of RAM. It’s 6.143MHz clock crystal is just below it.
The mating connector for the RF board is in the centre here.

There is also a Microchip 24LC168 16KB I²C EEPROM next to the main microcontroller. This is probably for storing user settings, frequencies, etc.

EEPROM
EEPROM

The rest of this board is dedicated to battery charging and power supply, in the centre is a dual switching controller, I can’t figure out the numbers on the tiny SOT23 components in here, but this is dealing with the DC 6v input & to the left of that is the circuitry for charging the NiMH cells included with the scanner.

PSU
PSU

The last bit of this PCB is a BU2092FV Serial In / Parallel Out 4 channel driver. Not sure what this one is doing, it might be doing some signal multiplexing for the RF board interface. Unfortunately the tracks from this IC are routed on the inner layers of the board so they can’t be traced out.

Posted on Leave a comment

13.8v SMPS PSU Build

A while ago I blogged about modifying the output voltage of some surplus Cisco switch power supplies to operate at 13.8v.

Since I was able to score a nice Hammond 1598DSGYPBK ABS project box on eBay, I’ve built one of the supplies into a nice bench unit.

Hammond ABS Case
Hammond ABS Case
Supply Unit
Supply Unit

Above is the supply mounted into the box, I had to slightly trim one edge of the PCB to make everything fit, as it was just a couple of mm too wide. Luckily on the mains side of the board is some space without any copper tracks.

PSU Fan
PSU Fan

These supplies are very high quality & very efficient, however they came from equipment that was force-air cooled. Running the PSU in this box with no cooling resulted in overheating. Because of this I have added a small 12v fan to move some air through the case. The unit runs much cooler now. To allow the air to flow straight through the case, I drilled a row of holes under the front edge as vents.

Output Side
Output Side

Here is the output side of the supply, it uses standard banana jacks for the terminals. I have used crimp terminals here, but they are soldered on instead of crimped to allow for higher current draw. The negative return side of the output is mains earth referenced.

I have tried to measure output ripple on this supply, but with my 10X scope probe, and the scope set to 5mV/Div, the trace barely moves. The output is a very nice & stable DC.

This supply is now running my main radio in the shack, and is small enough to be easily portable when I move my station.

Posted on 1 Comment

SainSmart Frequency Meter

Thanks to Lewis, M3HHY for lending me this one 🙂

Here’s a quick look at a Sainsmart frequency counter module. These are useful little gadgets, showing the locked frequency on a small LCD display.

It’s built around an ATMega328 microcontroller (µC), and an MB501L Prescaler IC. The circuit for this is very simple, and is easily traced out from the board.

Frequency Counter
Frequency Counter

Here’s the back of the board, with the µC on the left & the prescaler IC on the right. This uses a rather novel method for calibration, which is the trimmer capacitor next to the crystal. This trimmer varies the frequency of the µC’s oscillator, affecting the calibration.

Input protection is provided by a pair of 1N4148 diodes in inverse parallel. These will clamp the input to +/-1v.
The prescaler IC is set to 1/64 divide ratio. This means that for an input frequency of 433MHz, it will output a frequency of 6.765625MHz to the µC.

The software in the µC will then calculate the input frequency from this intermediate frequency. This is done because the ATMega controllers aren’t very cabable of measuring such high frequencies.

The calculated frequency is then displayed on the LCD. This is a standard HD44780 display module.

LCD
LCD

Power is provided by a 9v PP3 battery, which is then regulated down by a standard LM7805 linear regulator.

Readout
Readout

I’ve found it’s not very accurate at all at the lower frequencies, when I fed it 40MHz from a signal generator it displayed a frequency of around 74MHz. This is probably due to the prescaler & the software not being configured for such a low input. In the case for 40MHz input the scaled frequency would have been 625kHz.

 

Posted on 3 Comments

Arduino Based SWR/PWR Meter – The Board

I recently posted about a small analog SWR/Power meter I got from eBay, and figured it needed some improvement.

After some web searching I located a project by ON7EQ, an Arduino sketch to read SWR & RF power from any SWR bridge.
The Arduino code is on the original author’s page above, his copyright restrictions forbid me to reproduce it here.

I have also noticed a small glitch in the code when it is flashed to a blank arduino: The display will show scrambled characters as if it has crashed. However pushing the buttons a few times & rebooting the Arduino seems to fix this. I think it’s related to the EEPROM being blank on a new Arduino board.

I have run a board up in Eagle for testing, shown below is the layout:

SWR Meter SCH
SWR Meter SCH

The Schematic is the same as is given on ON7EQ’s site.
Update: ON7EQ has kindly let me know I’ve mixed up R6 & R7, so make sure they’re switched round when the board is built ;). Fitting the resistors the wrong way around may damage the µC with overvoltage.

SWR Meter PCB
SWR Meter PCB

Here’s the PCB layout. I’ve kept it as simple as possible with only a single link on the top side of the board.

PCB Top
PCB Top

Here’s the freshly completed PCB ready to rock. Arduino Pro mini sits in the center doing all the work.
The link over to A5 on the arduino can be seen here, this allows the code to detect the supply voltage, useful for battery operation.
On the right hand edge of the PCB are the pair of SMA connectors to interface with the SWR bridge. Some RF filtering is provided on the inputs.

PCB Bottom
PCB Bottom

Trackside view of the PCB. This was etched using my tweaked toner transfer method.

LCD Fitted
LCD Fitted

Here the board has it’s 16×2 LCD module.

Online
Online

Board powered & working. Here it’s set to the 70cm band. The pair of buttons on the bottom edge of the board change bands & operating modes.
As usual, the Eagle layout files are available below, along with the libraries I use.

[download id=”5585″]

[download id=”5573″]

More to come on this when some components arrive to interface this board with the SWR bridge in the eBay meter.

Posted on 2 Comments

Active Ultracapacitor Balancing

Here’s another active balancing circuit for large ultracapacitor banks, this one is designed for a series string of 6, at 2.5v per capacitor.

Based on the design here, I have transcribed the circuit into Eagle & designed a PCB layout.

Ultracap Balancer Circuit
Ultracap Balancer Circuit – Click to Embiggen

As can be seen from the circuit diagram above, this is just 6 copies of the circuit from the above link, with screw terminals to attach to the capacitor string.

Ultracap Balancer PCB
Ultracap Balancer PCB

And here’s the PCB. the MOSFETs & OpAmps are very small SMT parts, so require a steady hand in soldering. This board can easily be etched by hand as there’s only 3 links on the top side. No need for a double sided PCB.

As always, the Eagle project files & my Eagle library collection are available below:

 

Posted on 7 Comments

3″ CRT Composite Monitor

CRT Module

I recently managed to score a 3″ B&W portable TV on eBay, a Panasonic TR-3000G. As these old units are now useless, thanks to the switch off of analogue TV signalling, I figured I could find a composite signal internally & drive the CRT with an external source.

Panasonic TR-3000G
Panasonic TR-3000G

Here’s the TV in it’s native state. Running from 9v DC, or 6 D size cells. I’m guessing from somewhere around the 1970’s. Here is the CRT & associated drive circuitry, removed from the casing:

CRT Module
CRT Module

After dissecting the loom wiring between the CRT board & the RF/tuner board, I figured out I had to short out Pins 1,2 & 5 on the H header to get the CRT to operate straight from the power switch. This board also generates the required voltages & signals to drive the RF tuner section. I have removed the loom from this, as the PCB operates fine without. It doesn’t seem to be fussy about power input either: it’s specified at 9v, but seems to operate fine between 7.5v & 14.5v DC without issue.

Video Connections
Video Connections

Tracing the wiring from the tuner PCB revealed a length of coax snaking off to the section marked Video/Sync. I successfully found the composite input!

Running OSMC
Running OSMC

A quick bit of wiring to a Raspberry Pi, & we have stable video! For such an old unit, the picture quality is brilliant, very sharp focus.

Matsushita 85VB4 CRT
Matsushita 85VB4 CRT

Closeup of the CRT itself. I haven’t been able to find much data on this unit, but I’m guessing it’s similar to many commercial viewfinder CRTs.

Electron Gun Closeup
Electron Gun Closeup

Amazingly, there isn’t a single IC in the video circuitry, it’s all discrete components. This probably accounts for the large overall size of the control PCB. Viewfinder CRTs from a few years later on are usually driven with a single IC & a few passives that provide all the same functions.  

Posted on Leave a comment

AD9850 VFO Board

Continuing from my previous post where I published an Eagle design layout for AD7C‘s Arduino powered VFO, here is a completed board.

I have made some alterations to the design since posting, which are reflected in the artwork download in that post, mainly due to Eagle having a slight psychotic episode making me ground one of the display control signals!

AD9850 VFO
AD9850 VFO

The amplifier section is unpopulated & bypassed as I was getting some bad distortion effects from that section, some more work is needed there.
The Arduino Pro Mini is situated under the display, and the 5v rail is provided by the LM7805 on the lower left corner.

Current draw at 12v input is 150mA, for a power of 1.8W total. About 1W of this is dissipated in the LM7805 regulator, so I have also done a layout with an LM2574 Switching Regulator.
The SMPS version should draw a lot let power, as less is being dissipated in the power supply, but this version is more complex.

DDS VFO-SMPS
DDS VFO-SMPS

Here the SMPS circuit can be seen on the left hand side of the board, completely replacing the linear regulator.
I have not yet built this design, so I don’t know what kind of effect this will have on the output signal, versus the linear regulator. I have a feeling that the switching frequency of the LM2574 (52kHz) might produce some interference on the output of the DDS module. However I have designed this section to the standards in the datasheet, so this should be minimal.

Nevertheless this version is included in the Downloads section at the bottom of this post.

The output coupled through a 100nF capacitor is very clean, as can be seen below, outputting a 1kHz signal. Oscilloscope scale is 0.5ms/div & 1V/div.

VFO Output
VFO Output (Mucky ‘Scope)
Scope Connected
Scope Connected

 

Thanks again to Rich over at AD7C for the very useful tool design!

Linked below is the Eagle design files for this project, along with my libraries used to create it.

[download id=”5571″]

[download id=”5573″]

[download id=”5575″]

Posted on Leave a comment

Potentially Lethal Clone Apple Charger

Charger
Charger

I received this USB supply with a laser module from China that I purchased on eBay. I have heard of these nasty copies of Apple chargers going around, but I’d never received one this bad with a piece of Chinese electronics.

Label
Label

Model No. A1265, so definitely an Apple clone. Apparently capable of +5v DC 1A output. Notice the American NEMA pins. This wouldn’t have been any use to me in the first instance since I am resident in the UK & our mains plugs are significantly different, not to mention significantly safer.

Manufacturer is marked as Flextronics.

Top Of Boards
Top Of Boards

Here is the charger disassembled. Inside the case these two boards are folded together, creating an alarmingly small isolation gap between the mains side of the supply & the 5v output. Both the low voltage output & the feedback loop for the supply runs over the 4-core ribbon cable.
The mains wiring from the board is as thin as hair, insulation included, so there is a big possibility of shorts all over the place from this part of the circuit alone.

Bottom Of Boards
Bottom Of Boards

Bottom of the PCB assemblies. Good luck finding any creepage distance here. There simply isn’t any at all. traces on the +350v DC rail on the mains side of the transformer are no more than 1mm away from the supposedly isolated low voltage side.

Plugging one of these devices into anything is just asking for electrocution.

 

Posted on Leave a comment

Hydraulic Generators, Missing Valves & Liars

While sourcing the main propulsion hydraulic system for nb Tanya Louise in the summer, we thought that it would be convenient to have an on board generator that didn’t require dragging off the boat & highly explosive petrol to operate.

As the hydraulics were already being fitted, we decided to add a hydraulically driven generator to solve this issue.

And this is where the problems began…

 

We were referred to Mike Webb of hydraulicgenerators.co.uk to supply the equipment required for this part of the project, this was to include the alternator itself, hydraulic motor to drive the alternator, the required adaptor plates to mate the motor to the generator head & a control valve block to regulate the oil flow & pressure to the motor.
After a phone call to Mike on 16-07-2013 to discuss our requirements, we settled on a system. I received the following E-Mail the next day from Mike:

Good morning, reference our conversation, Martin from BSP has given me details as to what he will be supplying, on that basis and in light of the special price I have offered, this is what I propose to supply,

 

1 off New 8kVa – 7kW Hydraulic driven generator 220v single phase 50hz c/w flow control valve, pressure relief valve and on/off solenoid valve,  Martin did say that the engine idle is between 1000 and 1200 rpm and  max speed is 3600 rpm, valves will be rated accordingly. I have the alternator and parts available now, in order for me to be able to offer this at a significantly discounted price of £ 1.200.00 nett, I will need to utilise the components I have in stock now, so I will need payment asap, delivery will be approx. 7 days, primarily due to the fact that the coupling is fabricated to suit, I can either deliver the unit to you when ready or BSP or hold onto it until everything else is in place.  The alternator is a Meccalte S20W that I bought for another customer a few weeks ago, but he cancelled and I don’t have, at this time, anyone else interested in it, so either I do a deal with you at the above price or wait until someone else comes along and wants the unit.

 

With regards to installation, let me know if you need any help, but it would be best to install when the engine is being installed and the rest of the system hosed up, I assume BSP will be sorting this, in which case I’ll liase with Martin.

 

I trust that this meets with your approval and look forward to hearing from you.

At this point an order was placed with Mike, & the money transferred so he could begin building the unit for us. As can be seen from the E-Mail, a lead time of 7 days was stated.

After a few phone calls over the following month, firstly being told that the custom parts to mate the generator to the motor had not come back from the engineers, I sent another E-Mail to Mike on 10-09-2013, and got no reply.
Following another phone call, I was told that the generator had been shipped, however Mike would not give me any tracking details for the shipment, and would not initially tell me who it was shipped with.

Again the generator didn’t turn up.

More phone calls ensued & I was told at this point that the shipping company had been confused by the address given, shipped back to Mike. At this point I was informed that the shipping company had actually LOST  it. Several more phone calls later I was promised that a replacement generator would now ship no later than 08-10-2013. A follow up E-Mail two days later also generated no reply.

At this point I was beginning to wonder if I would ever see the goods we had paid for, but finally a shipment arrived from Mike
~15-10-2013, over TWO MONTHS after our promised delivery date. However, even having been delivered, all was not well with the goods.

Generator Pallet
Generator Pallet

Above is the generator supplied. No mounting bracket, no integrated valve block, in short, nothing like what was described in Mike’s documentation & website. The original documentation is available here for reference: [download id=”5564″]

The valve block supplied was this:

Valve Block
Valve Block
Missing Solenoid Valve
Missing Solenoid Valve

Flow control: check.
Pressure relief: check.
Control solenoid valve: Gaping hole….

As can be seen, there is an open port on the side of the valve block. This is where the ON/OFF control solenoid valve is supposed to be located.
After several more unanswered E-Mails & phone calls, I had to get somewhat more forceful in my messages, as now Mike had begun outright lying about what was specified in the original order. In which that there was no solenoid valve required. So the following E-Mail was sent 21-10-2013:

Mike,

Having had a conversation with Martin, about him attempting to contact you regarding what you have supplied to us, I need this resolving ASAP now, as I am being held up by the fact that there is an open port on your valve block where the solenoid control valve is supposed to be located.

As it stands the valve block & therefore the generator you have supplied to us is useless for it’s intended purpose & I will be seeking legal advice on this matter if a resolution cannot be made this week, considering you have not replied to any E-Mail I have sent since the unit’s massively delayed arrived.

In your original correspondence it is certainly indicated that this valve was to be fitted, which was also Martin’s instruction to you.  

I await your expedient response.

This threat of legal action actually spurred a response from Mike, who finally replied with the following on 25-10-2013:

Ben,

 

Sorry about all this, I have been away and down with a bug for the last week, I will sort this today and will have the required parts shipped to you on Monday for Tuesday delivery.

 

Regards

Mike

Another promise of a delivery date, so I waited a little longer, until the Friday of that week. Still no delivery. No surprise there then.
(I didn’t believe the story about illness either).

At this point I again attempted contact, but got nowhere, even with legal threats. So I’ve given up completely on this & been forced to source the parts elsewhere at extra cost.

This company is not the one to go to if you require a hydraulic generator unit for any application, as you’d be lucky to get any part of what you order on time, if at all.
Operations are run by an all out liar who seems to be happy to accept money but not ship the goods that had been paid for.

Mike having explained to me that the shipping company had lost a generator, and he would have to build me another one to replace it also does not make sense, as in the initial phone call & mail he stated that the Meccalte generator that we eventually received was a single unit that was specially ordered for another client, and the factory build date on the unit certainly gave away the fact that the generator head had been sat around for some considerable time before I came along & made a purchase.

Hopefully this post will get a high Google ranking, to ensure that anyone else who happens to be looking for a similar piece of equipment does not have the misfortune to trust this man.
We were referred to him on good faith & unfortunately in this case it did not go well.

Posted on Leave a comment

Rio LAHS4 Salon Laser Hair Remover

Unit Overview
Unit Overview

Here is a home laser hair removal unit, a Rio LAHS4. Shown above is the system overview, with the laser wand & the user controls.

Main PCB Top
Main PCB Top

Main base unit popped open reveals the main PCB, with the central processor, a PIC16F628A.

Main PCB Bottom
Main PCB Bottom

Other side of the PCB is mainly populated with power supply & filtering for the logic sections.

Wand PCB
Wand PCB

Cracking open the laser wand reveals a stacked pair of PCBs, a main laser controller & the capacitive sensor PCB. This capacitive sensor connects to a pair of pins on the laser head & prevents operation if the unit is not held firmly against the skin.

Diode Module
Diode Module

Front of the laser diode module with the movable lens, on a pair of voice coil actuators. Very similar to the lens positioner used in any CD/DVD player pickup assembly.
The diode in this unit is an 808nm chip, with power in the 300-600mW range most likely.

Diode Module Rear
Diode Module Rear

Rear of the diode module, with the connections to the diode itself & the voice coil positioner for the lens.

Wand PCB Top
Wand PCB Top

Other side of the wand PCB, showing the capacitive sensor board on top of the main controller board. There is another CPU on the board here, which most likely communicates with the main processor in the base through a serial connection.

 

 

 

 

 

Posted on Leave a comment

nbTanya Louise Generator Transfer Controller

Contactor Box
Contactor Box

Here is the latest build & addition to the boat, in preparation for delivery of an 8kVa hydraulically driven generator unit – an automatic transfer switch.
Above can be seen the completed contactor unit, mounted in the engine bay.
This unit takes feeders from both the shore power socket & the generator unit & switches them independently through to the domestic 240v AC systems on board.

Contactor switching is done by a Datakom DKG-171 automatic generator controller.

Switching Unit
Switching Unit

Here are the contactors & isolators, before fitting to the wallbox. Power comes in one the left, through the large 25A isolating switches, before feeding to a pair of 30A contactors. The pair of outer relays next to the contactors are interlocks. These ensure that when one contactor is energized, the other is electrically locked out. Even if the interlock relay is manually operated with the orange flag visible on the top of the unit, they are wired to de-energize both contactors. This ensures that under no circumstances can both power sources be connected at the same time.

Panel Cutout
Panel Cutout

The generator controller requires a 68mmx68mm panel cutout for mounting. This was done in the main panel next to the electrical locker.

Box Fitted
Box Fitted

Here the contactor board has been fitted into the wallbox & the cable glands fitted before wiring.

DKG-171
DKG-171
System Online
System Online

The generator controller fitted & finally energized. The indicator LEDs on the front of the unit let the user know where power is currently being supplied from & which contactor is energized.

 

 

Posted on 1 Comment

AVR Optical Tachometer

Here is an AVR powered optical tachometer design, that I adapted from the schematic found here.

I made a couple of changes to the circuit & designed a PCB & power supply module to be built in. The original design specified a surface mount IR LED/Photodiode pair, however my adjustment includes a larger IR reflectance sensor built onto the edge of the board, along with a Molex connector & a switch to select an externally mounted sensor instead of the onboard one.

There is also an onboard LM7805 based power supply, designed with a PCB mount PP3 battery box.
The power supply can also be protected by a 350mA polyfuse if desired. If this part isn’t fitted, then a pair of solder bridge pads are provided within the footprint for the fuse to short out the pads.

For more information on the basic design, please see the original post with the link at the top of the page.

Schematic
Schematic

Here is an archive of the firmware & the Eagle CAD files for the PCB & schematic design.

 

Posted on Leave a comment

Ultracapacitor Charge Balancing

Balancer
Balancer

I have finally  got round to designing the balancing circuitry for my ultracapacitor banks, which have a total voltage of 15v when fully charged. The 2600F capacitors have a max working voltage of 2.5v each, so to ensure reliable operation, balancing is required to make sure that each capacitor is charged fully.

The circuit above is a simple shunt regulator, which uses a 2.2v zener diode to regulate the voltage across the capacitor.

A 10W 1Ω resistor is connected to the BALLAST header, while the capacitor is connected across the INPUT. Once the voltage on the capacitor reaches 2.6v, the MOSFET begins to conduct, the 1Ω resistor limiting current to ~2.6A.

Each capacitor in the series string requires one of these connected across it.

PCB
PCB

Below is a link to the Eagle project archive for this. Includes schematic, board & gerber files.

[download id=”5555″]