Posted on 5 Comments

EpEver Tracer 4210A MPPT Solar Charge Controller Teardown

Tracer 4210A MPPT Solar Controller
Tracer 4210A MPPT Solar Controller

Here’s the solar charge controller to go with the MT50 from the last post. This is the 40A version of the EpEver Tracer A series, the 4210A. This unit is large, and very heavy. Most of this weight comes from the enormous heatsink which doubles as the mounting plate for all the other components, and the large inductors that are going to be required for the DC-DC conversion that MPPT requires.

Front Panel
Front Panel

The front panel has a basic LCD, which shows various stats, such as PV Volts & Amps, and battery bank Volts & Amps. The pair of buttons are used to navigate the basic menu to configure some options, along with switching the load terminals ON/OFF.

Specifications
Specifications

There’s a specs label on the top, with a slight difference here vs the manual, which states the max. PV volts as 92v.

Main PCB Overview
Main PCB Overview

Removing 4 machine screws from the bottom of the unit allows the top to come off. Like the MT50 remote panel, this unit also has moulded-in brass thread inserts in the plastic parts. The PCB in here is heavily comformal coated, which stops me from reading the laser-etched numbers on the semiconductor devices, so there will be few details there.

Main PCB Lower
Main PCB Lower

Here’s the bottom section of the main PCB, with the enormous screw terminals, which will easily take cables up to about 16mm². The RJ-45 jack which hosts the unit’s RS-485 bus is to the right, and a smaller 2-pin connector on the left sorts out the battery temperature sensor.
The DC output MOSFET switches are hiding just behind the right-hand terminals, there’s a pair of them in this unit to handle the output current. Some beefy diodes polarity-protect both the battery & PV inputs.

Board Centre
Board Centre

Moving up the board shows two 35A automotive blade fuses soldered into the board – these would be a real pain to replace if they ever blew, however with the electronic load current protection built into this unit, it’s an unlikely situation, unless something went hideously wrong. The main switching devices for the DC-DC converter are hidden – they’re clamped to the heatsink with the bars at right angles in the photo, I’m not going to dig any deeper into this just for those though – they’re just TO220 devices.
Under a load of thermal gunk on the right are 4 current shunt resistors, and the amplifiers for reading their values. These 1206-size SMD resistors looked a bit small for the power rating to me, but they’re heatsinked in operation to a small heatsink mounted in the top cover.

Board Upper
Board Upper

The upper section of the PCB hosts the main microcontroller, and the connections over to the front panel LCD & buttons. Couldn’t really get much info from these chips, due to the conformal coating.

Toroidal Inductors
Toroidal Inductors

Right at the top of the unit are these toroidal inductors, potted into aluminium housings. The copper windings of these is very heavy – at least 2.5mm². They’re electrically in parallel, the 20A version would only have a single inductor.

Current Shunt Heatsink
Current Shunt Heatsink

This small heatsink sits inside the top cover, and provides some cooling to the current shunts.

Display Board
Display Board

Not much to say for the display board, there’s going to be nothing here apart from an I²C LCD driver & the pair of front panel buttons, so I won’t bother removing this from the case.

Posted on 2 Comments

PiHole Status Display – Official Raspberry Pi LCD

PiHole Status Display

On my home network I have a system running PiHole – a DNS server that blocks all unwanted traffic, such as ads. Since I have an official Pi LCD with a broken touch panel, I decided to use the bare LCD as a status display for PiHole.

This requires some extra packages installing onto the base system after PiHole is installed & configured, and the interface automatically starts on bootup. I used the latest Raspbian Jessie Minimal image for this system, and ran everything over a SSH connection.

First thing, get the required packages installed onto the Pi:

Once these are installed, it’s time to configure the startup script for Midori to display the status page. Create StartMidori.sh in /home/pi and fill with the following:

This script disables all power management on the system to keep the LCD on, starts unclutter to hide the mouse pointer and finally starts the Matchbox Window Manager to run Midori, which itself is set to fullscreen mode, and the URL of the admin panel is provided.
The next step is to test, give the script executable permissions, and run the script:

Once this is run, the LCD should come to life after a short delay with the PiHole stats screen. Close the test & return to the terminal by hitting CTRL+C.

Now the Pi can be configured to autorun this script on boot, the first thing to do here is to enable autologin on the console. This can be done with raspi-config, select Option 3 (Boot Options), then Option B1 (Desktop/CLI), then Option B2 (Console Autologin). When prompted to reboot, select No, as we’ll be finishing off the config before we reboot the system.

The next file to edit is /etc/rc.local, add the command to start the status browser up:

