×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

ASI120MC-S underexposed band with 5s exposure

  • Posts: 5
  • Thank you received: 0
Hi,

I bought Raspberry Pi 3 model b to set up asi120mc-s as all sky camera. I installed indi server and SWIG and can successfuly connect to the camera from Python.

If I set exposure under 2s. everything is ok (check attachment 1s.jpeg). But if I go above, band of 183px is less exposed than the rest of the image (check attachment 5s.jpeg). Do you have any idea why this would happen? I also attachedcamera settings (asi120mc-s_indi_settings.txt). This is python code snippet for capture:
def takeExposure(self):
	self.logger.info("<<<<<<<< Exposure >>>>>>>>>")
	#get current exposure time
	exp = self.device.getNumber("CCD_EXPOSURE")
	# set exposure time to 5 seconds
	exp[0].value = 5
	self.sendNewNumber(exp)
def newBLOB(self, bp):
	self.logger.info("new BLOB "+ bp.name.decode())
	# get image data
	img = bp.getblobdata()
	import cStringIO
	# write image data to StringIO buffer
	blobfile = cStringIO.StringIO(img)
	# open a file and save buffer to disk
	with open("frame.fit", "wb") as f:
		f.write(blobfile.getvalue())

Thank you in advance and best regards!
Last edit: 6 years 9 months ago by Pavle.
6 years 9 months ago #17271
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 5
  • Thank you received: 0
I am in contact with ZWO, software fix might be needed.
6 years 9 months ago #17276

Please Log in or Create an account to join the conversation.

  • Posts: 106
  • Thank you received: 11
Does it happen when you're in 16-bit RAW mode? Your settings show 8-bit.
Skywatcher 190MN - EQ6 Pro (with Belt Mod) - ASI1600MM-Cooled - ASI EFW7 - ASI120MM - WO f4 Guide Scope - Rigel nStep - KStars/Ekos - KDE - PixInsight
6 years 9 months ago #17285

Please Log in or Create an account to join the conversation.

  • Posts: 5
  • Thank you received: 0
Hi Keith!

Yes, I tried switching to 16-bit raw mode and it happens too.
6 years 9 months ago #17286

Please Log in or Create an account to join the conversation.

  • Posts: 106
  • Thank you received: 11
All I can suggest further is to try a different USB Cable and of course try using a powered USB hub instead of directly into the RPi3
Skywatcher 190MN - EQ6 Pro (with Belt Mod) - ASI1600MM-Cooled - ASI EFW7 - ASI120MM - WO f4 Guide Scope - Rigel nStep - KStars/Ekos - KDE - PixInsight
6 years 9 months ago #17287

Please Log in or Create an account to join the conversation.

  • Posts: 5
  • Thank you received: 0
Good idea, I will try both and report back.

Thanks!
6 years 9 months ago #17288

Please Log in or Create an account to join the conversation.

  • Posts: 5
  • Thank you received: 0
Solved.

For anyone with same problem, the issue was with wrong camera settings. HighSpeedMode must be turned off and than it works ok. Additionally, to turn this flag off, one must set exposure under 100ms first (I got that info from ZWO directly, because I could not change the flag). So to sum up, this is the fix:

indi_setprop "ZWO CCD ASI120MC-S.CCD_EXPOSURE.CCD_EXPOSURE_VALUE=0.05"
indi_setprop "ZWO CCD ASI120MC-S.CCD_CONTROLS.HighSpeedMode=0"
Last edit: 6 years 9 months ago by Pavle.
6 years 9 months ago #17309

Please Log in or Create an account to join the conversation.

Time to create page: 0.413 seconds