PIC-OSD logo

Cash Register & EPOS FAQ

Cash register

Video text overlay unit

Q. Can I use your project board video overlay unit to display information from a cash register or other POS equipment over the picture from a security camera?
A. The answer is a complicated yes, but also a simple no. No, we do not offer any product which can be connected to a cash register without software modification. Therefore if you are looking for a simple turnkey solution that will meet your needs "out of the box" our products are not suitable for your application. Yes, you can interface the serial project board to any cash register with serial data output provided you have a full specification of the data format and then have a custom software interface created for the PIC microcontroller on the board.
Q. How can I get a specification of my cash register's serial data format?

A. This is a three stage process. First you need to consult the documentation for your cash register to determine from which hardware port, baud rate and data format the serial data is transmitted.

Second you need to capture a representative selection of the serial data from your cash register using a PC or laptop connected to it running a serial terminal program like Hyperterminal. You need to use the Capture Text file option of Hyperterminal to capture the data. With your PC connected to the cash register you need to select the Call option from the Hyperterminal menu, then select Disconnect. Then select the Transfer option from the Hyperterminal menu, then select the Capture Text option. This will present you with a dialog box into which you can then type the name of the *.txt file into which the data will be stored. Once you have set the file name for the capture, go back to the Call menu and select Connect. All the data that comes in via the serial line will now be placed into the capture file that you have named. You will need to perform a representative selection of transactions, cancellations, refunds, and operator logins while the cash register is connected to put data into the capture file. This capture file is the file(s) that you will need to examine to determine the structure of the serial data generated by the cash register. To stop the capture process you need to select the Transfer menu again and go to the Capture Text which will then give you the option of stopping or pausing the data capture. If you need to open the file to check its contents then please do this with Notepad not a wordprocessor like MS word so that no control codes or other characters are added to the file.

till receipt terminal program

The third stage is to examine the cash register serial data in the capture file using a hex editor like HexEdit. This allows you to determine which control characters the cash register generates.

Hex editor

Q. If I have the specification of my cash register serial data format how do I turn this into software for the project board?
A. If you are able to write software for the PIC16F628 microcontroller then you can start with the POS display example program which is part of our EXAMCODE example software package. This is a small application which was written as an example of how to format and display data from a cash register using an OSDSER unit. It is specific to the data it was written to process, but provides a starting point for development. It may work "as is" for some simple applications with no binary control characters in the data format. If you need a local counsultant to design and develop an application for you see Microchip's counsultants list.


Home

Back

Order

© The BlackBoxCameraTM Company Limited 2009