EEVblog #641 - Dumpster Cash Register Teardown - Page 1
Forum section: electronics / general

author: EEVblog
author_rank: Unknown
timestamp: July 15, 2014, 12:26:43 pm
content: Teardown Tuesday.Dave tears down a cash register found in the dumpster.Does it have any useful parts to salvage?German brand Quorion QMP 3282Datasheets:http://www.powertipusa.com/pdf/pg12864ak.pdfhttp://www.altera.com/literature/ds/m3000a.pdfhttp://www.paradigmtools.com/docs/R8820.PDFhttp://www.st.com/web/catalog/sense_power/FM142/CL851/SC1790/SS1555/PF63141http://www.st.com/web/catalog/sense_power/FM142/CL851/SC1794/SS1498/PF63236http://www.atmel.com/images/doc0313.pdfhttp://www.onsemi.com/pub_link/Collateral/MC34164-D.PDF

author: winfreak
author_rank: Contributor
timestamp: July 15, 2014, 01:14:07 pm
content: Great teardown, I have always wondered how they look from the inside...BTW: How would you go about on displaying anything on that display you salvaged?

author: EEVblog
author_rank: Unknown
timestamp: July 15, 2014, 01:32:48 pm
content: Quote from: winfreak on July 15, 2014, 01:14:07 pmThe LCD is easy of course. The fluoro one a bit harder. You'd capture the lines while it's working and decode the pinout and data required.

author: winfreak
author_rank: Contributor
timestamp: July 15, 2014, 01:38:11 pm
content: Quote from: EEVblog on July 15, 2014, 01:32:48 pmSounds tricky but quite doable!I'm looking forward to working with Arduino + such displays...

author: dentaku
author_rank: Frequent Contributor
timestamp: July 15, 2014, 02:12:10 pm
content: It was even more interesting than I imagined.I like those displays.The big keypad could be used as a crude very low resolution push (as opposed to touch) sensor of sorts that knows where i's being pushed on.

author: nomis
author_rank: Contributor
timestamp: July 15, 2014, 02:16:29 pm
content: Quote from: EEVblog on July 15, 2014, 12:26:43 pmAbout the paper cutter: Note that there is a small rectangular notch in the center of the blade. By controlling how far the blade cuts down you can either cut the paper completely or leave a small connection between the receipts to avoid creating a mess of loose paper snippets.I once had to deal with this kind of printers and it was quite fun to do not-really-complete-cuts in sub millimeter increments in the paper. Instant paper festoons!Bye,Simon

author: Hole
author_rank: Contributor
timestamp: July 15, 2014, 03:31:13 pm
content: Hmmm.This German thing has a 16 bit RISC cpu with all the bells and whistles it can have. And an 8 bit cpu with not so much bells. And all that for adding some numbers every other second. And then do some odd multiplications or divisions?Sure a big canon to shoot that small bird.

author: homebrew
author_rank: Frequent Contributor
timestamp: July 15, 2014, 03:51:58 pm
content: Hi Dave,nice teardown! But to my perception it is not engineered that well, when it comes to safety. In no way I can think of this device should be conform to any safety standard...1) Obviously some parts of the case are grounded (like the drawer) and others should be as I don't see ANY form of double insulation from the mains. There isn't even the otherwise typically installed insulation foil between the PSU and the chassis.2) Mains input wiring directly goes to the PSU, including the ground wire. From there the only connection to the rest of the system is through the wimpy metal bushing around the plastic PCB standoff. It looks like being made of copper and if it is pressing against the tinning of the PCB only (Video 14:40). Thus the whole ground system is held together by a PCB mounting screw that grabs into plastic...Baaahhhh ...

author: SeanB
author_rank: Super Contributor
timestamp: July 15, 2014, 04:31:17 pm
content: What Dave did not notice is that the power supply only delivers 24VDC. the individual boards have built in voltage regulators to generate the supplies they need from that. The VFD probably uses a serial data stream that generates the characters, i got 2 from Kolbep that use a single 64 output VFD driver that drives the various columns and rows of the VFD. That probably is the job of the one ASIC on the main board. You also will find around 64 or 128k of battery backed SRAM as well to store both the written description of the various items ( tea, coffee, tuna sandwich, BLT, Smoothie etc) as well as the assignations for the various keys on the keyboard, along with keeping a tally roll and day totals for the register.The printer being a separate board is to enable the same main board to be used with the thermal printer, a dot matrix printer or even to drive a standard external parallel printer, you will probably have a centronics interface on the pins, along with the 24V supply. You would have a small board with a set of buffers and a 5V regulator if you had the external printer. The reason for the extra grounds is because they did not consider that those print heads draw a peak pulse current of around 200mA per pixel element, thus you see the multiple tabs on the head that are at the side that are the ground connections, you can have 5A or more flowing through those pins, and on the top side you will see a big ( though very low profile) decoupling capacitor on the 24V rail to the print head. You probably have 512 elements on that head, and they are driven at around 1MHz to clock the serial data into them along with the PWM value per element ( to give a gray scale of around 16 values from nothing to full black) and this has to be done for each line. The 2 motor drivers are for the stepper that does the paper feed and the cutter, and the cutter driver also drives the register open solenoid. You print an ASCII bel character ( ctrl G) and the drawer opens, typically for a POS printer.Older POS printers used a single heater element running on a spiral track on a rod, that is driven by a DC motor and an optical encoder to scan along the paper, with the one end of the track having a ratchet that moves the paper up one pixel for each full stroke of the head. Slower and the head driver is then on the board with only a 4 connection flex to the head, 2 power and a pair to measure the head temperature for feedback to control the density. On the integrated heads the sensor is on the flex and feeds all the drivers to keep the print density constant ( same final instantaneous temperature ) as the head assembly heats up in use.

