Papywizard-Panoduino can't read position and failed shoot session  

Everything you need to motorize your head
User avatar
fma38
Moderator
 
Posts: 5850
Likes: 2 posts
Liked in: 2 posts
Joined: Wed Dec 07, 2005 6:21 pm
Location: Grenoble, France
Info

by fma38 » Fri Dec 16, 2011 12:40 pm

Papywizard pairing using bluetooth module uses pybluez on both N810 and Windows. This is normal you get the same problem.

About the Bluesmirf module, I have to problem at all.

I will have a look at the links...
Frédéric

User avatar
fma38
Moderator
 
Posts: 5850
Likes: 2 posts
Liked in: 2 posts
Joined: Wed Dec 07, 2005 6:21 pm
Location: Grenoble, France
Info

by fma38 » Fri Dec 16, 2011 12:53 pm

I had a look at the links. They have the problem in the other way! The DFRobot bnluetooth module can't send datas to the Arduino, because of a too high resistor. But here, the Pololu module always receives commands, as the jog function (key pressed) works in all cases.

But it could be a similar issue, in the other direction. What you can try is to add a pullup resistor on the TX pin of the Pololu module. Say 4.7kOhm between TX and Vcc...
Frédéric

no avatar
thelight
Member
 
Topic author
Posts: 21
Likes: 0 post
Liked in: 0 post
Joined: Fri Dec 09, 2011 4:20 am
Info

by thelight » Fri Dec 16, 2011 4:20 pm

I just implement what you suggest to me..add a pullup resistor on the TX pin of the Pololu module (add 4.7K Ohm between TX and Vcc)..but the result is : when i pressed shoot button (rocket icon), shooting dialog can not be opened and freeze..and Papywizard become hang (both in PC and N810)...

Somehow..perhaps a DFrobot BT is really incompatible ...this product may only support serial driver..not bluetooth driver
I hope that other people do not choose these products for their Papypololu project :) and maybe in the future, this forum can make a special topic that contains compatible list of BT Module...

hopefully with a Bluegiga WT11 bluetooth module will give better results .. I'll report the results later...

Frédéric, thank you very much for your help :D
Last edited by thelight on Fri Dec 16, 2011 4:38 pm, edited 1 time in total.

User avatar
fma38
Moderator
 
Posts: 5850
Likes: 2 posts
Liked in: 2 posts
Joined: Wed Dec 07, 2005 6:21 pm
Location: Grenoble, France
Info

by fma38 » Mon Dec 19, 2011 9:14 am

I don't understand why the pullup resistor hangs Papywizard!!!
Frédéric

no avatar
thelight
Member
 
Topic author
Posts: 21
Likes: 0 post
Liked in: 0 post
Joined: Fri Dec 09, 2011 4:20 am
Info

by thelight » Mon Dec 19, 2011 8:53 pm

I'm sorry...I make a correction...:(

When I buy a resistor at electronic components shop, the seller misread my notes..he does not notice the letter "K"...instead of 4.7 Kohm (yellow, purple, red), but give the 4.7 ohm (yellow, purple, gold) (I was lucky because that mistake was not damaging pololu or BT module) After trying a new resistor (add 4.7 Kohm between Pololu Tx and Vcc).....unfortunately the results are still disappointing ... PW does not hang as before but PW still generate strange servo position (pitch/yaw) and then shoot sequence is failed...

