LaserWeb / LaserWeb4

Collaborative effort on the next version of LaserWeb / CNCWeb
GNU Affero General Public License v3.0
710 stars 192 forks source link

RaspberryPI, no USB connection to ch341 arduino nano with GRBL #437

Closed Geeklab3D closed 3 years ago

Geeklab3D commented 6 years ago

Hi I followed the installation instructions on the website and installed the latest Raspian on a new Raspberry Pi 3. I also enabled Serial connection in the Raspberry Pi configuration. The webinterface work, except that the connected arduino nano ATmega 341 with GRBL don't show up in the machine connection.

In the Terminal dmesg shows me:

usbcore: registered new interface driver ch341 [ 3.115097] usbserial: USB Serial support registered for ch341-uart [ 3.115186] ch341 1-1.2:1.0: ch341-uart converter detected [ 3.117234] usb 1-1.2: ch341-uart converter now attached to ttyUSB0

....... I installed the Arduino IDE and get full access to the nano. I flashed the latest GRBL Version to the nano and still have no connection.

If I connect my W10 Notebook with Eleksmaker to the nano, everything works normal.

Any idea, why this is not working? Thank you in advance.

bildschirmfoto 2017-11-12 um 19 31 02
ellisgl commented 5 years ago

Check which version of serial port is installed. Also check develop tools for errors.

On Sun, Nov 18, 2018, 12:46 PM Vangelis <notifications@github.com wrote:

Hi everyone,

Any new regarding the issue? I have tried all the combinations above.

I pull the latest and install serial-port 4.0.6 ... no luck I pulled the serialport-6.2.2 branch and install ... also no luck..

cat /proc/device-tree/model Raspberry Pi 3 Model B Rev 1.2

cat /etc/os-release PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)" NAME="Raspbian GNU/Linux"

root@lw4:/opt/lw.comm-server# npm -v 3.10.10 root@lw4:/opt/lw.comm-server# node -v v6.14.4

node serialtest.js Ports [ { comName: '/dev/ttyAMA0', manufacturer: undefined, serialNumber: undefined, pnpId: undefined, vendorId: undefined, productId: undefined }, { comName: '/dev/ttyUSB0', manufacturer: '1a86', serialNumber: '1a86_USB2.0-Serial', pnpId: 'usb-1a86_USB2.0-Serial-if00-port0', vendorId: '0x1a86', productId: '0x7523' } ]

any ideas?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/LaserWeb/LaserWeb4/issues/437#issuecomment-439715701, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFxX0gDzWc6QEvyHmZvkFVF4HxTUFMOks5uwasdgaJpZM4Qa_rB .

vang1804 commented 5 years ago

I am using serialport@4.0.6. I am also trying to enable debug on the about page.. but the Toggle Devtools button is not there...

ellisgl commented 5 years ago

Use serialport@6.2.2 instead.

ellisgl commented 5 years ago

@vang1804 Did that work for you?

vang1804 commented 5 years ago

Yes, it seem to work with 6.2.2 and the main brunch. I didn't have to time to really test it, but seems that it connected to the GRBL.

ellisgl commented 4 years ago

Can we close this?

filka96 commented 3 years ago

I have the same problem. I found a reason and fix https://github.com/LaserWeb/lw.comm-server/issues/91

t-richter2 commented 2 years ago

@filka96 Hi, I#m still running into this problem. Can you clarify how the fix works? Don't have a clue about node.js config and how to apply this. Many thanks

easytarget commented 2 years ago

@t-richter2 How did you obtain LaserWeb?

The discussions and solutions above are for people who download the source code and build that using npm/nodeJS. And these issues are now fixed in the latest LW versions. This is a closed issue.

Please start a new issue, and include info about what you downloaded, from where, and what you then did to install.

t-richter2 commented 2 years ago

Please start a new issue, and include info about what you downloaded, from where, and what you then did to install. @easytarget Sorry, me stoopid ;-) I did just that