author: sergey
author_rank: Regular Contributor
timestamp: July 15, 2014, 04:57:55 pm
content: Nice teardown indeed. Wouldn't really expect such a computation power in things like this. You can easily fly to the moon with those DSPThe good thing is even if you fail to decode the serial interface of the VFD you can always decode individual segments of VFD itself, so no worries at all and you definitely need to salvage parts like this!

author: phenol
author_rank: Regular Contributor
timestamp: July 15, 2014, 07:26:45 pm
content: The thermal head is made by Kyocera using thin film technology. The potted driver ics are basically shift registers with low side mosfet switches on every dot. The dot resistance is typically between 600 and 1500 ohms on those 24v heads. looks like a 200dpi head, each dot is 1/8mm big. The head can be clocked at speeds much higher than 1MHz, typically 5 up to 30 in faster models, and yes, it does draw a lot of current when a lot of dots are fired simultaneously. Today there are thermal printers that can operate at voltages as low as 2.7-3V.the cutter can do partial or full cuts just by reversing the polarity on the dc motor inside.

author: dexters_lab
author_rank: Unknown
timestamp: July 15, 2014, 07:29:13 pm
content: never seen so many ferrite rings in one product!

author: magiccow
author_rank: Contributor
timestamp: July 15, 2014, 07:32:23 pm
content: Quote from: dexters_lab on July 15, 2014, 07:29:13 pmyeah nice collection of ferrites...

author: Dave Turner
author_rank: Frequent Contributor
timestamp: July 15, 2014, 07:37:51 pm
content: I think I spotted another bodge on the main board - a flying resistor and capacitor at about 12:18.

author: synapsis
author_rank: Regular Contributor
timestamp: July 16, 2014, 12:40:56 am
content: I picked up two standalone IBM thermal receipt printers off eBay for dirt cheap. I used one to make an obnoxiously huge Welcome Home banner for a friend (200 feet long).The cutter and printer would probably be good for making mailing labels or small instruction sheets for uCurrents.

author: nitro2k01
author_rank: Frequent Contributor
timestamp: July 16, 2014, 03:50:12 am
content: Quote from: dexters_lab on July 15, 2014, 07:29:13 pmThis one beats it by a mile. 39:41 into that video. Granted, it's a one-off product, but look at those ferrites!

author: David_AVD
author_rank: Super Contributor
timestamp: July 16, 2014, 04:30:03 am
content: The little release lever at the back of the cash drawer is common. It's how you open the drawer in case of power failure.

author: Rasz
author_rank: Super Contributor
timestamp: July 16, 2014, 06:10:36 am
content: awwwthat board to board connector screamed 'get a hotair and demonstrate how to desolder me !!!!111!seven"I cant picture in my head how a thermal head like that works. I mean I know how it works, it just doesnt compute, you would need a big thermal mass/heatsink to dissipate energy quickly between pixels, otherwise you wont get sharp edges ... but this thing has no problem with sharp edges, so wtf ?btw thermal paper is great when you need to locate hot spots but have no access to thermal printer, just plaster your board in thermal paper, turn it on and wait for black to appear near hottest chips/shorts.

author: Paulusthewoodgnome
author_rank: Newbie
timestamp: July 16, 2014, 07:03:34 am
content: Make a nice microprocessor controlled toilet paper dispenser with the paper cutting module

author: miguelvp
author_rank: Super Contributor
timestamp: July 16, 2014, 07:28:11 am
content: Quote from: Paulusthewoodgnome on July 16, 2014, 07:03:34 amI'm pretty sure there is no market for very narrow toilet paper.

author: cengland0
author_rank: Contributor
timestamp: July 16, 2014, 09:42:35 am
content: Hey Dave, love your videos. Just wanted to point out that you missed another bodge near the backup battery:

author: German_EE
author_rank: Super Contributor
timestamp: July 16, 2014, 10:39:40 am
content: That VFD display is a thing of beauty, you could make a very nice frequency counter using that module.

author: Niels
author_rank: Newbie
timestamp: July 16, 2014, 11:05:14 am
content: Why do they (RDC) denote the 80C186 clone as an RISC/DSP processor?RISC architecture have more done in parallel to reduce execution time, this costs extra gates/silicon. In order to reduce the silicon the number of instructions is reduced.The 80186 burns a lot of clock cycles to do noting..And an DSP processor is expected to be able to perform Multiply-Accumulate on a vectors, the 80186 can't do this.The 80186 has been used a lot in embedded applications, even if it have some drawbacks.It does not have JTAG debug interface, it does not even have debug registers (Introduced on 80386)Debugging was at best performed with a debug monitor in ROM, connected with a serial interface.The debug monitor had to overwrite the code with INT3 instructions.This required the code to be located in RAM, and often there was not enough RAM to support this feature.The reason for using the 80186 is its days, was the possibility to run DOS, and/or use DOS development tools and library’s.Paradigm (The site you were linking to) makes tools to locate, and debug 80186 a target without DOS.

author: phenol
author_rank: Regular Contributor
timestamp: July 16, 2014, 12:31:43 pm
content: The company i work for makes all sorts of thermal printers, the lightest one being 27 grams or so.We also have a big variety of printers with built-in driver boards the same size as that printer in the video. all you need to start printing is power and paper. it can work as a windows printer or independently printing ascii chars rx'd over serial or usb.The print head itself does not necessarily need large thermal mass to dissipate heat between lines; the dots are designed to cool down sufficiently between print cycles. If they fail to do so, the image bleeds. Even then there are software tricks to mitigate bleeding, ie historic control.As for the VFD, i recently made a freq counter with 8 7-segment ussr-made VFD tubes...all in all, filament voltage, grid voltage and whatnot, it draws a lot less current from the 5-v rail than 8 7-segment led displays

author: nixfu
author_rank: Unknown
timestamp: July 16, 2014, 02:59:41 pm
content: I was wondering what he was going to do with that big thing that had been sitting up on top of the shelf, I noticed they had to move it when they were making the new bench the other day. I am guessing the removal of that shelving unit is where the idea for this teardown came from. Either tear it down or throw it out.>Why do they (RDC) denote the 80C186 clone as an RISC/DSP processor?I will tell you why. RISC was a major buzzword in the 80s and they were simply trying to jump on the bandwagon.

author: Niels
author_rank: Newbie
timestamp: July 16, 2014, 03:43:37 pm
content: Quote from: nixfu on July 16, 2014, 02:59:41 pm1980's ? The 80186 was common in industrial automation into the mid 90's.http://www.cpushack.com/2013/01/12/the-intel-80186-gets-turbocharged-vautomation-turbo186/The 186 is still available:http://www.innovasic.com/Products/ia186es-ia188esThe company that I work for replaced the 186 with StrongArm, this turned out to be a bad idea.Intel stopped production 3 years after introduction despite promises of extended support.This is a major headache when you need 1-2 years for development, a product life of 8 years, and to support with spare parts for 25 years.

author: Stonent
author_rank: Super Contributor
timestamp: July 16, 2014, 06:47:44 pm
content: Quote from: phenol on July 15, 2014, 07:26:45 pmAlso on the outside of the printer is an SII logo with a circle after it. That would indicate the full part was made by Seiko Instruments. They make the "Smart Label" series of thermal printers that are sold at office supply stores.A bit of trivia on cash drawers, the old parallel port ones in the 80s and 90s could be triggered to open by sending an ASCII CTRL-G (ASCII Beep Code) to the printer port.I used that trick once to open a drawer when the key was misplaced.The old DOS command to do it was :ECHO ^G > LPT1:The raised caret is put there by pressing CTRL-G not by typing the caret and G.From windows you can type ECHO ^G and it will make your computer make either a beep or windows alert sound out your speakers if they are turned on.So, knowing that, if you can figure out the interface for the cash drawer, sending ASCII code 7 might trigger it to open.

author: misterm
author_rank: Newbie
timestamp: July 16, 2014, 07:45:26 pm
content: I've used several tills like this when youngerAs mentioned the latch at the back is to open the drawer without power, this doesn't work if drawer is locked thoughthe key on the side is to select modes, there are normally keys which restrict which modes you can select to allow say x read but not z reads or programmingL is locked - no transactionsH - I presume this is for normal useX - X read - a sub totalled list of all sales, typically used during day to monitor salesZ - Z read - as a bove but zeros the totals, typically used at the end of the dayM - not sure, but probably to program prices for some buttonsP - programming modeMartin