here the trace log (PW on PC Panoduino : bluetooth driver)
Code: Select all
2011-12-20 02:21:54,108::Main::INFO::Starting Papywizard...
2011-12-20 02:21:54,108::Main::DEBUG::main(): platform=win32
2011-12-20 02:21:54,155::Main::INFO::Importing modules...
2011-12-20 02:21:54,342::Main::INFO::Loading i18n files...
2011-12-20 02:21:54,358::Main::DEBUG::main(): locale=en_US
2011-12-20 02:21:54,358::Main::WARNING::Can't find qt translation file
2011-12-20 02:21:54,358::Main::INFO::Loading Style Sheets...
2011-12-20 02:21:54,358::Main::WARNING::No user Style Sheet found
2011-12-20 02:21:54,358::Main::INFO::Loading configuration...
2011-12-20 02:21:54,375::Main::DEBUG::ConfigManager.__init__(): versions: dist=['2', '1', '21'], user=[u'2', u'1', u'21']
2011-12-20 02:21:54,375::Main::DEBUG::ConfigManager.__init__(): user config. is up-to-date
2011-12-20 02:21:54,375::Main::INFO::Load plugins...
2011-12-20 02:21:54,390::Main::DEBUG::DslrRemoteProShutter._defineConfig()
2011-12-20 02:21:54,390::Main::TRACE::AbstractPlugin._loadConfig()
2011-12-20 02:21:54,390::Main::DEBUG::AbstractPlugin._loadConfig(): config={'USER_EXPOSURE_COMPENSATION_LIST': '-2, 0, +2', 'DRY_RUN': False, 'MIRROR_LOCKUP': False, 'FILENAME_PREFIX': '', 'CAMERA_EXPOSURE_COMPENSATION_LIST': u'\xb12@1/3', 'OUTPUT_DIR': 'C:\\Documents and Settings\\vasciola', 'PROGRAM_PATH': 'C:\\Program Files\\BreezeSys\\DSLR Remote Pro\\DSLRRemoteTest\\DSLRRemoteTest.exe'}
2011-12-20 02:21:54,390::Main::DEBUG::PluginsManager.register(): added 'DSLR Remote Pro' plugin with capacity 'shutter'
2011-12-20 02:21:54,390::Main::TRACE::EOSUtilityShutter._defineConfig()
2011-12-20 02:21:54,390::Main::TRACE::AbstractPlugin._loadConfig()
2011-12-20 02:21:54,390::Main::DEBUG::AbstractPlugin._loadConfig(): config={'FOCUS_DIRECTION': u'far', 'BRACKETING_TYPE': '0-+', 'BULB_ENABLE': False, 'DRY_RUN': True, 'BULB_BASE_EXPOSURE': 1, 'FOCUS_NB_PICTS': 1, 'BRACKETING_NB_PICTS': 1, 'FOCUS_STEP_COUNT': 1, 'FOCUS_ENABLE': False, 'EOS_UTILITY_VERSION': u'new', 'PROGRAM_PATH': 'C:\\Program Files\\Papywizard\\EOSBracket.exe', 'BRACKETING_STEP': '1', 'FOCUS_STEP': u'medium'}
2011-12-20 02:21:54,390::Main::DEBUG::PluginsManager.register(): added 'EOS Utility' plugin with capacity 'shutter'
2011-12-20 02:21:54,390::Main::TRACE::GenericTetheredShutter._defineConfig()
2011-12-20 02:21:54,390::Main::TRACE::AbstractPlugin._loadConfig()
2011-12-20 02:21:54,390::Main::DEBUG::AbstractPlugin._loadConfig(): config={'MIRROR_LOCKUP_COMMAND': 'gphoto2 --capture-image', 'MIRROR_LOCKUP': False, 'PARAM_4': '', 'PARAM_1': '', 'PARAM_0': '', 'SHOOT_COMMAND': 'gphoto2 --capture-image', 'PARAM_2': '', 'TIME_VALUE': 0.10000000000000001, 'PARAM_3': ''}
2011-12-20 02:21:54,390::Main::DEBUG::PluginsManager.register(): added 'Generic Tethered' plugin with capacity 'shutter'
2011-12-20 02:21:54,405::Main::TRACE::GigaPanBotAxis._init()
2011-12-20 02:21:54,405::Main::TRACE::AbstractHardwarePlugin._defineConfig()
2011-12-20 02:21:54,405::Main::TRACE::AbstractPlugin._loadConfig()
2011-12-20 02:21:54,405::Main::DEBUG::AbstractPlugin._loadConfig(): config={'HIGH_LIMIT': 360.0, 'DRIVER_TYPE': 'bluetooth', 'LOW_LIMIT': -360.0}
2011-12-20 02:21:54,405::Main::DEBUG::PluginsManager.register(): added 'GigaPanBot' plugin with capacity 'yawAxis'
2011-12-20 02:21:54,405::Main::TRACE::GigaPanBotAxis._init()
2011-12-20 02:21:54,405::Main::TRACE::AbstractHardwarePlugin._defineConfig()
2011-12-20 02:21:54,405::Main::TRACE::AbstractPlugin._loadConfig()
2011-12-20 02:21:54,405::Main::DEBUG::AbstractPlugin._loadConfig(): config={'HIGH_LIMIT': 360.0, 'DRIVER_TYPE': 'bluetooth', 'LOW_LIMIT': -360.0}
2011-12-20 02:21:54,405::Main::DEBUG::PluginsManager.register(): added 'GigaPanBot' plugin with capacity 'pitchAxis'
2011-12-20 02:21:54,405::Main::TRACE::GigaPanBotShutter._init()
2011-12-20 02:21:54,405::Main::TRACE::ShutterPlugin._init()
2011-12-20 02:21:54,405::Main::TRACE::AbstractHardwarePlugin._defineConfig()
2011-12-20 02:21:54,405::Main::TRACE::ShutterPlugin._defineConfig()
2011-12-20 02:21:54,405::Main::TRACE::AbstractPlugin._loadConfig()
2011-12-20 02:21:54,405::Main::DEBUG::AbstractPlugin._loadConfig(): config={'DRIVER_TYPE': 'bluetooth', 'PULSE_WIDTH_LOW': 250, 'BULB_ENABLE': False, 'MIRROR_LOCKUP': False, 'BRACKETING_NB_PICTS': 1, 'TIME_VALUE': 0.5, 'PULSE_WIDTH_HIGH': 250, 'TRIGGER_ONLY_ONCE': False}
2011-12-20 02:21:54,405::Main::DEBUG::PluginsManager.register(): added 'GigaPanBot' plugin with capacity 'shutter'
2011-12-20 02:21:54,405::Main::TRACE::GphotoBracketShutter._defineConfig()
2011-12-20 02:21:54,405::Main::TRACE::AbstractPlugin._loadConfig()
2011-12-20 02:21:54,405::Main::DEBUG::AbstractPlugin._loadConfig(): config={'BRACKETING_EV_STEP': 1, 'BRACKETING_EV_LIST': '0', 'BRACKETING_PLUS_STEP': 1, 'MIRROR_LOCKUP_COMMAND': 'gphoto2 --capture-image', 'MIRROR_LOCKUP': False, 'DOWNLOAD_DIR': 'C:\\Documents and Settings\\vasciola', 'BRACKETING_MINUS_STEP': 1, 'DOWNLOAD_ENABLE': False, 'BRACKETING_NB_PICTS': 1, 'BRACKETING_MINUS_NB_PICTS': 0, 'BRACKETING_EV_BIAS': 0, 'BRACKETING_ADVANCED': False, 'BRACKETING_PLUS_NB_PICTS': 0, 'DOWNLOAD_THEN_DELETE': False, 'PROGRAM_PATH': 'gphoto2', 'DOWNLOAD_AFTER': u'Each shot'}
2011-12-20 02:21:54,405::Main::DEBUG::PluginsManager.register(): added 'Gphoto Bracket' plugin with capacity 'shutter'
2011-12-20 02:21:54,421::Main::TRACE::MerlinOrionAxis._init()
2011-12-20 02:21:54,421::Main::TRACE::AbstractHardwarePlugin._defineConfig()
2011-12-20 02:21:54,421::Main::TRACE::AbstractPlugin._loadConfig()
2011-12-20 02:21:54,421::Main::DEBUG::AbstractPlugin._loadConfig(): config={'HIGH_LIMIT': 360.0, 'ALTERNATE_DRIVE_ANGLE': 7.0, 'INERTIA_ANGLE': 1.0, 'DRIVER_TYPE': 'bluetooth', 'LOW_LIMIT': -360.0, 'ALTERNATE_DRIVE': True}
2011-12-20 02:21:54,421::Main::TRACE::MerlinOrionAxis._init()
2011-12-20 02:21:54,421::Main::TRACE::AbstractHardwarePlugin._defineConfig()
2011-12-20 02:21:54,421::Main::TRACE::AbstractPlugin._loadConfig()
2011-12-20 02:21:54,421::Main::DEBUG::AbstractPlugin._loadConfig(): config={'HIGH_LIMIT': 360.0, 'ALTERNATE_DRIVE_ANGLE': 7.0, 'INERTIA_ANGLE': 1.0, 'DRIVER_TYPE': 'bluetooth', 'LOW_LIMIT': -360.0, 'ALTERNATE_DRIVE': True}
2011-12-20 02:21:54,421::Main::DEBUG::PluginsManager.register(): added 'Merlin-Orion' plugin with capacity 'yawAxis'
2011-12-20 02:21:54,421::Main::TRACE::MerlinOrionAxis._init()
2011-12-20 02:21:54,421::Main::TRACE::AbstractHardwarePlugin._defineConfig()
2011-12-20 02:21:54,421::Main::TRACE::AbstractPlugin._loadConfig()
2011-12-20 02:21:54,421::Main::DEBUG::AbstractPlugin._loadConfig(): config={'HIGH_LIMIT': 360.0, 'ALTERNATE_DRIVE_ANGLE': 7.0, 'INERTIA_ANGLE': 1.0, 'DRIVER_TYPE': 'bluetooth', 'LOW_LIMIT': -360.0, 'ALTERNATE_DRIVE': True}
2011-12-20 02:21:54,421::Main::TRACE::MerlinOrionAxis._init()
2011-12-20 02:21:54,421::Main::TRACE::AbstractHardwarePlugin._defineConfig()
2011-12-20 02:21:54,421::Main::TRACE::AbstractPlugin._loadConfig()
2011-12-20 02:21:54,421::Main::DEBUG::AbstractPlugin._loadConfig(): config={'HIGH_LIMIT': 360.0, 'ALTERNATE_DRIVE_ANGLE': 7.0, 'INERTIA_ANGLE': 1.0, 'DRIVER_TYPE': 'bluetooth', 'LOW_LIMIT': -360.0, 'ALTERNATE_DRIVE': True}
2011-12-20 02:21:54,421::Main::DEBUG::PluginsManager.register(): added 'Merlin-Orion' plugin with capacity 'pitchAxis'
2011-12-20 02:21:54,421::Main::TRACE::MerlinOrionShutter._init()
2011-12-20 02:21:54,421::Main::TRACE::ShutterPlugin._init()
2011-12-20 02:21:54,421::Main::TRACE::AbstractHardwarePlugin._defineConfig()
2011-12-20 02:21:54,421::Main::TRACE::ShutterPlugin._defineConfig()
2011-12-20 02:21:54,421::Main::TRACE::AbstractPlugin._loadConfig()
2011-12-20 02:21:54,421::Main::DEBUG::AbstractPlugin._loadConfig(): config={'DRIVER_TYPE': 'bluetooth', 'PULSE_WIDTH_LOW': 250, 'BULB_ENABLE': False, 'MIRROR_LOCKUP': False, 'BRACKETING_NB_PICTS': 1, 'TIME_VALUE': 0.5, 'PULSE_WIDTH_HIGH': 250, 'TRIGGER_ONLY_ONCE': False}
2011-12-20 02:21:54,421::Main::TRACE::MerlinOrionShutter._init()
2011-12-20 02:21:54,421::Main::TRACE::ShutterPlugin._init()
2011-12-20 02:21:54,421::Main::TRACE::AbstractHardwarePlugin._defineConfig()
2011-12-20 02:21:54,421::Main::TRACE::ShutterPlugin._defineConfig()
2011-12-20 02:21:54,421::Main::TRACE::AbstractPlugin._loadConfig()
2011-12-20 02:21:54,421::Main::DEBUG::AbstractPlugin._loadConfig(): config={'DRIVER_TYPE': 'bluetooth', 'PULSE_WIDTH_LOW': 250, 'BULB_ENABLE': False, 'MIRROR_LOCKUP': False, 'BRACKETING_NB_PICTS': 1, 'TIME_VALUE': 0.5, 'PULSE_WIDTH_HIGH': 250, 'TRIGGER_ONLY_ONCE': False}
2011-12-20 02:21:54,421::Main::DEBUG::PluginsManager.register(): added 'Merlin-Orion' plugin with capacity 'shutter'
2011-12-20 02:21:54,421::Main::DEBUG::NkRemoteShutter._defineConfig()
2011-12-20 02:21:54,421::Main::TRACE::AbstractPlugin._loadConfig()
2011-12-20 02:21:54,421::Main::DEBUG::AbstractPlugin._loadConfig(): config={'USER_EXPOSURE_COMPENSATION_LIST': '-2, 0, +2', 'DRY_RUN': False, 'MIRROR_LOCKUP': False, 'FILENAME_PREFIX': '', 'CAMERA_EXPOSURE_COMPENSATION_LIST': u'\xb15@1/2', 'OUTPUT_DIR': 'C:\\Documents and Settings\\vasciola', 'PROGRAM_PATH': 'C:\\Program Files\\BreezeSys\\NKRemote\\NKRemoteLibTest.exe'}
2011-12-20 02:21:54,421::Main::DEBUG::PluginsManager.register(): added 'NK Remote' plugin with capacity 'shutter'
2011-12-20 02:21:54,437::Main::TRACE::PanoduinoAxis._init()
2011-12-20 02:21:54,437::Main::TRACE::AbstractHardwarePlugin._defineConfig()
2011-12-20 02:21:54,437::Main::TRACE::AbstractPlugin._loadConfig()
2011-12-20 02:21:54,437::Main::DEBUG::AbstractPlugin._loadConfig(): config={'NEUTRAL_POSITION': 1000, 'HIGH_LIMIT': 360.0, 'DIRECTION': u'forward', 'ANGLE_1MS': 315.0, 'ACCEL': 1, 'LOW_LIMIT': -360.0, 'DRIVER_TYPE': u'bluetooth', 'ADDITIONAL_DELAY': 0.5, 'SPEED': 5, 'CHANNEL': 0}
2011-12-20 02:21:54,437::Main::DEBUG::PluginsManager.register(): added 'Panoduino' plugin with capacity 'yawAxis'
2011-12-20 02:21:54,437::Main::TRACE::PanoduinoAxis._init()
2011-12-20 02:21:54,437::Main::TRACE::AbstractHardwarePlugin._defineConfig()
2011-12-20 02:21:54,437::Main::TRACE::AbstractPlugin._loadConfig()
2011-12-20 02:21:54,437::Main::DEBUG::AbstractPlugin._loadConfig(): config={'NEUTRAL_POSITION': 1500, 'HIGH_LIMIT': 360.0, 'DIRECTION': u'reverse', 'ANGLE_1MS': 330.0, 'ACCEL': 1, 'LOW_LIMIT': -360.0, 'DRIVER_TYPE': u'bluetooth', 'ADDITIONAL_DELAY': 0.5, 'SPEED': 5, 'CHANNEL': 1}
2011-12-20 02:21:54,437::Main::DEBUG::PluginsManager.register(): added 'Panoduino' plugin with capacity 'pitchAxis'
2011-12-20 02:21:54,437::Main::TRACE::PanoduinoShutter._init()
2011-12-20 02:21:54,437::Main::TRACE::ShutterPlugin._init()
2011-12-20 02:21:54,437::Main::TRACE::AbstractHardwarePlugin._defineConfig()
2011-12-20 02:21:54,437::Main::TRACE::ShutterPlugin._defineConfig()
2011-12-20 02:21:54,437::Main::TRACE::AbstractPlugin._loadConfig()
2011-12-20 02:21:54,437::Main::DEBUG::AbstractPlugin._loadConfig(): config={'DRIVER_TYPE': u'bluetooth', 'PULSE_WIDTH_LOW': 250, 'BULB_ENABLE': False, 'MIRROR_LOCKUP': False, 'SHUTTER_ON': 2000, 'SHUTTER_OFF': 1000, 'BRACKETING_NB_PICTS': 1, 'TIME_VALUE': 0.5, 'CHANNEL': 2, 'PULSE_WIDTH_HIGH': 250, 'TRIGGER_ONLY_ONCE': False}
2011-12-20 02:21:54,437::Main::DEBUG::PluginsManager.register(): added 'Panoduino' plugin with capacity 'shutter'
2011-12-20 02:21:54,437::Main::TRACE::PixOrbAxis._init()
2011-12-20 02:21:54,437::Main::TRACE::AbstractHardwarePlugin._defineConfig()
2011-12-20 02:21:54,437::Main::TRACE::AbstractPlugin._loadConfig()
2011-12-20 02:21:54,437::Main::DEBUG::AbstractPlugin._loadConfig(): config={'AXIS_ACCURACY': 0.10000000000000001, 'HIGH_LIMIT': 360.0, 'DRIVER_TYPE': 'bluetooth', 'LOW_LIMIT': -360.0, 'SPEED_INDEX': 9, 'AXIS_WITH_BREAK': False}
2011-12-20 02:21:54,437::Main::DEBUG::PluginsManager.register(): added 'PixOrb' plugin with capacity 'yawAxis'
2011-12-20 02:21:54,437::Main::TRACE::PixOrbAxis._init()
2011-12-20 02:21:54,437::Main::TRACE::AbstractHardwarePlugin._defineConfig()
2011-12-20 02:21:54,437::Main::TRACE::AbstractPlugin._loadConfig()
2011-12-20 02:21:54,453::Main::DEBUG::AbstractPlugin._loadConfig(): config={'AXIS_ACCURACY': 0.10000000000000001, 'HIGH_LIMIT': 360.0, 'DRIVER_TYPE': 'bluetooth', 'LOW_LIMIT': -360.0, 'SPEED_INDEX': 9, 'AXIS_WITH_BREAK': False}
2011-12-20 02:21:54,453::Main::DEBUG::PluginsManager.register(): added 'PixOrb' plugin with capacity 'pitchAxis'
2011-12-20 02:21:54,453::Main::TRACE::PixOrbShutter._init()
2011-12-20 02:21:54,453::Main::TRACE::ShutterPlugin._init()
2011-12-20 02:21:54,453::Main::TRACE::AbstractHardwarePlugin._defineConfig()
2011-12-20 02:21:54,453::Main::TRACE::ShutterPlugin._defineConfig()
2011-12-20 02:21:54,453::Main::TRACE::AbstractPlugin._loadConfig()
2011-12-20 02:21:54,453::Main::DEBUG::AbstractPlugin._loadConfig(): config={'DRIVER_TYPE': 'bluetooth', 'PULSE_WIDTH_LOW': 250, 'BULB_ENABLE': False, 'MIRROR_LOCKUP': False, 'BRACKETING_NB_PICTS': 1, 'TIME_VALUE': 0.5, 'PULSE_WIDTH_HIGH': 250, 'TRIGGER_ONLY_ONCE': False}
2011-12-20 02:21:54,453::Main::DEBUG::PluginsManager.register(): added 'PixOrb' plugin with capacity 'shutter'
2011-12-20 02:21:54,453::Main::TRACE::AbstractPlugin._loadConfig()
2011-12-20 02:21:54,453::Main::DEBUG::AbstractPlugin._loadConfig(): config={'HIGH_LIMIT': 360.0, 'SPEED': 30, 'LOW_LIMIT': -360.0}
2011-12-20 02:21:54,453::Main::DEBUG::PluginsManager.register(): added 'Simulation' plugin with capacity 'yawAxis'
2011-12-20 02:21:54,453::Main::TRACE::AbstractPlugin._loadConfig()
2011-12-20 02:21:54,453::Main::DEBUG::AbstractPlugin._loadConfig(): config={'HIGH_LIMIT': 360.0, 'SPEED': 30, 'LOW_LIMIT': -360.0}
2011-12-20 02:21:54,453::Main::DEBUG::PluginsManager.register(): added 'Simulation' plugin with capacity 'pitchAxis'
2011-12-20 02:21:54,453::Main::TRACE::AbstractShutterPlugin._defineConfig()
2011-12-20 02:21:54,453::Main::TRACE::AbstractPlugin._loadConfig()
2011-12-20 02:21:54,453::Main::DEBUG::AbstractPlugin._loadConfig(): config={'TIME_VALUE': 0.5, 'TRIGGER_ONLY_ONCE': False, 'BRACKETING_NB_PICTS': 1, 'MIRROR_LOCKUP': False}
2011-12-20 02:21:54,453::Main::DEBUG::PluginsManager.register(): added 'Simulation' plugin with capacity 'shutter'
2011-12-20 02:21:54,453::Main::TRACE::TimelordShutter._defineConfig()
2011-12-20 02:21:54,453::Main::TRACE::AbstractPlugin._loadConfig()
2011-12-20 02:21:54,453::Main::DEBUG::AbstractPlugin._loadConfig(): config={'PROGRAM_PATH': 'C:\\Program Files\\OxfordEye\\Timelord\\Timelord.exe', 'LRD_FILE': 'C:\\Documents and Settings\\win2k\\My Documents\\timelord.lrd'}
2011-12-20 02:21:54,453::Main::DEBUG::PluginsManager.register(): added 'Timelord' plugin with capacity 'shutter'
2011-12-20 02:21:54,453::Main::TRACE::UrsaMinorBt2Shutter._init()
2011-12-20 02:21:54,453::Main::TRACE::ShutterPlugin._init()
2011-12-20 02:21:54,453::Main::TRACE::UrsaMinorBt2Shutter._defineConfig()
2011-12-20 02:21:54,453::Main::TRACE::AbstractHardwarePlugin._defineConfig()
2011-12-20 02:21:54,467::Main::TRACE::ShutterPlugin._defineConfig()
2011-12-20 02:21:54,467::Main::TRACE::AbstractPlugin._loadConfig()
2011-12-20 02:21:54,467::Main::DEBUG::AbstractPlugin._loadConfig(): config={'DRIVER_TYPE': 'bluetooth', 'PULSE_WIDTH_LOW': 250, 'BULB_ENABLE': False, 'MIRROR_LOCKUP': False, 'FOCUS_PULSE_WIDTH': 0.5, 'FOCUS_MAINTAIN': False, 'BRACKETING_NB_PICTS': 1, 'TIME_VALUE': 0.5, 'FOCUS_ENABLE': False, 'PULSE_WIDTH_HIGH': 250, 'TRIGGER_ONLY_ONCE': False}
2011-12-20 02:21:54,467::Main::TRACE::UrsaMinorBt2Shutter._init()
2011-12-20 02:21:54,467::Main::TRACE::ShutterPlugin._init()
2011-12-20 02:21:54,467::Main::TRACE::UrsaMinorBt2Shutter._defineConfig()
2011-12-20 02:21:54,467::Main::TRACE::AbstractHardwarePlugin._defineConfig()
2011-12-20 02:21:54,467::Main::TRACE::ShutterPlugin._defineConfig()
2011-12-20 02:21:54,467::Main::TRACE::AbstractPlugin._loadConfig()
2011-12-20 02:21:54,467::Main::DEBUG::AbstractPlugin._loadConfig(): config={'DRIVER_TYPE': 'bluetooth', 'PULSE_WIDTH_LOW': 250, 'BULB_ENABLE': False, 'MIRROR_LOCKUP': False, 'FOCUS_PULSE_WIDTH': 0.5, 'FOCUS_MAINTAIN': False, 'BRACKETING_NB_PICTS': 1, 'TIME_VALUE': 0.5, 'FOCUS_ENABLE': False, 'PULSE_WIDTH_HIGH': 250, 'TRIGGER_ONLY_ONCE': False}
2011-12-20 02:21:54,467::Main::DEBUG::PluginsManager.register(): added 'Ursa Minor BT2' plugin with capacity 'shutter'
2011-12-20 02:21:54,467::Main::TRACE::UrsaMinorUsbShutter._init()
2011-12-20 02:21:54,467::Main::TRACE::ShutterPlugin._init()
2011-12-20 02:21:54,467::Main::TRACE::UrsaMinorUsbShutter._defineConfig()
2011-12-20 02:21:54,467::Main::TRACE::AbstractHardwarePlugin._defineConfig()
2011-12-20 02:21:54,467::Main::TRACE::ShutterPlugin._defineConfig()
2011-12-20 02:21:54,467::Main::TRACE::AbstractPlugin._loadConfig()
2011-12-20 02:21:54,467::Main::DEBUG::AbstractPlugin._loadConfig(): config={'DRIVER_TYPE': 'bluetooth', 'PULSE_WIDTH_LOW': 250, 'BULB_ENABLE': False, 'MIRROR_LOCKUP': False, 'TRIGGER_LINE_INVERTED': False, 'BRACKETING_NB_PICTS': 1, 'TRIGGER_LINE': 'RTS', 'TIME_VALUE': 0.5, 'PULSE_WIDTH_HIGH': 250, 'TRIGGER_ONLY_ONCE': False}
2011-12-20 02:21:54,467::Main::DEBUG::PluginsManager.register(): added 'Ursa Minor USB' plugin with capacity 'shutter'
2011-12-20 02:21:54,467::Main::TRACE::ClaussAxis._init()
2011-12-20 02:21:54,483::Main::TRACE::AbstractHardwarePlugin._defineConfig()
2011-12-20 02:21:54,483::Main::TRACE::AbstractPlugin._loadConfig()
2011-12-20 02:21:54,483::Main::DEBUG::AbstractPlugin._loadConfig(): config={'HIGH_LIMIT': 360.0, 'PARK_POSITION': '0.', 'SPEED_FAST': 100, 'DRIVER_TYPE': 'bluetooth', 'LOW_LIMIT': -360.0, 'PARK_ENABLE': False, 'SPEED_NORMAL': 50, 'SPEED_SLOW': 10}
2011-12-20 02:21:54,483::Main::DEBUG::PluginsManager.register(): added 'Clauss' plugin with capacity 'yawAxis'
2011-12-20 02:21:54,483::Main::TRACE::ClaussAxis._init()
2011-12-20 02:21:54,483::Main::TRACE::AbstractHardwarePlugin._defineConfig()
2011-12-20 02:21:54,483::Main::TRACE::AbstractPlugin._loadConfig()
2011-12-20 02:21:54,483::Main::DEBUG::AbstractPlugin._loadConfig(): config={'HIGH_LIMIT': 360.0, 'PARK_POSITION': '0.', 'SPEED_FAST': 100, 'DRIVER_TYPE': 'bluetooth', 'LOW_LIMIT': -360.0, 'PARK_ENABLE': True, 'SPEED_NORMAL': 50, 'SPEED_SLOW': 10}
2011-12-20 02:21:54,483::Main::DEBUG::PluginsManager.register(): added 'Clauss' plugin with capacity 'pitchAxis'
2011-12-20 02:21:54,483::Main::TRACE::ClaussShutter._init()
2011-12-20 02:21:54,483::Main::TRACE::ShutterPlugin._init()
2011-12-20 02:21:54,483::Main::TRACE::AbstractHardwarePlugin._defineConfig()
2011-12-20 02:21:54,483::Main::TRACE::ShutterPlugin._defineConfig()
2011-12-20 02:21:54,483::Main::TRACE::AbstractPlugin._loadConfig()
2011-12-20 02:21:54,483::Main::DEBUG::AbstractPlugin._loadConfig(): config={'DRIVER_TYPE': 'bluetooth', 'PULSE_WIDTH_LOW': 250, 'BULB_ENABLE': False, 'MIRROR_LOCKUP': False, 'FOCUS_TIME': 1.5, 'BRACKETING_NB_PICTS': 1, 'DUAL_TIME': 2.0, 'TIME_VALUE': 0.5, 'FOCUS_ENABLE': False, 'DUAL_ENABLE': False, 'PULSE_WIDTH_HIGH': 250, 'TRIGGER_ONLY_ONCE': False}
2011-12-20 02:21:54,483::Main::DEBUG::PluginsManager.register(): added 'Clauss' plugin with capacity 'shutter'
2011-12-20 02:21:54,483::Main::INFO::Loading user plugins...
2011-12-20 02:21:54,483::Main::DEBUG::PluginsManager.register(): parsing 'C:\Documents and Settings\vasciola\Application Data\papywizard2\plugins' dir...
2011-12-20 02:21:54,483::Main::INFO::Activate plugins...
2011-12-20 02:21:54,483::Main::INFO::Creating model...
2011-12-20 02:21:54,483::Main::INFO::Loading default presets
2011-12-20 02:21:54,515::Main::DEBUG::Preset.__init__(): loading name='4@0 + Z + N'
2011-12-20 02:21:54,515::Main::DEBUG::Preset.__init__(): loading name='3@-15 + Z'
2011-12-20 02:21:54,515::Main::DEBUG::Preset.__init__(): loading name='6@30 + 6@-15 + N'
2011-12-20 02:21:54,515::Main::DEBUG::Preset.__init__(): loading name='4@30 + 4@-30'
2011-12-20 02:21:54,515::Main::DEBUG::Preset.__init__(): loading name='6@30 + 6@-30'
2011-12-20 02:21:54,515::Main::DEBUG::Preset.__init__(): loading name='6@0 + Z + N'
2011-12-20 02:21:54,515::Main::DEBUG::Preset.__init__(): loading name='6@-10 + 1@+60'
2011-12-20 02:21:54,515::Main::DEBUG::Preset.__init__(): loading name='3 + 6 + 12 + 6 + 3 (28mm)'
2011-12-20 02:21:54,515::Main::DEBUG::Preset.__init__(): loading name='4 + 12 + 12 + 12 + 8 (32mm)'
2011-12-20 02:21:54,530::Main::INFO::Loading user presets
2011-12-20 02:21:54,530::Main::WARNING::No user presets found
2011-12-20 02:21:54,530::Main::INFO::Starting Spy...
2011-12-20 02:21:54,530::Main::INFO::Creating GUI...
2011-12-20 02:21:54,562::Spy::INFO::Starting Spy...
2011-12-20 02:21:54,562::Spy::INFO::Spy suspended
2011-12-20 02:21:54,655::Main::WARNING::MainController.__getFullScreenFlag(): fix fullScreenFlag property!!!
2011-12-20 02:21:54,687::Main::TRACE::MainController.__onTabWidgetCurrentChanged()
2011-12-20 02:21:54,703::Main::DEBUG::MainController.__onTabWidgetCurrentChanged(): shooting mode set to 'preset'

