kicker10BOG / DobotMagicianServer

A web server for controlling a Dobot Magician robotic arm
MIT License
2 stars 0 forks source link

can't connect to dobot magician #1

Open thesupersystem opened 1 year ago

thesupersystem commented 1 year ago

raspberry pi unable to connect to dobot magician.

"[{'value': '/dev/ttyAMA0', 'name': '/dev/ttyAMA0: ttyAMA0'}]" pydobot: command resulted in error. Disconnecting.

this was listed when i used lsusb

Bus 001 Device 004: ID 0bda:8152 Realtek Semiconductor Corp. RTL8152 Fast Ethernet Adapter Bus 001 Device 009: ID 1a86:7523 QinHeng Electronics CH340 serial converter Bus 001 Device 002: ID 1a40:0101 Terminus Technology Inc. Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

i believe the dobot is detected under Device 009. Is there a driver that I have missed out on during the installation process?

kicker10BOG commented 1 year ago

I don't remember doing anything other than what's in the Readme the couple of times I set it up. When the dobot is powered on and plugged into the Pi, the dropdown list should contain a really long entry, you'll know it when you see it. Here's my lsusb output before and after powering the dobot on:

pi@dobotpi:~ $ lsusb
Bus 001 Device 004: ID 222a:0001
Bus 001 Device 005: ID 1a86:e026 QinHeng Electronics
Bus 001 Device 006: ID 0424:7800 Standard Microsystems Corp.
Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
pi@dobotpi:~ $ lsusb
Bus 001 Device 004: ID 222a:0001
Bus 001 Device 035: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP2102/CP2109 UART Bridge Controller [CP210x family]
Bus 001 Device 005: ID 1a86:e026 QinHeng Electronics
Bus 001 Device 006: ID 0424:7800 Standard Microsystems Corp.
Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

So I'm thinking Cygnal Integrated Products, Inc. CP2102/CP2109 UART Bridge Controller [CP210x family] is the Dobot. Make sure the connections are all good and the dobot is powered on and check again. Also, give it a few seconds after it turns on before trying to connect to it.