Here I’ve added in the command just above “exit 0”. This will start the browser as the last thing on bootup. The Pi can now be rebooted, and the status display should start on boot!

PiHole Status Display
PiHole Status Display
Posted on Leave a comment

IC Decap – Genesis Logic gmZAN3L XGA LCD Controller

Here’s a very common chip used in older LCD monitors. This converts the incoming VGA signal into LVDS for the panel itself.

gmZAN3 Die
gmZAN3 Die

The gmZAN3 is a graphics processing IC for Liquid Crystal Display (LCD) monitors at XGA resolution. It provides all key IC functions required for the highest quality LCD monitors. On-chip functions include
a high-speed triple-ADC and PLL, a high quality zoom and shrink scaling engine, an on-screen display (OSD) controller and digital color controls.

Posted on Leave a comment

Tenma 72-10405 DMM Teardown

Tenma DMM
Tenma DMM

Well it’s time for a new DMM. After the last pair of eBay El-Cheapo Chinese meters just didn’t last very well, I decided a proper meter was required. This one is a Tenma 72-10405, stocked by Farnell for under £60. Not quite as many festures as the cheapo Chinese meters, but I expect this one to be a bit more reliable.

PCB Rear
PCB Rear

Since I can’t have anything without seeing how it’s put together, here’s the inside of the DMM. (Fuse access is only possible by taking the back cover off as well. The 9v PP3 battery has a seperate cover).

PCB Rear Bottom
PCB Rear Bottom

He’s the input section of the meter, with the 10A HRC fuse & current shunt for the high-amps range. The other fuse above is for the mA/µA ranges. The back cover has a wide lip around the edge, that slots into a recess in the front cover, presumably for blast protection if the meter should meet a sticky end. The HRC fuses are a definite improvement over the cheap DMMs, they only have 15mm glass fuses, and no blast protection built into the casing.
There are some MOVs for input protection on the volts/ohms jack, the jacks themselves are nothing more than stampings though.

PCB Rear Top
PCB Rear Top

Not much at the other side of the board, there’s the IR LED for the RS232 interface & the beeper.

PCB Front
PCB Front

Most of the other components are on the other side of the PCB under the LCD display. The range switch is in the centre, while the main chipset is on the left.

DMM Chipset
DMM Chipset

The chipset of this meter is a FS9922-DMM3 from Fortune Semiconductor, this is a dedicated DMM chipset with built in ADCs & microcontroller.

Posted on Leave a comment

ELuc BLU4 Intelligent Lithium Battery Charger W/Bluetooth

BLU4 Battery Charger
BLU4 Battery Charger

Here’s another battery charger designed for lithium chemistry cells, the BLU4. This charger doesn’t display much on it’s built in LCD, apart from basic cell voltage & charging current limits, as it has a built in Bluetooth module that will link into an Android or iOS app.

Above the charger is operating with 4 brand new cells, at a current of 500mA per cell. If only a pair of cells is being charged, the current can be increased to 1A per cell.

LCD
LCD

Not much in the way of user interface on the charger, a tiny LCD & single button for cycling through the display options.

Dataplate
Dataplate

The usual stuff on the data plate, the charger accepts an input of 12v DC at 1A.

Bottom Cover Removed
Bottom Cover Removed

Removing the 6 screws on the bottom of the casing allows the board to be seen. Not much on the bottom, the 4 cell negative connections can be seen, with their springs for adjusting for cell length.

MOSFETs
MOSFETs

There’s a couple of P-Channel FETs on the bottom side for the charging circuits, along with some diodes.

Main PCB
Main PCB

The main PCB is easily removed after the springs are unhooked from the terminals. Most of the power circuitry is located on the top side near the power input. There are 4 DC-DC converters on board for stepping the input 12v down to the 4.2v required to charge a lithium cell.

Second Controller
Second Controller

Not entirely sure what this IC is in the bottom corner, as it’s completely unmarked. I’m guessing it’s a microcontroller though.

DC Input Side
DC Input Side

The top left of the board is crammed with the DC-DC converters, all the FETs are in SO8 packages.

DC-DC Converters
DC-DC Converters

One pair of DC-DC inductors is larger than the other pair, for reasons I’m unsure of.

Bluetooth Module
Bluetooth Module

Bluetooth connectivity is provided by this module, which is based around a TTC2541 BLE IC.

Microcontroller
Microcontroller

Below the Bluetooth module is yet another completely unmarked IC, the direct link to the BLE interface probably means it’s another microcontroller. The Socket to the left of the IC is the connector for the front panel LCD & button.

LCD PCB
LCD PCB