2011-12-20 02:21:58,280::Main::DEBUG::MainController.__onActionHardwareConnectToggled(True)
2011-12-20 02:21:58,280::Main::INFO::Starting connection. Please wait...
2011-12-20 02:21:58,296::Main::DEBUG::PluginsConnector.start(): 'yawAxis' establish connection
2011-12-20 02:21:58,296::Main::TRACE::AbstractHardwarePlugin.establishConnection()
2011-12-20 02:21:58,296::Main::TRACE::AbstractDriver.establishConnection()
2011-12-20 02:21:58,296::Main::TRACE::BluetoothDriver._init()
2011-12-20 02:21:58,296::Main::DEBUG::BluetoothDriver._init(): trying to connect to 00:11:05:09:00:89...

2011-12-20 02:22:07,125::Main::DEBUG::BluetoothDriver._init(): successfully connected to 00:11:05:09:00:89
2011-12-20 02:22:07,125::Main::TRACE::AbstractPlugin.establishConnection()
2011-12-20 02:22:07,125::Main::DEBUG::PluginsConnector.start(): 'yawAxis' init
2011-12-20 02:22:07,125::Main::TRACE::PanoduinoAxis.init()
2011-12-20 02:22:07,125::Main::TRACE::AbstractHardwarePlugin.init()
2011-12-20 02:22:07,125::Main::DEBUG::PololuMicroMaestroHardware.reset()
Traceback (most recent call last):
  File "papywizard\hardware\pololuServoHardware.pyo", line 148, in reset
