i am connecting the output of the barcode reader to a max232 that will transform the 12v level to 5v level and then to a PIC microcontroller that will save the barcode to transmit it later
the idea of the project is to have a portable barcode reader in every shopping kart in the supermarket. the reader will read the barcode and then the pic will send it the server to add the product to the list and then the customer will pay his bill by using his mobile
So obviously i will need the barcode reader to be powered up independent of a PC that's the problem
The device expects +5vdc at 100ma available on pin 9 if using the DB9 connector or pin 25 if using a DB25 connector. This not standard on a standard PC serial comm port. You will not be able to derive that much current using any of the RS-232 signal pins. So you will either have to add a 5vdc power wire inside the PC's comm connector or 'break out' the power and ground connections on a serial cable and provide the 5vdc voltage. They have a USB version of this model, that would have been a better choice.
Do you know if it is programmed to use the handshake lines? If connected to the computer the computer may be asserting one of the handshake lines and allowing the scanner to run. Maybe you need to set the scanner to default conditions to start, or verify how the scanner is setup.
Do you have an rs232 breakout box??
mike.
Do you know if it is programmed to use the handshake lines? If connected to the computer the computer may be asserting one of the handshake lines and allowing the scanner to run. Maybe you need to set the scanner to default conditions to start, or verify how the scanner is setup.
Do you have an rs232 breakout box??
mike.
Ok on the settings. How do you get power when plugged into the PC?
Are you using their power supply, if not are you sure you are connecting to the correct pin?
Rs232 breakout box has connectors to put it inline with your device and has led's for each pin to show you if it is a high or low level, it also can show lines changing / etc.
actually i am connecting the barcode scanner to the PC using an rs232 to ps/2 converter that comes with the device so the barcode reader is connected to the pc through the keyboard port.
but when i connect the barcode reader to my circuit i connect it through rs232 and remove the converter.
the device is taking power from the pc , iam not connecting any external power supply.
i am sure that i connect the vcc to pin#9 as in the manual