There’s not much to the LCD itself, so I won’t remove this board. The LCD controller is a COB type device, from the number of connections it most likely communicates with the micro via serial.

Posted on Leave a comment

ETI Thermamite Catering Thermometer

Catering Thermometer
Catering Thermometer

Here’s another bit of commercial gear, a catering thermometer. These are used to check the internal temperature of foods such as meat, to ensure they’re cooked through.

This was given to me with some damage, the battery cover is missing & the plastic casing itself is cracked.

Battery Compartment
Battery Compartment

Power is provided by 3 AAA cells, for 4.5v

Main PCB
Main PCB

There’s not much to these units, the large LCD at the top is driven by the IC in the centre. A programming header is also present on the board near the edge.

Microcontroller
Microcontroller

The core logic is taken care of with a Texas Instruments M430F4250 MSP430 Mixed-Signal Microcontroller. This MCU has onboard 16-bit Sigma-Delta A/D converter, 16-bit D/A converter & LCD driver. Clock is provided by a 32.768kHz crystal.
The probe itself is just a simple thermistor bonded into a stainless steel rod.

Posted on Leave a comment

Multifunction LCD Power Meter MHF-8020P

LCD Unit
LCD Unit

I recently came across these on eBay, so I thought I’d grab one to see how they function, with all the metrics they display, there’s potential here for them to be very useful indeed.
One of the best parts is that no wiring is required between the sensor board & the LCD head unit – everything is transmitted over a 2.4GHz data link using NRF24L01 modules.
Above is the display unit, with it’s colour LCD display. Many features are available on this, & they appear to be designed for battery powered systems.

Monitor PCB
Monitor PCB

Another PCB handles the current & voltage sensing, so this one can be mounted as close to the high current wiring as possible.

Monitor PCB Microcontroller
Monitor PCB Microcontroller

The transmitter PCB is controlled with an STM8S003F3 microcontroller from ST Microelectronics. This is a Flash based STM with 8KB of ROM, 1KB of RAM & 10-bit ADC. The NRF24L01 transceiver module is just to the left.
There’s only a single button on this board, for pairing both ends of the link.

Output MOSFET
Output MOSFET

The high current end of the board has the 0.0025Ω current shunt & the output switch MOSFET, a STP75NF75 75v 75A FET, also from ST Microelectronics. A separate power source can be provided for the logic via the blue terminal block instead of powering from the source being measured.

LCD Unit Rear
LCD Unit Rear

Here’s the display unit, only a pair of power terminals are provided, 5-24v wide-range input is catered for.

LCD Unit PCB
LCD Unit PCB

Unclipping the back of the board reveals the PCB, with another 2.4GHz NRF24L01 module, and a STM8S005K6 microcontroller in this case. The switching power supply that handles the wide input voltage is along the top edge of the board.

Unfortunately I didn’t get any instruction manual with this, so some guesswork & translation of the finest Chinglish was required to get my head round the way everything works. To make life a little easier for others that might have this issue, here’s a list of functions & how to make them work.

LCD Closeup
LCD Closeup

On the right edge of the board is the function list, a quick press of the OK button turns a function ON/OFF, while holding it allows the threshold to be set.
When the output is disabled by one of the protection functions, turning that function OFF will immediately enable the output again.
The UP/DOWN buttons obviously function to select the desired function with the cursor just to the left of the labels. Less obviously though, pressing the UP button while the very top function is selected will change the Amp-Hours display to a battery capacity icon, while pressing DOWN while the very bottom function is selected will change the Watts display to Hours.
The round circle to the right displays the status of a function. Green for OK/ON Grey for FAULT/OFF.

  • OVP: Over voltage protection. This will turn off the load when the measured voltage exceeds the set threshold.
  • OPP: Over power protection. This function prevents a load from pulling more than a specified number of watts from the supply.
  • OCP: Over current protection. This one’s a little more obvious, it’ll disable the output when the current measured exceeds the specified limit.
  • OUT: This one is the status of the output MOSFET. Can also be used to manually enable/disable the output.
  • OFT: Over time protection. This one could be useful when charging batteries, if the output is enabled for longer than the specified time, the output will toggle off.
  • OAH: Over Amp-Hours protection. If the counted Amp-Hours exceeds the set limit, the output will be disabled.
  • Nom: This one indicates the status of the RF data link between the modules, and can be used to set the channel they operate on.
    Pairing is achieved by holding the OK button, selecting the channel on the LCD unit, and then pressing the button on the transmitter board. After a few seconds, (it appears to scan through all addresses until it gets a response) the display will resume updating.
    This function would be required if there are more than a single meter within RF range of each other.