AttributeError: setRTS
2011-12-20 02:22:07,125::Main::TRACE::PanoduinoAxis.configure()
2011-12-20 02:22:07,125::Main::DEBUG::PololuMicroMaestroHardware.setTarget(): target=1000.00à‚µs (4000)
2011-12-20 02:22:07,125::Main::DEBUG::PluginsConnector.start(): 'pitchAxis' establish connection
2011-12-20 02:22:07,125::Main::TRACE::AbstractHardwarePlugin.establishConnection()
2011-12-20 02:22:07,125::Main::TRACE::AbstractDriver.establishConnection()
2011-12-20 02:22:07,125::Main::TRACE::AbstractPlugin.establishConnection()
2011-12-20 02:22:07,125::Main::DEBUG::PluginsConnector.start(): 'pitchAxis' init
2011-12-20 02:22:07,125::Main::TRACE::PanoduinoAxis.init()
2011-12-20 02:22:07,125::Main::TRACE::AbstractHardwarePlugin.init()
2011-12-20 02:22:07,125::Main::DEBUG::PololuMicroMaestroHardware.reset()
Traceback (most recent call last):
  File "papywizard\hardware\pololuServoHardware.pyo", line 148, in reset
AttributeError: setRTS
2011-12-20 02:22:07,125::Main::TRACE::PanoduinoAxis.configure()
2011-12-20 02:22:07,125::Main::DEBUG::PololuMicroMaestroHardware.setTarget(): target=1500.00à‚µs (6000)
2011-12-20 02:22:07,125::Main::DEBUG::PluginsConnector.start(): 'shutter' establish connection
2011-12-20 02:22:07,125::Main::TRACE::AbstractHardwarePlugin.establishConnection()
2011-12-20 02:22:07,125::Main::TRACE::AbstractDriver.establishConnection()
2011-12-20 02:22:07,125::Main::TRACE::AbstractPlugin.establishConnection()
2011-12-20 02:22:07,125::Main::DEBUG::PluginsConnector.start(): 'shutter' init
2011-12-20 02:22:07,125::Main::TRACE::PanoduinoShutter.init()
2011-12-20 02:22:07,125::Main::TRACE::AbstractHardwarePlugin.init()
2011-12-20 02:22:07,125::Main::DEBUG::PololuMicroMaestroHardware.reset()
Traceback (most recent call last):
  File "papywizard\hardware\pololuServoHardware.pyo", line 148, in reset
