Page 2 of 2

PostPosted: Fri Apr 26, 2013 7:05 pm
by Mateusz Malinowski
Ok, it look like I get connection (in python)

But at first I follow this instruction http://pythonfun.wordpress.com/2012/04/04/installing-pyserial-on-windows-7-with-python3-2/ (on python v2.7.4 so accordind to step 2. replace "C:\Python32" on "C:\Python27" (where ptyhon is installed). Step 4 - "python setup.py install" - it should be full path (in my example "python C:\Python27\Lib\site-packages\setup.py install"

Frederic - accordind to code
Code: Select all
"# Driver params
SERIAL_PORT = "/dev/ttyS0"  <<<<<<<<<<<<<< change your Merlin serial port here
SERIAL_BAUDRATE = 9600"

as I attached last screenshot - papymerlin serial is COM7, so type COM7
Code: Select all
"# Driver params
SERIAL_PORT = COM7
SERIAL_BAUDRATE = 9600"

Code: Select all
Traceback (most recent call last):
  File "C:\Users\MT\Desktop\s.py", line 22, in <module>
    SERIAL_PORT = COM7
NameError: name 'COM7' is not defined

then type 7
Code: Select all
"# Driver params
SERIAL_PORT = 7
SERIAL_BAUDRATE = 9600"

Code: Select all
Traceback (most recent call last):
  File "C:\Users\MT\Desktop\s.py", line 498, in <module>
    main()
  File "C:\Users\MT\Desktop\s.py", line 482, in main
    driver.init()
  File "C:\Users\MT\Desktop\s.py", line 97, in init
    self._serial = serial.Serial(port=SERIAL_PORT, baudrate=SERIAL_BAUDRATE, timeout=3)
  File "C:\Python27\serial\serialwin32.py", line 31, in __init__
    SerialBase.__init__(self, *args, **kwargs)
  File "C:\Python27\serial\serialutil.py", line 261, in __init__
    self.open()
  File "C:\Python27\serial\serialwin32.py", line 59, in open
    raise SerialException("could not open port %s: %s" % (self.portstr, ctypes.WinError()))
SerialException: could not open port COM8: [Error 5] Odmowa dostępu.

and then 6 (look at last line of trackback - "COM8") - connected, continous light led on papymerlin.

What is next step to connect in stellarium, how to align head to the stars without handcontroller?

PostPosted: Fri Apr 26, 2013 10:09 pm
by fma38
Mateusz Malinowski wrote:What is next step to connect in stellarium, how to align head to the stars without handcontroller?

Sorry, I really don't know!