I’ve not yet had a proper play with all the protection functions, but a quick mess with the OVP setting proved it was very over-sensitive. Setting the protection voltage to 15v triggered the protection with the measured voltage between 12.5v-13.8v. More experimentation is required here I think, but as I plan to just use these for power monitoring, I’ll most likely leave all the advanced functions disabled.

Posted on Leave a comment

Chinese CO Meter – The Sensor Cell

As the CO meter I bought on eBay didn’t register anything whatsoever, I decided I’d hack the sensor itself apart to make sure it wasn’t just an empty steel can. It turns out that it’s not just an empty can, but there are some reasons why the thing doesn’t work 😉

Cell Disassembled
Cell Disassembled

The cell was crimped together under the yellow shrinkwrap, but that’s nothing my aviation snips couldn’t take care of. The photo above shows the components from inside.

End Cap
End Cap

The endcap is just a steel pressing, nothing special here.

Filter
Filter

Also pretty standard is the inlet filter over the tiny hole in the next plate, even though it’s a lot more porous that I’ve seen before in other sensors.

Working Electrode Components
Working Electrode Components

Next up is the working electrode assembly, this also forms the seal on the can when it’s crimped, along with insulating it from the counter electrode & external can. The small disc third from left is supposed to be the electrode, which in these cells should be loaded with Platinum. Considering where else they’ve skimped in this unit, I’ll be very surprised if it’s anything except graphite.

Counter Electrode
Counter Electrode

Next up is the counter electrode, which is identical to the first, working electrode. Again I doubt there’s any precious metals in here.

Backplate
Backplate

Another steel backplate finishes off the cell itself, and keeps most of the liquid out, just making sure everything stays moist.

Rear Can & Reservoir
Rear Can & Reservoir

Finally, the rear of the cell holds the reservoir of liquid electrolyte. This is supposed to be Sulphuric Acid, but yet again they’ve skimped on the cost, and it’s just WATER.

It’s now not surprising that it wouldn’t give me any readings, this cell never would have worked correctly, if at all, without the correct electrolyte. These cheap alarms are dangerous, as people will trust it to alert them to high CO levels, when in fact it’s nothing more than a fancy flashing LED with an LCD display.

Ironically enough, when I connected a real electrochemical CO detector cell to the circuit from the alarm, it started working, detecting CO given off from a burning Butane lighter. It wouldn’t be calibrated, but it proves everything electronic is there & operational. It’s not surprising that the corner cut in this instance is on the sensor cell, as they contain precious metals & require careful manufacturing it’s where the cost lies with these alarms.

Posted on Leave a comment

No-Brand eBay Carbon Monoxide Detector

Chinese CO Alarm
Chinese CO Alarm

I was looking around eBay for decent deals on a branded CO alarm, and came across these for next to no money, so I thought I’d grab one just to see how bad they could be.

Alarm Opened
Alarm Opened

Popping the casing open shows the very small circuit board inside, with the CO sensor cell on the right. I can’t find any manufacturer information on this cell, nor can I find a photo of anything similar on the intertubes, so no specifications there. The other parts are pretty standard, a Piezo sounder & it’s associated step-up transformer to increase the loudness.

Sensor Closeup
Sensor Closeup

The sensor cell has the usual opening in the end to allow entry of gas.

Main PCB
Main PCB

The other side of the board doesn’t reveal much, just an LCD, a couple of LEDs, a pair of transistors, Op-Amp for the sensor & a main microcontroller.

MCU
MCU

The microcontroller isn’t marked unfortunately. It’s not had the number scrubbed off, it’s just never been laser marked with a part number. Above the micro is a SOT-23 LM321 low-power Op-Amp which does the signal conditioning for the CO sensor.

 

I tried to make this alarm trigger with the exhaust from the Eberspacher heater, which on a well-made branded alarm registered a reading of 154ppm after a few minutes. In the case of this alarm though, I couldn’t make it trigger at all, no matter how long I exposed it to hydrocarbon exhaust gases. I won’t be trusting this one then!

Nothing quite like a piece of safety equipment that doesn’t work correctly from new!

Posted on 2 Comments

Fire Angel CO-9D Carbon Monoxide Detector Teardown

Fire Angel CO-9D CO Detector
Fire Angel CO-9D CO Detector

This detector has now been retired from service since it’s a fair bit out of date. So here’s the teardown!

Information
Information

Unlike older detectors, this unit has a built in battery that never needs replacing during the life of the sensor, so once the unit reaches it’s expiry date it’s just trashed as a whole.

Cover Removed
Cover Removed