AttributeError: setRTS
2011-12-20 02:22:07,125::Main::INFO::Connection started
2011-12-20 02:22:07,171::Spy::INFO::Spy resumed
2011-12-20 02:22:07,217::Spy::EXCEPTION::Spy.refresh(): can't read position
Traceback (most recent call last):
  File "papywizard\controller\spy.pyo", line 131, in refresh
  File "papywizard\model\head.pyo", line 154, in readPosition
  File "papywizard\plugins\panoduinoPlugins.pyo", line 209, in read
  File "papywizard\hardware\pololuServoHardware.pyo", line 217, in getPosition
  File "struct.pyo", line 87, in unpack
error: unpack requires a string argument of length 2
2011-12-20 02:22:07,421::Spy::EXCEPTION::Spy.refresh(): can't read position
Traceback (most recent call last):
  File "papywizard\controller\spy.pyo", line 131, in refresh
  File "papywizard\model\head.pyo", line 154, in readPosition
  File "papywizard\plugins\panoduinoPlugins.pyo", line 209, in read
  File "papywizard\hardware\pololuServoHardware.pyo", line 217, in getPosition
  File "struct.pyo", line 87, in unpack
error: unpack requires a string argument of length 2
2011-12-20 02:22:07,655::Spy::EXCEPTION::Spy.refresh(): can't read position
Traceback (most recent call last):
  File "papywizard\controller\spy.pyo", line 131, in refresh
  File "papywizard\model\head.pyo", line 155, in readPosition
  File "papywizard\plugins\panoduinoPlugins.pyo", line 209, in read
  File "papywizard\hardware\pololuServoHardware.pyo", line 217, in getPosition
  File "struct.pyo", line 87, in unpack
