POMOCO not running and Arduino not communicating

Hello,

I tried on summer running my Hexy and after a long battle I look for another thing to do. Why?
I tried on Mind, Debian, Windows… I’m not specially good in robotics… I only play with Lego MinstormsNXT (on Ubuntu and Windows) Hexy it’s being a nightmare!

First of all:
Installed:
[ul]
Linux *-PC 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Python 2.7.5+ (default, Sep 19 2013, 13:48:49) [GCC 4.8.1] on linux2
python-serial ya está en su versión más reciente.
openjdk-7-jdk
[/ul]
Options:
[ul]
user
is on tty and dialout groups
user
is sudo
I’m running arduino and PoMoCo like sudo
On arduino I selected Arduino Leonardo and /dev/ttyS0
[/ul]
PROBLEMS:

  • On Arduino:
    [ul]
    I open Servotor32_Default,
    I do CARGAR without any error message
    I tried sending with Serial Monitor, V, C, K… and not response is got (I tried diferent serial ports)
    [/ul]

  • On PoMoCo
    [ul]
    I’ve to copy all files in the same directory, because it doesn’t get Path to servocomm.
    I can’t run PoMoCo.py if I’m on PoMoCo directory, I have to do: sudo python ./PoMoCo-1.0/PoMoCo.py
    And then:
    Attempting to connect to Servotor
    Trying Windows Method
    Connection to Servotor failed. No robot movement will occur.
    initilizing servos
    servos initalizied
    Traceback (most recent call last):
    File “./PoMoCo-1.0/PoMoCo.py”, line 23, in
    for fileName in os.listdir(‘Moves’):
    OSError: [Errno 2] No such file or directory: ‘Moves’
    [/ul]

I’m very sorry… I really want this going on but I’m desesperated!

Thanks for all.

Have you tried running it on windows? If so, what were you able to do? While the software should run on linux, its incredibly harder to support, and it would be much easier to help with if you were running windows or OSX.

Hello,

I only have windows at work, so it’s not easy. I’m electronics teacher and apart from my interest we want at work our students get interested in projects like this. They are ‘low level’ students, but if they find something really interesting and not so difficult perhaps one day they will decide to study in a high level technical college.

Returning to my problem. I have a notebook where I can run PoMoCo GUI, but not moving Hexy, and Arduino doesn’t see tty.
This computer have the same Ubuntu version, and latest arduino, python and pyserial.
Error messages:
Attempting to connect to Servotor
Trying Windows Method
Connection to Servotor failed. No robot movement will occur.
initilizing servos
servos initalizied
Killing all servos

which is normal when Arduino doesn’t see Hexy, isn’t it?

and for Arduino:
not ttyACM0 detected … it amazing because they are named ttyS0!

and sometimes even doesn’t run GUI!

Thanks
So

Yeah, the crux of the issue is that servotor32 just isn’t being detected by your computer. There are a few reasons this may be:
1.) The devices is simply non functional. Does it breathe the red LED when it turns on? on reset? Do the servos on pins 0-3 center when the board is running?
2.) USB cable is off. If possible, have you tried using different USB cords? We use a pretty high-quality supplier for ours (and individually tested each one when we didn’t), but you never know.
3.) Something about USB on the computer is off. Try unplugging all non-essential USB devices, and not using a hub, and see if that helps.
4.) USB 3.0 sometimes causes problems. Despite being “fully backwards compatible”, we’ve found that in rare cases its not true, especially with operating systems that don’t full support USB 3.0, or when not using 3.0 compatible cables.

Hello,

when I do dmesg I get:

[ 8973.097195] usb 7-3: new full-speed USB device number 15 using ohci-pci
[ 8973.264385] usb 7-3: New USB device found, idVendor=27c2, idProduct=0001
[ 8973.264394] usb 7-3: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[ 8973.264399] usb 7-3: Product: Servotor32
[ 8973.264403] usb 7-3: Manufacturer: ArcBotics LLC
[ 8973.266540] cdc_acm 7-3:1.0: ttyACM0: USB ACM device
[ 8980.814860] usb 7-3: USB disconnect, device number 15

why last line?

and on arduino IDE serial port is named: ttyS0

is that consistent?

Thank you,

Eskimal.

Hi,

I’m really disappointed!(with needing windows, I mean) finally I try my Hexy on Windows (XP SP3).

I plug it in, and…
[ul]
firstly a message appear on screen: I chose drive servotor32…
and during this the COM disappear!
when I finish installing drivers no device is seen on COM ports!
[/ul]

What can I do?
Hexy has a standard Arduino Leonardo? I can’t find the same problem on Arduino forums neither…
It can be broken?

Thanks.

Hello,

I am trying to run it on Windows 7 and this is what i see:

How can I know the board is ok?

When I power it on a Green LED turns on (PWR), nothing else.

I have installed the servotor32 drivers.

Thanks

Hello,