4 screws hold the cover on, here’s the internals of the detector. There’s a 3v CR123A LiMnO² cell at the right for power, rated at 1500mAh. A 7 year life is quite remarkable on a single cell!
The sensor is just to the left of the lithium cell, and is of quite unusual construction. Previous CO sensor cells I’ve seen have been small cylinders with a pair of brass pins. This one appears to use a conductive plastic as the connections. These sensors contain H²SO⁴ so they’re a bit hazardous to open.
There are no manufacturer markings on the sensor & I’ve not been able to find any similarly shaped devices, so I’m unsure of it’s specifications.
The alarm sounder is on the left, the usual Piezo disc with a resonator to increase the loudness.

Microcontroller
Microcontroller

The brains of the device are provided by a Microchip PIC16F914 microcontroller. This is a fairly advanced device, with many onboard features, and NanoWatt™ technology, standby power consumption is <100nA according to Microchip’s Datasheet. This would explain the incredible battery life.
The choke just at the right edge of the photo is actually a transformer to drive the Piezo sounder at high voltage.

PCB Reverse
PCB Reverse

Here’s the PCB with the LCD frame removed. Not much to see on the this side, the silence/test button top right & the front end for the sensor.

Sensor Front End Amplifier
Sensor Front End Amplifier

Here’s a closer look at the front end for the CO sensor cell itself. I haven’t been able to decode the SMT markings on the SOT packages, but I’m guessing that there’s a pair of OpAmps & a voltage reference.

Posted on Leave a comment

Official Raspberry Pi 7″ Touch LCD

Raspberry Pi LCD
Raspberry Pi LCD

Finally the Raspberry Pi Foundation have released an official LCD for the DSI connector on the Pi. When these were announced, I placed an order straight away, but due to demand it’s taken quite a while for it to arrive in the post.

Interface PCB
Interface PCB

The LCD itself is an RGB panel, to interface the Pi via the MIPI DSI port, some signal conversion is required. A small PCB is mounted on the back of the LCD to do this conversion. It also handles the power supply rails required by the LCD itself & interfacing the touch screen.

LCD Power Supply
LCD Power Supply

Taking care of the power supply is a Texas Instruments TPS65101 triple output LCD power supply IC. This also has a built in linear regulator to supply 3.3v for the rest of the circuitry on board. The large transistor to the left of the IC is the pass transistor for this regulator.

Main Controller
Main Controller

The video signal comes in on the FFC connector on the left, into the BGA IC. I’ve not managed to identify this component, but it’s doing the conversion from serial video from the Pi to parallel RGB for the LCD.
There’s also an Atmel ATtiny88 on the board below the main video conversion IC, not sure what this is doing.
The touch controller itself is mounted on the flex of the LCD, in this case it’s a FT5406.

Raspberry Pi LCD
Raspberry Pi LCD

Here’s the LCD in operation. It’s not the highest resolution out there, but it leaves the GPIO & HDMI ports free for other uses.

Pi Mounted
Pi Mounted

The Pi screws to the back of the LCD & is connected with a flat flex cable & a pair of power jumpers. I’ve added a couple of small speakers to the top edge of the LCD to provide sound. (More to come on this bit).

 

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 1 Comment

Dell E207WFPc Monitor 12v Conversion

I’m still on my crusade of removing every trace of 240v mains power from my shack, so next up are my computer monitors.

I have 4 Dell monitors, of various models, hooked up to my main PC.

The monitor here is a Dell E207WFPc 20″ widescreen model. There will be more when I manage to get the others apart to do the conversion. However I’m hoping that the PSU boards are mostly the same.

Panel Removed
Panel Removed

There are no screws holding these monitors together, the front bezel is simply clicked into place in the back casing, these clips are the only thing that holds the relatively heavy glass LCD panel & it’s supporting frame! The image above shows the panel removed. The large board on the left is the power supply & backlight inverter, the smaller one on the right is the interface board to convert the DVI or VGA to LVDS for the LCD panel itself.

PSU Board
PSU Board

Here’s a closeup of the PSU board, the connector at centre right at the top of the PCB is the main power output, and also has a couple of signals to control the backlight inverter section of the PSU, on the left side. The PSU requirements for this monitor are relatively simple, at 14.5v for the backlight & 5v for the logic board.

PSU
PSU

Here’s the top of the PSU board, very simple with the mains supply on the right side, and the backlight inverter transformers on the left.

Hooked In
Hooked In

Here I’ve hooked into the power rails on the supply, to attach my own 12v regulators. The green wire is +14.5v, and the purple is +5v. Black is common ground.

5v Regulator
5v Regulator