error: unpack requires a string argument of length 2
2011-12-20 02:22:07,858::Spy::EXCEPTION::Spy.refresh(): can't read position
Traceback (most recent call last):
  File "papywizard\controller\spy.pyo", line 131, in refresh
  File "papywizard\model\head.pyo", line 155, in readPosition
  File "papywizard\plugins\panoduinoPlugins.pyo", line 209, in read
  File "papywizard\hardware\pololuServoHardware.pyo", line 217, in getPosition
  File "struct.pyo", line 87, in unpack
error: unpack requires a string argument of length 2

2011-12-20 02:22:11,280::Main::TRACE::MainController.__onShootPushButtonClicked()
2011-12-20 02:22:11,280::Main::DEBUG::PresetScan.generatePositions(): preset=<Preset name=4 + 12 + 12 + 12 + 8 (32mm)>
2011-12-20 02:22:12,733::Main::TRACE::MainController.__onShootPushButtonClicked()
2011-12-20 02:22:12,750::Main::DEBUG::PresetScan.generatePositions(): preset=<Preset name=4 + 12 + 12 + 12 + 8 (32mm)>
2011-12-20 02:22:12,858::Main::TRACE::ShootingView.resizeEvent()
2011-12-20 02:22:14,890::Main::TRACE::ShootController.__startPushButtonClicked()
2011-12-20 02:22:14,890::Shooting::TRACE::Shooting.start()
2011-12-20 02:22:14,890::Main::TRACE::ShootController.__onShootingStarted()
2011-12-20 02:22:14,890::Main::TRACE::ShootController.__onShootingProgress()
2011-12-20 02:22:14,890::Shooting::INFO::Start shooting process...
2011-12-20 02:22:14,890::Shooting::DEBUG::Shooting.start(): create preset data object
2011-12-20 02:22:14,890::Shooting::DEBUG::Data.__init__(): create xml tree
2011-12-20 02:22:14,890::Shooting::DEBUG::Data.createHeader(): values={'comment': u'Generated by Papywizard 2.1.21', 'cameraOrientation': u'portrait', 'timeValue': '0.5', 'name': u'4 + 12 + 12 + 12 + 8 (32mm)', 'title': u'Here goes the title', 'bracketingNbPicts': '1', 'counter': '031', 'stabilizationDelay': '0.5', 'headOrientation': 'up', 'lensType': u'rectilinear', 'sensorCoef': '1.6', 'sensorRatio': u'3:2', 'roll': '90.0', 'focal': '17.0', 'gps': u'Here goes the location'}
2011-12-20 02:22:14,890::Shooting::DEBUG::Data._addNode(): parent=header, tag=general, value=None, attr={}
2011-12-20 02:22:14,890::Shooting::DEBUG::Data._addNode(): parent=general, tag=title, value=Here goes the title, attr={}
2011-12-20 02:22:14,890::Shooting::DEBUG::Data._addNode(): parent=general, tag=gps, value=Here goes the location, attr={}
2011-12-20 02:22:14,890::Shooting::DEBUG::Data._addNode(): parent=general, tag=comment, value=Generated by Papywizard 2.1.21, attr={}
2011-12-20 02:22:14,905::Shooting::DEBUG::Data._addNode(): parent=header, tag=shooting, value=None, attr={'mode': 'preset'}
2011-12-20 02:22:14,905::Shooting::DEBUG::Data._addNode(): parent=shooting, tag=headOrientation, value=up, attr={}
2011-12-20 02:22:14,905::Shooting::DEBUG::Data._addNode(): parent=shooting, tag=cameraOrientation, value=portrait, attr={}
2011-12-20 02:22:14,905::Shooting::DEBUG::Data._addNode(): parent=shooting, tag=stabilizationDelay, value=0.5, attr={}
2011-12-20 02:22:14,905::Shooting::DEBUG::Data._addNode(): parent=shooting, tag=counter, value=031, attr={}
2011-12-20 02:22:14,905::Shooting::DEBUG::Data._addNode(): parent=shooting, tag=startTime, value=2011-12-20_02h22m14s, attr={}
2011-12-20 02:22:14,905::Shooting::DEBUG::Data._addNode(): parent=shooting, tag=endTime, value=2011-12-20_02h22m14s, attr={}
2011-12-20 02:22:14,905::Shooting::DEBUG::Data._addNode(): parent=header, tag=camera, value=None, attr={}
2011-12-20 02:22:14,905::Shooting::DEBUG::Data._addNode(): parent=camera, tag=timeValue, value=0.5, attr={}
2011-12-20 02:22:14,905::Shooting::DEBUG::Data._addNode(): parent=camera, tag=bracketing, value=None, attr={'nbPicts': '1'}
2011-12-20 02:22:14,905::Shooting::DEBUG::Data._addNode(): parent=camera, tag=sensor, value=None, attr={'ratio': u'3:2', 'coef': '1.6'}
2011-12-20 02:22:14,905::Shooting::DEBUG::Data._addNode(): parent=header, tag=lens, value=None, attr={'type': u'rectilinear'}
2011-12-20 02:22:14,905::Shooting::DEBUG::Data._addNode(): parent=lens, tag=focal, value=17.0, attr={}
2011-12-20 02:22:14,905::Shooting::DEBUG::Data._addNode(): parent=header, tag=preset, value=None, attr={'name': u'4 + 12 + 12 + 12 + 8 (32mm)'}
2011-12-20 02:22:14,905::Shooting::TRACE::Data.serialize()
2011-12-20 02:22:14,905::Shooting::DEBUG::Configuration saved
2011-12-20 02:22:14,905::Shooting::DEBUG::Shooting.start(): repeat 1/1
2011-12-20 02:22:14,905::Main::TRACE::ShootController.__onShootingRepeat()
2011-12-20 02:22:14,921::Main::TRACE::ShootController.__onShootingProgress()
2011-12-20 02:22:14,921::Shooting::DEBUG::Shooting.start(): pict #1 of 48, index=1, yaw=30.0, pitch=80.0
2011-12-20 02:22:14,921::Main::DEBUG::ShootController.__onShootingUpdate(): index=1, yaw=30.0, pitch=80.0, state=None, next=True
2011-12-20 02:22:14,937::Shooting::INFO::Moving
2011-12-20 02:22:14,937::Main::DEBUG::ShootController.__onShootingSequence(): sequence=moving
2011-12-20 02:22:14,937::Shooting::DEBUG::PanoduinoAxis.drive(): 'yawAxis' drive to 30.0
2011-12-20 02:22:14,937::Shooting::DEBUG::PololuMicroMaestroHardware.setTarget(): target=1095.00à‚µs (4380)
2011-12-20 02:22:14,937::Shooting::DEBUG::PanoduinoAxis.drive(): 'pitchAxis' drive to 80.0
2011-12-20 02:22:14,937::Shooting::DEBUG::PololuMicroMaestroHardware.setTarget(): target=1258.00à‚µs (5032)