I don’t have problems using an arduino Leonardo.

After testing a board with a simple program and having no problems, I have tried to do the same with hexy, but this is what I get:

What can I do?

Hi,
what if the red LED does not breathe when it turns on?

1.) The devices is simply non functional.–> ???
Does it breathe the red LED when it turns on? --> NO
on reset? --> YES
Do the servos on pins 0-3 center when the board is running? --> YES
2.) USB cable is off. If possible, have you tried using different USB cords? --> I tried differents, no change
3.) Something about USB on the computer is off. Try unplugging all non-essential USB devices,–> I tried differents, no change
and not using a hub, --> not the case
4.) USB 3.0 sometimes causes problems. --> I tried on 2.0 and 3.0

I tried in two linux machines with different linuxes: Ubuntu (I upgraded it too), Debian and Mint, two differents Windows XP computers, another with Windows 7…

And if it is non functional there is any optiion?

Thanks.

Eskimal

In this case, you should try to do a manual reset to upload code. We have a guide for how to do it with Sparki. The process is the same, only the reset button is different on Servotor32 (next to the ultrasonic connector instead):
arcbotics.com/lessons/manual-upload/

The code for blinking the LED is also off. The red led at the bottom is pin 6, not 9.

Once you’ve managed to upload the code, upload the latest version of the default firmware from here:
arcbotics.com/products/servotor32/

Currently it is 2.0:
arcbotics.com/hosting/Servotor32 … 32_2v0.zip

Hello,

it seems that it works but when I tried PoMoCo:
Attempting to connect to Servotor
Trying Windows Method
Connection to Servotor failed. No robot movement will occur.
initilizing servos
servos initalizied
Killing all servos

and if I do dmesg:

[ 1097.564188] usb 3-3: new full-speed USB device number 2 using ohci-pci
[ 1097.731304] usb 3-3: New USB device found, idVendor=27c2, idProduct=0001
[ 1097.731312] usb 3-3: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[ 1097.731317] usb 3-3: Product: Servotor32
[ 1097.731321] usb 3-3: Manufacturer: ArcBotics LLC
[ 1097.745109] cdc_acm 3-3:1.0: ttyACM0: USB ACM device
[ 1097.748508] usbcore: registered new interface driver cdc_acm
[ 1097.748514] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 1104.946089] usb 3-3: USB disconnect, device number 2
[ 1302.173042] systemd-hostnamed[2559]: Warning: nss-myhostname is not installed. Changing the local hostname might make it unresolveable. Please install nss-myhostname!
[ 1424.386882] usb 3-3: new full-speed USB device number 3 using ohci-pci
[ 1424.553875] usb 3-3: New USB device found, idVendor=27c2, idProduct=0001
[ 1424.553887] usb 3-3: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[ 1424.553893] usb 3-3: Product: Servotor32
[ 1424.553898] usb 3-3: Manufacturer: ArcBotics LLC
[ 1424.556048] cdc_acm 3-3:1.0: ttyACM0: USB ACM device
[ 1431.770983] usb 3-3: USB disconnect, device number 3

So, when I connect Hexy, there is an initial connection but it disconnects automatically. If I reset I obtein the same result. When I do on Windows the result is the same but I don’t know how to verbose.

Thank you.

It should connect the bootloader USB device, then disconnect it (Which this is showing), then reconnect as a serial port (idVendor=27c2, idProduct=0002). If this isn’t happening, then try and re-load the firmware with a manual upload.

Hello,

I’m not sure what you mean. I plug Hexy, I do dmesg and no usb device is recognized. I reset Hexy and then without any other action the OS recognized it, and then disconnect it:

[ 9210.929586] usb 3-3: new full-speed USB device number 2 using ohci-pci
[ 9211.096714] usb 3-3: New USB device found, idVendor=27c2, idProduct=0001
[ 9211.096722] usb 3-3: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[ 9211.096727] usb 3-3: Product: Servotor32
[ 9211.096731] usb 3-3: Manufacturer: ArcBotics LLC
[ 9211.114770] cdc_acm 3-3:1.0: ttyACM0: USB ACM device
[ 9211.117832] usbcore: registered new interface driver cdc_acm
[ 9211.117837] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 9218.312372] usb 3-3: USB disconnect, device number 2

. If I unplug and plug it again I can’t see any change. If I reset, the previous list is repeated.

I try several times to upload servotor32 with reset method, and there is no error message, but when I try PoMoCo …

Attempting to connect to Servotor
Trying Windows Method
Connection to Servotor failed. No robot movement will occur.
initilizing servos
servos initalizied
Killing all servos
quitting!

What seems obvious while Hexy is not recognized been connected.

Any suggestions?

Thank you very much.

Eskimal

Hello,

you propose:
[quote]It should connect the bootloader USB device, then disconnect it (Which this is showing),[/quote]

how can I do?

Thank you very much,

Eskimal