On doing some testing, the backlight inverter section doesn’t seem to mind voltages between 11.5-14.5v, so a separate regulator isn’t required there. Even running off batteries that’s within the range of both charging & discharging. The only regulator required is a 5v one to reduce the input voltage for the logic PCB.

First Test
First Test

On applying some 12v power to the regulator input, we have light! Current draw at 12.5v is 2.65A for a power consumption of 33W.

12v Input
12v Input

There’s plenty of room in the back casing to mount a 12v input socket, I have left the mains supply intact so it can be used on dual supply.

Final Wiring
Final Wiring

Here’s the 5v regulator mounted on the back of the casing, all wired up & ready to go.

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 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 Leave a comment

Marine Potable Water Management System

LCD Panel
LCD Panel

Having two separate water tanks on nb Tanya Louise, with individual pumps, meant that monitoring water levels in tanks & keeping them topped up without emptying & having to reprime pumps every time was a hassle.
To this end I have designed & built this device, to monitor water usage from the individual tanks & automatically switch over when the tank in use nears empty, alerting the user in the process so the empty tanks can be refilled.

Based around an ATMega328, the unit reads a pair of sensors, fitted into the suction line of each pump from the tanks. The calculated flow is displayed on the 20×4 LCD, & logged to EEPROM, in case of power failure.

Water Flow Sensor
Water Flow Sensor

When the tank in use reaches a preset number of litres flowed, (currently hardcoded, but user input will be implemented soon), the pump is disabled & the other tank pump is enabled. This is also indicated on the display by the arrow to the left of the flow register. Tank switching is alerted by the built in beeper.
It is also possible to manually select a tank to use, & disable automatic operation.
Resetting the individual tank registers is done by a pair of pushbuttons, the total flow register is non-resettable, unless a hard reset is performed to clear the onboard EEPROM.

Main PCB
Main PCB

View of the main PCB is above, with the central Arduino Pro Mini module hosting the backend code. 12-24v power input, sensor input & 5v sensor power output is on the connectors on the left, while the pair of pump outputs is on the bottom right, switched by a pair of IRFZ44N logic-level MOSFETS. Onboard 5v power for the logic is provided by the LM7805 top right.

Code & PCB design is still under development, but I will most likely post the design files & Arduino sketch once some more polishing has been done.

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

Raspberry Pi Geiger Counter

Geiger Counter Setup
Geiger Counter Setup

Here’s my latest project with the Pi: interfacing it with the Sparkfun Geiger counter & outputting the resulting data to a character LCD.

The geiger counter is interfaced with it’s USB port, with the random number generator firmware. A Python script reads from the serial port & every minute outputs CPM & µSv/h data to the display.

The Python code is a mash of a few different projects I found online, for different geiger counters & some of my own customisations & code to write the info to the display & convert CPM into µSv/h.

This also writes all the data into a file at /var/log/radlog.txt

The code for this is below:

import time
import sys
import serial
import os
import RPIO
from RPLCD import CharLCD
from subprocess import * 
from datetime import datetime

# configuration settings

logfile = "/var/log/radlog" # location to save log data
serial_port = "/dev/ttyUSB0"
lcd = CharLCD(pin_rs=15, pin_rw=18, pin_e=16, pins_data=[21, 22, 23, 24], numbering_mode=RPIO.BOARD, cols=16, rows=4, dotsize=10) #Init LCD with physical parameters

f = open(logfile,"a")

ser = serial.Serial(serial_port,9600,timeout=1)

one = 0

#Init LCD with initial values.
lcd.cursor_pos = (0, 1)
lcd.write_string("Geiger Counter")
lcd.cursor_pos = (1, 2)
lcd.write_string("Initializing")
lcd.cursor_pos = (2,-3)
lcd.write_string("Please Wait...")
lcd.cursor_pos = (3, 0)
lcd.write_string(str(0) +" uSv/h")
f.write("Geiger Counter Initialized\n")
f.flush()
while 1==1:
  stamp = int(time.time())
  stamp == round(stamp,0)
  stamp = stamp + 60
  count = 0  
  while 1==1:
      ct = int(time.time())
      ct == round(ct,0)
      if ct > stamp:  break
      #Read from serial port
      bit = ser.read(1)
      if bit != "":
          count = count + 1
          #Conversion of counts per minute to uSv/hr
          usvh = count * 0.01
  at = str(time.asctime())
  t = str(time.time())
  #Write line to log file & print info to console
  f.write("["+at+"."+t+"] "+str(count) + " CPM " +str(usvh) + " uSv/h\n")
  f.flush()
  print "["+at+"."+t+"] Count "+str(count) + " " + str(usvh) +" uSv/hr"
  #Send measurement info to LCD
  lcd.clear()
  lcd.cursor_pos = (0, 0)
  lcd.write_string(datetime.now().strftime('%b %d  %H:%M:%S\n'))
  lcd.cursor_pos = (1, 0)
  lcd.write_string("Radiation Level:")
  lcd.cursor_pos = (2, 1)
  lcd.write_string(str(count) +" CPM")
  lcd.cursor_pos = (3, -1)
  lcd.write_string(str(usvh) +" uSv/h")