2011-12-20 02:22:18,733::Shooting::INFO::Stabilization
2011-12-20 02:22:18,733::Main::DEBUG::ShootController.__onShootingSequence(): sequence=stabilization
2011-12-20 02:22:19,233::Shooting::INFO::Shutter cycle
2011-12-20 02:22:19,233::Shooting::DEBUG::Shooting.start(): bracket #1 of 1
2011-12-20 02:22:19,233::Main::DEBUG::ShootController.__onShootingSequence(): sequence=shutter
2011-12-20 02:22:19,250::Shooting::TRACE::ShutterPlugin.shoot()
2011-12-20 02:22:19,250::Shooting::TRACE::ShutterPlugin._ensurePulseWidthLowDelay()
2011-12-20 02:22:19,250::Shooting::TRACE::ShutterPlugin._triggerShutter()
2011-12-20 02:22:19,250::Shooting::DEBUG::PololuMicroMaestroHardware.setTarget(): target=2000.00à‚µs (8000)
2011-12-20 02:22:19,500::Shooting::DEBUG::PololuMicroMaestroHardware.setTarget(): target=1000.00à‚µs (4000)
2011-12-20 02:22:19,750::Spy::EXCEPTION::Spy.refresh(): can't read position
Traceback (most recent call last):
  File "papywizard\controller\spy.pyo", line 131, in refresh
  File "papywizard\model\head.pyo", line 155, in readPosition
  File "papywizard\plugins\panoduinoPlugins.pyo", line 209, in read
  File "papywizard\hardware\pololuServoHardware.pyo", line 217, in getPosition
  File "struct.pyo", line 87, in unpack
error: unpack requires a string argument of length 2
2011-12-20 02:22:19,780::Shooting::EXCEPTION::Shooting.start()
Traceback (most recent call last):
  File "papywizard\model\shooting.pyo", line 600, in start
  File "papywizard\model\head.pyo", line 155, in readPosition
  File "papywizard\plugins\panoduinoPlugins.pyo", line 209, in read
  File "papywizard\hardware\pololuServoHardware.pyo", line 217, in getPosition
  File "struct.pyo", line 87, in unpack
error: unpack requires a string argument of length 2
2011-12-20 02:22:19,780::Shooting::ERROR::Unhandled exception in shoot process
2011-12-20 02:22:19,780::Main::DEBUG::ShootController.__onShootingStopped(): status=fail
2011-12-20 02:22:22,608::Main::TRACE::ShootController.__onStopFinishPushButtonClicked()
2011-12-20 02:22:23,875::Main::TRACE::AbstractModalDialogController._onRejected()
2011-12-20 02:22:26,858::Main::TRACE::MainController.__onActionHelpViewLogActivated()

I add also hardware pict (i took Pololu and BT module from the head)... :

1. pullup resistor (add 4.7 Kohm between Tx and Vcc of Pololu Mini Maestro) :

Image

2. separated power source:

Image

3. single power source:

Image
Last edited by thelight on Sun Dec 25, 2011 8:25 pm, edited 1 time in total.

no avatar
thelight
Member
 
Topic author
Posts: 21
Likes: 0 post
Liked in: 0 post
Joined: Fri Dec 09, 2011 4:20 am
Info

by thelight » Sun Dec 25, 2011 8:16 pm

First of all..I want to say : MERRY CHRISTMAS to all !!! :D:D

BTW I want to ask...
I'm wondering if my 12-channel "Pololu Mini Maestro Servo Controller" is compatible. I see that all of the posts here are using the 6-channel "Pololu Micro Maestro Servo Controller" version.

This maybe a silly question ..
As in the trace log, there is mentioned a lot of "PololuMicroMaestroHardware"...as an example :
Code: Select all
Main::DEBUG::PololuMicroMaestroHardware.reset()
Main::DEBUG::PololuMicroMaestroHardware.setTarget(): target=1500.00à‚µs (6000)
...etc

(on ​​the other hand I use "Pololu Mini Maestro")...
whether the "Pololu Micro Maestro" and "Pololu Mini Maestro" is a identical hardware ?? ( I mean at the "coding level")
Is there any difference between the word "Micro" and "Mini" ?? ( I mean at the "coding level")
does it have an effect on coding ??
Thanks...

User avatar
fma38
Moderator
 
