Ohh.. My controller can not do plane-less scanning and it can't interface with the laser scanner software.. This is because i have no Serial port connection at micro-controller hardware to send/get data from the Scanner software through Laptop USB port... I searched the Internet and found some expensive USB FTDI cables 15 US Dollar up to 20US Dollars.. :( that is not a cheap option... So decided to hack Nokia data cable for that...
Today i went to bazar and searched a CA-45 cable and i found it 80Pakistani Rupees( I US dollar=86 Rupees).. It has only 4-pins out toward the Mobile side connector and very close pins... Difficult to find the right pins i.e. GND, TXd and Rxd..... I put a small wedge at the edge and the connector pop out into two.. and i found only 3-wires coming out of connectors..RED, BLACK and WHITE... the RED one was connected to the external body of the connector, so in first guess i found it GND.. but to confirm, i used multimeter and it was GND, the BLACK and GND gave me 3.5 Volts and WHITE and GND gave me some 0.2V DC.. As the TX pin is always at high voltage as compare to Rx so found that the BLack=Tx..I also found that the Device appears as COM5 in device manager.. Hurra..that was a success....
As windows 7 has no Hyperterminal available so i downloaded a 30 days trial of "Hyperterminal Private Edition".. Then i combine the Rx and Tx pins and started the terminal with :
“Bits per second:” to 115200
“Data bits:” to 8
“Parity:” to None
“Stop bits:” to 1
“Flow control:” to None
and COM5 port selected and typed in Hyperterminal window... and the Keyboard keys Echoed on the hyperterminal window.. so my Tx and Rx pins are rightly identified...
Today i went to bazar and searched a CA-45 cable and i found it 80Pakistani Rupees( I US dollar=86 Rupees).. It has only 4-pins out toward the Mobile side connector and very close pins... Difficult to find the right pins i.e. GND, TXd and Rxd..... I put a small wedge at the edge and the connector pop out into two.. and i found only 3-wires coming out of connectors..RED, BLACK and WHITE... the RED one was connected to the external body of the connector, so in first guess i found it GND.. but to confirm, i used multimeter and it was GND, the BLACK and GND gave me 3.5 Volts and WHITE and GND gave me some 0.2V DC.. As the TX pin is always at high voltage as compare to Rx so found that the BLack=Tx..I also found that the Device appears as COM5 in device manager.. Hurra..that was a success....
As windows 7 has no Hyperterminal available so i downloaded a 30 days trial of "Hyperterminal Private Edition".. Then i combine the Rx and Tx pins and started the terminal with :
“Bits per second:” to 115200
“Data bits:” to 8
“Parity:” to None
“Stop bits:” to 1
“Flow control:” to None
and COM5 port selected and typed in Hyperterminal window... and the Keyboard keys Echoed on the hyperterminal window.. so my Tx and Rx pins are rightly identified...