Image-stitching and virtual tour solutions My account Updates
It is currently Fri Oct 31, 2014 5:59 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 27 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: Fri Apr 26, 2013 7:05 pm 
Offline
Member

Joined: Tue Apr 19, 2011 7:46 pm
Posts: 85
Location: Polska
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:
"# 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:
"# Driver params
SERIAL_PORT = COM7
SERIAL_BAUDRATE = 9600"

Code:
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:
"# Driver params
SERIAL_PORT = 7
SERIAL_BAUDRATE = 9600"

Code:
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?



_________________
Panoramy sferyczne, wirtualne spacery, zdjęcia trójwymiarowe.


Last edited by Mateusz Malinowski on Fri Apr 26, 2013 7:05 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 26, 2013 10:09 pm 
Offline
Member
User avatar

Joined: Wed Dec 07, 2005 6:21 pm
Posts: 5826
Location: Grenoble, France
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!

_________________
Frédéric

Canon 20D + 17-40/f4 L USM + 70-200/f4 L USM + 50/f1.4 USM
Merlin/Orion panohead + Papywizard on Nokia N800 and HP TC-1100


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 27 posts ]  Go to page Previous  1, 2

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group