Posts: 5850
Likes: 2 posts
Liked in: 2 posts
Joined: Wed Dec 07, 2005 6:21 pm
Location: Grenoble, France
Info

by fma38 » Sun Dec 25, 2011 10:35 pm

They should be compatible, as there is only one documentation for all products (6 to 24 channels).

Anyway, in your case, Papywizard does not receive anything, so I don't think it is a protocol problem, but a communication one.
Frédéric

no avatar
thelight
Member
 
Topic author
Posts: 21
Likes: 0 post
Liked in: 0 post
Joined: Fri Dec 09, 2011 4:20 am
Info

by thelight » Thu Jan 12, 2012 4:14 pm

Hi Frédéric...This is a progress report using Bluegiga WT-11 !!

I realize that Bluegiga WT-11 is 3.3 volts device and Mini Maestro is 5 volt device .. then I use the Level Shifter or Level Converter ; product name is DT-I/O Level Converter (DT-I/O Level Converter modifier module is a digital i/o voltage 5V to 3,3V and vice versa. This module can be used to connect the i/o 5V digital devices to the i/o digital device 3,3V) http://innovativeelectronics.com/innovative_electronics/pro_dtio_Level_Converter.htm

On the other hand, BlueSMiRF Gold http://www.sparkfun.com/products/10268 was also 3.3 volts level devices (RN-41 BT module) http://www.robotshop.com/PDF/RN-41.pdf that use Level Shifter...as in the schematic : http://dlnmh9ip6v2uc.cloudfront.net/datasheets/Wireless/Bluetooth/BlueSMiRF-ChipAnt-v15.pdf

After trying connectivity between Papywizard and Bluegiga WT-11(with DIY Breakout Board and plastic wrapped for safety) plus DT-I/O Level Converter... the result is the same (as well as DFRobot BT V3) :

Mini Maestro <--> DT-I/O Level Converter <--> Bluegiga WT-11 (Panoduino Bluetooth Driver) = FAILED
Mini Maestro <--> DT-I/O Level Converter <--> Bluegiga WT-11 (Panoduino Serial Driver) = SUCCEED

btw.. I have sent a post to the pololu forum : http://forum.pololu.com/viewtopic.php?f=16&t=4879 and wait for a reply...and the question is whether the Micro Maestro and Mini Maestro are identical product ?? ("in the coding level")

error log (still same - Panoduino Bluetooth Driver)

Code: Select all
2012-01-12 17:50:00,062::Spy::EXCEPTION::Spy.refresh(): can't read position
Traceback (most recent call last):
  File "papywizard\controller\spy.pyo", line 131, in refresh
  File "papywizard\model\head.pyo", line 154, in readPosition
  File "papywizard\plugins\panoduinoPlugins.pyo", line 209, in read
  File "papywizard\hardware\pololuServoHardware.pyo", line 217, in getPosition
  File "struct.pyo", line 87, in unpack
error: unpack requires a string argument of length 2
2012-01-12 17:50:00,250::Spy::EXCEPTION::Spy.refresh(): can't read position
Traceback (most recent call last):
  File "papywizard\controller\spy.pyo", line 131, in refresh
  File "papywizard\model\head.pyo", line 154, in readPosition
  File "papywizard\plugins\panoduinoPlugins.pyo", line 209, in read
  File "papywizard\hardware\pololuServoHardware.pyo", line 217, in getPosition
  File "struct.pyo", line 87, in unpack
error: unpack requires a string argument of length 2
2012-01-12 17:50:00,483::Spy::EXCEPTION::Spy.refresh(): can't read position
Traceback (most recent call last):
  File "papywizard\controller\spy.pyo", line 131, in refresh
  File "papywizard\model\head.pyo", line 155, in readPosition
  File "papywizard\plugins\panoduinoPlugins.pyo", line 209, in read
  File "papywizard\hardware\pololuServoHardware.pyo", line 217, in getPosition
  File "struct.pyo", line 87, in unpack
error: unpack requires a string argument of length 2
2012-01-12 17:50:00,687::Spy::EXCEPTION::Spy.refresh(): can't read position
Traceback (most recent call last):
  File "papywizard\controller\spy.pyo", line 131, in refresh
  File "papywizard\model\head.pyo", line 155, in readPosition
  File "papywizard\plugins\panoduinoPlugins.pyo", line 209, in read
  File "papywizard\hardware\pololuServoHardware.pyo", line 217, in getPosition
  File "struct.pyo", line 87, in unpack
error: unpack requires a string argument of length 2

here the pics :

Image

Image

Image

Image

Image
Last edited by thelight on Thu Jan 12, 2012 4:27 pm, edited 1 time in total.

User avatar
fma38
Moderator
 
Posts: 5850
Likes: 2 posts
Liked in: 2 posts
Joined: Wed Dec 07, 2005 6:21 pm
Location: Grenoble, France
Info

by fma38 » Thu Jan 12, 2012 6:05 pm

Why do you put the bluetooth module in a plastic bag? Are you sure it is not a conductive bag? And are you sure it does not affect the transmission?
Frédéric

no avatar
thelight
Member
 
Topic author
Posts: 21
Likes: 0 post
Liked in: 0 post
Joined: Fri Dec 09, 2011 4:20 am
Info

by thelight » Thu Jan 12, 2012 6:40 pm

I don't think it will interfere the transmission (I've tried with no plastic and give the same "good transmission" :D .. this is BT class 1 and I have tried as far as 30 meters from the front of the house and stay connected - with notebook) .. and this is indeed non-conductive and anti static plastic (former pack DFRobot BT Module) ... this is just for safety and to avoid unintentional metal contact (wire, tools..etc)..This is only for temporary...and I would open the plastic if it later has been installed permanently in panohead (hope so...)
If later still can not use N810 (bluetooth driver) I think I can still use notebook / netbook as a wireless control device...(serial driver) :)

Btw..when you making first test with your "Panoduino-like" http://www.kolor.com/forum/t8744-panoduino-like-first-tests and until now...are you use a Nokia N800 or HP TC-1100 ??

Thanks
Last edited by thelight on Sat Jan 14, 2012 6:56 pm, edited 1 time in total.

no avatar
thelight
Member
 
Topic author
Posts: 21
Likes: 0 post
Liked in: 0 post
Joined: Fri Dec 09, 2011 4:20 am
Info

by thelight » Fri Feb 17, 2012 6:56 pm

after I sent a post to the pololu forum and give detailed condition...http://forum.pololu.com/viewtopic.php?f=16&t=4879 the admin of pololu forum give an answer...he said that : "it's probably a driver problem" (PW bluetooth driver)....- but I'm still curious - now I'm waiting for pololu forum members to help conduct the "combination experiment" so that this problem could be concluded :

The combination : Bluesmirf Gold BT + MINI Maestro (12/18/24 channel) :
"bluetooth driver" = succeed or failed ??
"serial driver" = succeed or failed ??

BTW...:D

I currently use BENQ MID S6 (with Windows XP) instead of Nokia N810 as a wireless control device and now I'm focusing on the "mechanics components" to complete my "papypololu head" version (most of the components are homemade). Immediately after my "papypololu head" version finish, I will send pictures in this forum...

Thanks

Image
Last edited by thelight on Fri Feb 17, 2012 7:27 pm, edited 1 time in total.

Previous

Who is online

Users browsing this forum: No registered users and 1 guest