author: David_AVD
author_rank: Super Contributor
timestamp: July 16, 2014, 09:04:41 pm
content: Quote from: misterm on July 16, 2014, 07:45:26 pmYeah, it's only an override for the solenoid. The lock on the front is for when the till is unattended for some time and more secure than putting it into lock mode.A common practice used to be to leave the drawer ajar overnight if there was no money in there. This was in case of a break-in so (dumb) thieves didn't destroy the till trying to open the drawer with a lever.I remember years ago my parents ran a clothing store. One day there was a power outage for half the day so my dad hooked a piece of fishing line to the override lever and draped it over the top of the till.That way he could pop the drawer open each time he made a sale. That was better than leaving the drawer ajar as it still made the "bing!" sound (mechanical bell & striker) when opened via the override so less likely to have a casual theft occur.

author: Monkeh
author_rank: Super Contributor
timestamp: July 16, 2014, 09:15:48 pm
content: Quote from: miguelvp on July 16, 2014, 07:28:11 amHamsters.

author: The Adjuster
author_rank: Newbie
timestamp: July 17, 2014, 04:59:30 am
content: Quote from: Rasz on July 16, 2014, 06:10:36 amThere are actually two sets of heaters on the head. One large heater to hold the head just below printing temperature, and all of the individual print elements which can quickly raise (and lower) their temperature to darken the paper.When I got trained (more then a couple of years ago), the trainer referred to the individual print elements as 'nibs'.

author: mxmarek
author_rank: Contributor
timestamp: July 17, 2014, 11:55:05 pm
content: cool oscilloscope in top-right corner at 20:30

author: f4eru
author_rank: Super Contributor
timestamp: July 18, 2014, 06:05:58 pm
content: maybe you want to unsolder the flat flex connectors, to keep together with the keyboard film.

author: f4eru
author_rank: Super Contributor
timestamp: July 18, 2014, 06:18:49 pm
content: Notice how the resistors in the printer are all in series, probably there is a muxing scheme going on, and a residual current into the off ones.A creative use for the paper cutter ? a confetti machine for Sagan ?Notice the notch at the center of the blade for keeping a small link so the paper does not fall off.

author: phenol
author_rank: Regular Contributor
timestamp: July 18, 2014, 06:29:27 pm
content: The resistors are not in series; their hot end is commoned to a single track connected directly to 24v. Also, the off current is the leakage current of mosfet switches, a microamp or less. There are no other heaters and stuff to keep the head warm. A thing like that would waste energy for nothing and this is not a good thing in devices like eft pos terminals where power is on a budget.

author: david77
author_rank: Frequent Contributor
timestamp: July 18, 2014, 09:37:48 pm
content: In my last job we had a nice old cash register made in 1986. One morning I came in and heard a very sickly sounding beeper. As I came closer to the cash desk the smell of cooking electronics became stronger until I could eventually see a constant stream of smoke rising from the cash register.The poor thing was dying and crying for help.I pulled the plug and after some head scratching decided to open it up. It used a 6502 processor and a 7 pin matrix printer. The noises this thing made when operating were brilliant. Turned out some caps on the PSU PCB had given up after >25 years. Problem was I really needed the register for daily business and so decided to try and fix it - after all this was an electronics shop I was working in.This actually worked and the thing booted up after this but as it turned out it had forgotten its configuration. The user manual was of no use to me, I couldn't figure out how to program this old beast so had to call the service tech to re-programm it.He did it from memory, took him about an hour of keying in arcane codes and the cash register worked again. He told me we were the last ones using this ancient model and he hadn't seen another in service for at least five years. I was impressed that he remembered how to set it up - he's probably one of the better service techs.All cash registers I've seen so far have that release catch for the drawer on the bottom. You have to be able to get at the money even without power and keys.The key switch is the mode selector, P is Program mode, X is used for things like cashing up at the end of the day, Z is normal register mode. Have forgotten what the others do but they're usually the same on all cash registers. The keys used for these locks are quite nifty, there are usually at least three different keys, each key performs another function. So there's the P key to get into P mode, then there usually are user keys for the people operating the machine and superuser keys for the boss, for things like cancellations and sub-totals.

author: misterm
author_rank: Newbie
timestamp: July 19, 2014, 09:08:09 pm
content: On every till (probably 5 or 6 models) I've ever used Z mode is for zeroing, it allows the user to print a summary of whats been sold and then reset that (normally everyday) so you get a record of daily takingsMartin

author: david77
author_rank: Frequent Contributor
timestamp: July 20, 2014, 01:21:38 am
content: Yeah, you are probably right, I mixed that up. Funny how fast you can forget things you used to do every day for years.