Hello,
I’m new here and I’m probably doing something quite stupid
I’m trying to drive the usb 16 channel servo controller from python. I’m able to connect and set the baud rate and everything looks good but as soon as I send any data I get the red flashing led which I assume means my data is bad.
I’ll check that tonight with a serial port checker.
However my question is this:
In the non pololu mode, should the green “servos powered” led come on? It is not on and the servo isn’t centering or anything, but I think I read somewhere on here that the servos don’t center until they recieve their first packet of valid data?
Below is some more information about what I’m seeing.
Cheers
Dave
HW
I’m using 4aa duracells as servo power and a hobbico servo that I tested with a servo tester.
I’ve checked voltage across servo connector pin and have 6.5v
Pololu Mode Jumper off
- Reset board by disconnecting and reconnecting to USB
- USB light is on
All leds on bottom of board flash in sequence and then only yellow is lit - Run python script
Serial Activity led flickers once
Red led starts flashing about 1hz
Output:
Opening Serial Port 3 on real port COM4
Serial<id=0x14bde70, open=True>(port=‘COM4’, baudrate=9600, bytesize=8, parity=‘N’, stopbits=1, timeout=None, xonxoff=0, rtscts=0, dsrdtr=0)
SData 6 : 0x80 0x1 0x0 0x0 0x4f 0x0
SData 6 : 0x80 0x1 0x0 0x0 0x4f 0x0
SData 6 : 0x80 0x1 0x0 0x0 0x4f 0x0
SData 6 : 0x80 0x1 0x0 0x0 0x4f 0x0
SData 6 : 0x80 0x1 0x0 0x0 0x4f 0x0
SData 6 : 0x80 0x1 0x0 0x0 0x4f 0x0
SData 6 : 0x80 0x1 0x0 0x0 0x4f 0x0
SData 6 : 0x80 0x1 0x0 0x0 0x4f 0x0
SData 6 : 0x80 0x1 0x0 0x0 0x4f 0x0
SData 6 : 0x80 0x1 0x0 0x0 0x4f 0x0
Mini SSC II mode Jumper on
- Reset board by disconnecting and reconnecting to USB
- USB light is on
All leds on bottom of board flash in sequence and then only yellow is lit - Run python script
Serial Activity led flickers once
Red led starts flashing about 1hz
The Other green led never comes on. In the manual it says that in ssc mode this led is always on?
Output:
Opening Serial Port 3 on real port COM4
Serial<id=0x15a2410, open=True>(port=‘COM4’, baudrate=9600, bytesize=8, parity=‘N’, stopbits=1, timeout=None, xonxoff=0, rtscts=0, dsrdtr=0)
SData 3 : 0xff 0x0 0x20
SData 3 : 0xff 0x0 0x20
SData 3 : 0xff 0x0 0x20
SData 3 : 0xff 0x0 0x20
SData 3 : 0xff 0x0 0x20
SData 3 : 0xff 0x0 0x20
SData 3 : 0xff 0x0 0x20
SData 3 : 0xff 0x0 0x20
SData 3 : 0xff 0x0 0x20
SData 3 : 0xff 0x0 0x20