Info Display
Info Display
Posted on Leave a comment

Wearable Raspberry Pi Part 1.5

USB Ports
USB Ports

For convenience, a pair of USB ports have been fitted to the wearable Pi, which open on the bottom of the unit. These will be hardwired into a 4-port USB hub which will also support the wireless adaptor for the mini-keyboard that is to be used with the device.

USBs
USBs

The two USB ports on the bottom of the casing.

External Connections
External Connections

The external connectors are also complete. The audio jack & second WiFi antenna port are fitted.

The audio is normally routed to the LCD display speaker, until a jack is plugged into the 3.5mm socket.

 

Posted on Leave a comment

Amano PIX 3000x Timeclock

Front
Front

This is a late 90’s business timeclock, used for maintaining records of staff working times, by printing the time when used on a sheet of card.

Front Internal
Front Internal

Here is the top cover removed, which is normally locked in place to stop tampering. The unit is programmed with the 3 buttons & the row of DIP switches along the top edge.

Instructions
Instructions

Closeup of the settings panel, with all the various DIP switch options.

CPU & Display
CPU & Display

Cover plate removed from the top, showing the LCD & CPU board, the backup battery normally fits behind this. The CPU is a 4-bit microcontroller from NEC, with built in LCD driver.

PSU & Drivers
PSU & Drivers

Power Supply & prinhead drivers. This board is fitted with several NPN Darlington transistor arrays for driving the dox matrix printhead.

Printhead
Printhead

Printhead assembly itself. The print ribbon fits over the top of the head & over the pins at the bottom. The drive hammers & solenoids are housed in the circular top of the unit.

Printhead Bottom
Printhead Bottom

Bottom of the print head showing the row of impact pins used to create the printout.

2013-02-13 18.00.09Bottom of the solenoid assembly with the ribbon cable for power. There are 9 solenoids, to operate the 9 pins in the head.

Return Spring
Return Spring

Top layer of the printhead assembly, showing the leaf spring used to hold the hammers in the correct positions.

Hammers
Hammers

Hammer assembly. The fingers on the ends of the arms push on the pins to strike through the ribbon onto the card.

Solenoids
Solenoids

The ring of solenoids at the centre of the assembly. These are driven with 3A darlington power arrays on the PSU board.

Gearbox Internals
Gearbox Internals

There is only a single drive motor in the entire unit, that both clamps the card for printing & moves the printhead laterally across the card. Through a rack & pinion this also advances the ribbon with each print.

 

 

 

 

 

 

 

 

 

Posted on 1 Comment

Brightwell Brightstar II BSL4 Dosing System

Overview
Overview
Overview

Here is an old chemical dosing system for industrial washing machines. These units are 4-pump models, with dual pumpheads. The motors are reversed to operate alternate pumps in the same head.

Label
Label

From 2006, this is a fairly old unit, and made in the UK.

CPU Board
CPU Board

Main controller PCB, with interface to the power electronics via the ribbon cable, an external serial port for programming to it’s left. Powered by an ST microcontroller. The LCD is below this board.

PCU & Driver PCBs
PCU & Driver PCBs

Main power supply, sense input & motor driver boards. The PSU outputs +5v, +12v & +24v. The inputs on the lower left connect to the washing machine & trigger the pumps via the programming on the CPU. The motors are driven by L6202 H-Bridge drivers from ST.

Motor Assembly
Motor Assembly

Motor & gearbox assembly on the back of the pumphead. These are 24v DC units with 80RPM gearboxes.

UPDATE:
As it seems to be difficult to find, here is the user manual for this unit:
[download id=”5557″]

Posted on Leave a comment

Zebra P330i Card Printer

Front
Front

This is the teardown of a Zebra P330i plastic card printer, used for creating ID cards, membership cards, employee cards, etc. I got this as a faulty unit, which I will detail later on.
This printer supports printing on plastic cards from 1-30mils thick, using dye sublimation & thermal transfer type printing methods. Interfaces supplied are USB & Ethernet. The unit also has the capability to be fitted with a mag stripe encoder & a smart card encoder, for extra cost.

Print Engine
Print Engine

 

 

 

 

