Hl 340 Usb To Serial Driver Ubuntu
I'm new to raspberry pi. I tried to connect PLC with raspberry pi using 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter. But it is not working. What i did is.
1 download zip file of above adapter driver for Linux 2 extract it 3 run make command 4 connect USB serial adapter to raspberry pi ( I connected pin 2 and pin 3 of serial port together) 5 run putty on raspberry and select serial and type port as ttyUSB0 and clicked open 6 then new windows was popup and when i type on keyboard there is no any letters appear. Cursor position changed for some keys is it converter problem? Or is there any method to connect PLC with raspberry pi via modbus protocol? This is a very late posting and perhaps this is not any issue anymore. However for anyone that cares. The HL-340 USB-to-RS232 adaptors I have seen (& purchased on eBay) seem to be all *defective*.
USB SERIAL CH340 Drivers Download Download the latest USB SERIAL CH340 driver for your computer's operating system. All downloads available on this website have been scanned by the latest anti-virus software and are guaranteed to be virus and malware-free. Qinheng electronics hl 340 usb serial adapter driver for windows Isaiah June 3, 2018 Stanislav Petrek stanislav-petrek wrote on Other bug subscribers Subscribe someone else.
More specifically, they do not generate the correct voltage swings on the RS232 TxD pin. Aor 8600 control software. I know this because I bought some and could not get them to work. I plugged in an alternative adaptor (using the PL2303 chip) and there was no problem. I then checked the RS232 data pins on an oscilloscope.
The HL-340 voltages on TxD were no good. RS232 requires a -5 to +5 volt swing. The HL-340s gave about 0 to +3v. But voltages are good from the PL2303 adaptors I have used.
I have had no problem with the PL2303 USB to Rs232 adaptors. It is possible I just had a bad batch.
The RS232 voltages are generated by a transceiver chip after the HL-340. So I am not saying every HL-340 based adaptor eve3ry produced will fail. Just the ones I have seen to date. Also - FYI - I have had no issue with the MCS7840 adaptors (USB to 4-port RS232). They are commonly available on eBay for about US$20-$30. They work straight off on current Raspbian 'stretch'. I presume the 2-port variant MCS7820 would also work seamlessly.
The MCS7840 is an easy and cheap way to add 4,8,12. Ports to a Pi. Display posts from previous: Sort.