Posted  by 

Qinheng Electronics Hl-340 Usb-serial

Qinheng electronics hl 340 usb serial adapter driver Qinheng electronics hl 340 usb serial adapter driver FTDI may be controversial from some viewpoints, but their. Aperepel / raspberrypi-ch340-driver. Pull requests 1. ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter Bus 001 Device 003: ID 0424. RS232 to USB serial communication. Sat Mar 12, 2016 11:53 am. The QinHeng Electronics HL-340 USB-Serial adapter seems to be causing alot of problems for other users. Qinheng electronics hl 340 usb serial adapter driver Qinheng electronics hl 340 usb serial adapter driver FTDI may be controversial from some viewpoints, but their.

Qinheng Electronics Hl-340 Usb-serial

First of all,I am a newbie and am currently working on a small barcode project. I have a barcode scanner from dfrobot which has a rs232 output. I hooked it up to a RS232 to usb converter which I borrowed from my friend. After connecting it to my laptop and accessing the COM port through putty, I managed to get the data from each scan at putty. Now, since this confirmed that both the scanner and the converter is working, I tried to hook it up to my raspberry pi, the connection is as follows: Barcode scanner with RS232 >RS232 to usb converter >Pi lsusb returns the following. Code: pi@raspberrypi ~ $ cat /dev/ttyUSB0 I'm not sure what it is outputting at the moment, it seems as though it is outputting 2 newlines. But at the same thing, it doesn't consistently output a newline everytime I scan something, rather, it just moves my putty down to a blank page where I can scroll up to see the line 'pi@raspberrypi ~ $ cat /dev/ttyUSB0'.

Qinheng Electronics Hl-340 Usb-serial

Scanning a few more times doesn't output a new line, it just shifts the screen downwards. (can't really explain it properly) When I type in some letters and scans again, it will move downwards again.

After some searching around, it seems that there could be a problem with the USB converter that I have being not compatible with raspbbery pi. The QinHeng Electronics HL-340 USB-Serial adapter seems to be causing alot of problems for other users. I'm trying to install drivers for it but I don't really know how, so if anyone can guide me through it or send me a link with tutorial, I would appreciate it. Also, I have prepared to buy a new converter assuming that this usb converter doesn't work. Does anyone have any recommended Rs232 to USB converter which is compatible with the pi? Or should I give up with using a converter and better to use a Rs232 to ttl instead?

Blueck wrote:Yea, I bought a MAX3232 chip which converts RS232 to serial UART. May I have more info on your project? Hindi Movie Jodhaa Akbar there. Care to share?

Emotional Rescue Midi File more. The Serial to USB HID converter which simulates HID device sounds interesting. As for MAX3232 - I might some issues in my circuit (maybe, or maybe not) but I couldn't talk to some RS232 devices by this chip because it could not generate high (low) enough level for the machine to get it, but that issue I had only when I was sending data to machine, I could receive fine - those were old machines so they RS232-TTL transceivers probably was more picky than made now days.

This goes off-topic but: My project is a small board that fits into barcode scanner. I've replaced RJ connector with female USB-B socket and I had to get rid of some IC chips inside scanner - chips responsible for PC/AT keyboard interface and RS232 level converter. Now, with removed all useless cr_a_p (for me ), I connect the converter to the mcu serial TxD line (Direction: from barcode MCU to computer) - I don't use barcode mcu RxD line (I don't send anything to barcode scanner anyway). Power is taken from USB socket (scanner works on 5V (this I reverse engineered from PC/AT keyboard interface part) so it's fit well ), usb d+/d- goes to the interface board, and RxD on board is connected to TxD on scanner board. On interface board I have: ATMega8 Atmel 8bit-AVR MCU with software-usb driver working in HID keyboard mode, crystal oscillator, some resistors and zener diodes for USB D=/D- lines. The driver is V-USB from obdev:.

I will publish my project once it will be done on my github account That's the general look on my project, so far I have good results with simulating keyboard button events while getting data (and parsing it) from USART (using ATMega8 uC). But this is one of 9 other projects that I'm have now opened, and I have to 8 other PCBs to do so I might start/continue this project in few week, or faster if priorities change (e.g. I'll be in need of barcode scanner which turns out to be in half disassembled, unfinished state ).

A very simple way to check if your RS232 connection is working is to 'loop back' the transmit line (TxD) to the receive line (RxD), so that characters you type in minicom (etc) are immediately echoed back to you. RxD and TxD are pins 2 and 3 on the DB-9 connector, so with a bit of practice you can just connect them together with a screwdriver or penknife blade. If your adapter has a socket (with holes) instead of a plug (with pins), a trusty bent paperclip connecting 2 and 3 together will also work. Win 7 Rog Rampage. MacGyver would be proud of you. (Make sure that 'flow control' or 'handshaking' is all turned off. If hardware flow control is turned on, you won't be able to send or receive characters unless additional signals are wired up correctly).