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?
Opkg install kmod-usb-serial-ch341 The HL-340 is a CH 340 compatible device. Once the ch341 driver is installed the nano appears as /dev/ttyUSB0 and defaults to 115200 baud.
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*. More specifically, they do not generate the correct voltage swings on the RS232 TxD pin. 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.
Stanislav Petrek stanislav-petrek wrote on Other bug subscribers Subscribe someone else. You can rebuild the kernel by following these steps https: By liuluqqzj, December 30, 4: By salvador, January 8, 4: I’ll see if I can find a driver for it, I guess that’s most likely the issue as the cable itself is fine because it work in Windows.
Anyway here are the most updated windows drivers I could find: Uploader: Date Added: 27 June 2008 File Size: 38.97 Mb Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X Downloads: 8385 Price: Free* [ *Free Regsitration Required] To post a comment you must log in. By Carlos R SartiDecember 30, 2: April 3rd, 5. The required kernel module is called ch and built with the following. Installed on days ago InstallationMedia: From syslog Dec 18 It’s a cheap HL and after doing some Goggling, it looks like I’m not the only one having trouble with this thing in Ubuntu. Sign up or log in Sign up using Google. Sign up using Facebook. Bug # “QinHeng Electronics HL USB-Serial adapter”: Bugs: linux package: Ubuntu Whether or not someone already had problems with it or there were no problems before.
The defender must respond to the new attack in the same fashion as the first attack by playing a card of the same suit of the new attack card with a higher rank or a trump card. After the original attack, attacks can only be made if the new attack card matches a card which has already been played during that round. Each new attack card is placed to the left of the last attack card and the defender plays their defending card on top of the new attack card creating a row of attack and defence cards. There cannot be more than six attacks in each round. If the player who led the last attack choose not to attack again (and all future attacks during the round of attacks) then the original attacker may make a new attack, if they pass on making an attack then players to the defenders left may attack or pass and so on going clockwise around the table. Igra durak kart.
By CleberFebruary 28, 8: Is the adapter loading the right kernel module? Results 1 to 10 of Pieter diepes on Helping Teams Get Started. By MikeJune 1, 5: I install kernel-image to use dpkg command. Winheng Hello, same problem to me. Search Who’s Online 5 visitors online now. TJani tjani wrote on Register a new account. By iwQihneng 12, Home About Tutorials Visitors Map.
I try to run Arduino Nano with ch, but nothing work. April 4th, 6. You are not directly subscribed to this bug’s notifications. Linux Mint Forums By wizzyFebruary 24, Create an account or sign in to comment You need to be a member in electronicw to leave a comment Create an account Sign up for a new account in our community. Brad Figg brad-figg on By AnonymousAugust 19, 1: Try the latest mainline kernel?
Alberto Salvia Novella ese on Questions Tags Users Badges Unanswered. USB Serial support registered for chuart. By LuckyMay 29, 5: And is the device really recognized by your kernel check dmesg output after plugging?
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?
Opkg install kmod-usb-serial-ch341 The HL-340 is a CH 340 compatible device. Once the ch341 driver is installed the nano appears as /dev/ttyUSB0 and defaults to 115200 baud.
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*. More specifically, they do not generate the correct voltage swings on the RS232 TxD pin. 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.
Stanislav Petrek stanislav-petrek wrote on Other bug subscribers Subscribe someone else. You can rebuild the kernel by following these steps https: By liuluqqzj, December 30, 4: By salvador, January 8, 4: I’ll see if I can find a driver for it, I guess that’s most likely the issue as the cable itself is fine because it work in Windows.
Anyway here are the most updated windows drivers I could find: Uploader: Date Added: 27 June 2008 File Size: 38.97 Mb Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X Downloads: 8385 Price: Free* [ *Free Regsitration Required] To post a comment you must log in. By Carlos R SartiDecember 30, 2: April 3rd, 5. The required kernel module is called ch and built with the following. Installed on days ago InstallationMedia: From syslog Dec 18 It’s a cheap HL and after doing some Goggling, it looks like I’m not the only one having trouble with this thing in Ubuntu. Sign up or log in Sign up using Google. Sign up using Facebook. Bug # “QinHeng Electronics HL USB-Serial adapter”: Bugs: linux package: Ubuntu Whether or not someone already had problems with it or there were no problems before.
The defender must respond to the new attack in the same fashion as the first attack by playing a card of the same suit of the new attack card with a higher rank or a trump card. After the original attack, attacks can only be made if the new attack card matches a card which has already been played during that round. Each new attack card is placed to the left of the last attack card and the defender plays their defending card on top of the new attack card creating a row of attack and defence cards. There cannot be more than six attacks in each round. If the player who led the last attack choose not to attack again (and all future attacks during the round of attacks) then the original attacker may make a new attack, if they pass on making an attack then players to the defenders left may attack or pass and so on going clockwise around the table. Igra durak kart.
By CleberFebruary 28, 8: Is the adapter loading the right kernel module? Results 1 to 10 of Pieter diepes on Helping Teams Get Started. By MikeJune 1, 5: I install kernel-image to use dpkg command. Winheng Hello, same problem to me. Search Who’s Online 5 visitors online now. TJani tjani wrote on Register a new account. By iwQihneng 12, Home About Tutorials Visitors Map.
I try to run Arduino Nano with ch, but nothing work. April 4th, 6. You are not directly subscribed to this bug’s notifications. Linux Mint Forums By wizzyFebruary 24, Create an account or sign in to comment You need to be a member in electronicw to leave a comment Create an account Sign up for a new account in our community. Brad Figg brad-figg on By AnonymousAugust 19, 1: Try the latest mainline kernel?
Alberto Salvia Novella ese on Questions Tags Users Badges Unanswered. USB Serial support registered for chuart. By LuckyMay 29, 5: And is the device really recognized by your kernel check dmesg output after plugging?