On the left here is the print engine open, the blue cartridge on the right is a cleaning unit, using an adhesive roller to remove any dirt from the incoming card stock.
This is extremely important on a dye sublimation based printing engine as any dirt on the cards will cause printing problems.

Cards In Feeder
Cards In Feeder

 

Here on the right is the card feeder unit, stocked with cards. This can take up to 100 cards from the factory.
The blue lever on the left is used to set the card thickness being used, to prevent misfeeds. There is a rubber gate in the intake port of the printer which is moved by this lever to stop any more than a single card from being fed into the print engine at any one time.

Card Feeder Belt
Card Feeder Belt

 

 

 

Here is the empty card feeder, showing the rubber conveyor belt. This unit was in fact the problem with the printer, the drive belt from the DC motor under this unit was stripped, preventing the cards from feeding into the printer.

Print Head
Print Head

 

 

 

Here is a closeup of the print head assembly. The brown/black stripe along the edge is the row of thin-film heating elements. This is a 300DPI head.

 

Print Station
Print Station

 

 

 

This is under the print head, the black roller on the left is the platen roller, which supports the card during printing. The spool in the center of the picture is the supply spool for the dye ribbon.
In the front of the black bar in the bottom center, is a two-colour sensor, used to locate the ribbon at the start of the Yellow panel to begin printing.

LCD PCB
LCD PCB

 

 

Inside the top cover is the indicator LCD, the back of which is pictured right.
This is a 16×1 character LCD from Hantronix. This unit has a parallel interface.

LCD
LCD

 

 

 

 

Front of the LCD, this is white characters on a blue background.

Roller Drive Belts
Roller Drive Belts

 

 

 

Here is the cover removed from the printer, showing the drive belts powering the drive rollers. There is an identical arrangement on the other side of the print engine running the other rollers at the input side of the engine.

Mains Filter
Mains Filter

 

 

 

Here the back panel has been removed from the entire print engine, complete with the mains input wiring & RFI filtering.
This unit has excellent build quality, just what is to be expected from a £1,200+ piece of industrial equipment.

Main Frame With Motors
Main Frame With Motors

 

 

The bottom of the print engine, with all the main wiring & PCB removed, showing the main drive motors. The left hand geared motor operates the head lift, the centre motor is a stepper, which operates the main transmission for the cards. The right motor drives the ribbon take up spindle through an O-Ring belt.

Feeder Drive Motor
Feeder Drive Motor

 

 

 

Card feeder drive motor, this connects to the belt assembly through a timing belt identical to the roller drive system.
All these DC geared motors are 18v DC, of varying torque ratings.

Power Supply
Power Supply

 

 

 

Here is the main power supply, a universal input switch-mode unit, outputting 24v DC at 3.3A.

PSU Label
PSU Label

 

 
PSU info. This is obviously an off the shelf unit, manufactured by Hitek. Model number FUEA240.

Print Engine Rear
Print Engine Rear

 

 

 

The PSU has been removed from the back of the print engine, here is shown the remaining mechanical systems of the printer.

Print Engine Components
Print Engine Components

 

 
A further closeup of the print engine mechanical bay, the main stepper motor is bottom centre, driving the brass flywheel through another timing belt drive. The O-Ring drive on the right is for the ribbon take up reel, with the final motor driving the plastic cam on the left to raise/lower the print head assembly.
The brass disc at the top is connected through a friction clutch to the ribbon supply reel, which provides tension to keep it taut. The slots in the disc are to sense the speed of the ribbon during printing, which allows the printer to tell if there is no ribbon present or if it has broken.

RFID PCB
RFID PCB

Here is a further closeup, showing the RFID PCB behind the main transmission. This allows the printer to identify the ribbon fitted as a colour or monochrome.
The antenna is under the brass interrupter disc on the left.

I/O Daughterboard
I/O Daughterboard

 

 

 

 

 

The I/O daughterboard connects to the main CPU board & interfaces all the motors & sensors in the printer.

Main PCB
Main PCB

Here is the main CPU board, which contains all the logic & processing power in the printer.

CPU
CPU

 

 

 
Main CPU. This is a Freescale Semiconductor part, model number MCF5206FT33A, a ColdFire based 32-bit CPU. Also the system ROM & RAM can be seen on the right hand side of this picture.

Ethernet Interface
Ethernet Interface

 

Bottom of the Ethernet interface card, this clearly has it’s own RAM, ROM & FPGA. This is due to this component being a full Parallel interface print server.

Ethernet Interface Top
Ethernet Interface Top

 

 

 

 
Top of the PCB, showing the main processor of the print server. This has a ferrite sheet glued to the top, for interference protection.