×

INDI Library v1.9.8 Released (29 Sep 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

Installing Stellarmate OS on ASI AIR

  • Posts: 269
  • Thank you received: 53
There are currently two drivers in the 3rd Party drivers repo: indi-asi-power and indi-rpi-gpio which would both do the job. The first one is specifically set up for the ASIAir Pro whilst the second one is more generalised for any RPi so the GPIO pinds are configurable.
There is currently an issue with the builds on these as they are dependent on the build of the libpigpiod library but I'm not able to get that library to build automatically. I'm sure it is not complicated but I've never done it so don't know specifically what is needed. If any other dev knows how, we can probably sort out the issues pretty quickly and make those drivers available in the nightly builds.

github.com/indilib/indi-3rdparty/tree/master/indi-asi-power
indilib.org/raspberry-pi/raspberry-pi-gpio-control.html
-- Ken
RPi3 Ubuntu Server 20.04, Windows 10 AMD64, AAEON UP Core Ubuntu Desktop 20.04
Avalon M-Uno, EQ6 Pro, Atik420, ASI1600MM-C, ASI120MM-S, DBK21AU04, ZWO EFW, Optec TCFSi
Vixen R150S, GSO RC8, ST80
8 months 3 days ago #80115

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

  • Posts: 205
  • Thank you received: 17
To whom it may concern, RPI4 8GB with the power board of an ASIAIR PRO, seems to work just fine :-)

   
 
The following user(s) said Thank You: Jasem Mutlaq, Ken Self
7 months 3 weeks ago #80348
Attachments:

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

  • Posts: 2
  • Thank you received: 2
I bought ASIAIR plus and arrived. Unlike PRO, each power port has a current and voltage sensor. I wrote a patch in indi-asi-power to read the value of this sensor.

The reset button on ASIAIR Plus is connected to nRPiBOOT. You can use it to operate the eMMC storage without disassembling it. Information on accessing the sensor was found in /root/ASIAIR/bin/read_power_cm4.sh.

I'm new to INDIlib development, so I'm not sure if this code is correct. I hope it helps you to support ASIRAIR Plus. 

 
 

File Attachment:

File Name: a.diff.gz
File Size:2 KB
The following user(s) said Thank You: Jasem Mutlaq, Ken Self
7 months 3 weeks ago #80455
Attachments:

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

You can submit a PR here: github.com/indilib/indi-3rdparty/tree/master/indi-asi-power

Ken can probably review it and make any necessary changes to make sure it compatible with all versions.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
The following user(s) said Thank You: tentaisan
7 months 3 weeks ago #80464

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

  • Posts: 2
  • Thank you received: 2
I've only tried it with atroberry yet, but at least with the default kernel of astroberry 2.0.4, ASIAIR <strong>Plus</strong> USB doesn't work.
The USB host controller for ASIAIR Plus is the Renesas uPD720201. This is not supported by astroberry.
To resolve this issue, you need to install the required firmware and rebuild the kernel with the changed settings.

 I have confirmed that Stellamate v1.6.2 has similar problems. If you encounter similar issues, you may be able to fix the issue the firmware on /lib/firmware/renesas_usb_fw.mem and rebuilding by applying the following settings to the kernel.

CONFIG_USB_XHCI_PCI = m
CONFIG_USB_XHCI_PCI_RENESAS = m
Last edit: 7 months 1 week ago by tentaisan.
7 months 2 weeks ago #80682

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

  • Posts: 38
  • Thank you received: 0
So far, this means that KStars can run from the ASIAIR Plus, but the power ports cannot be controlled, right? Does this mean that those ports still can deliver power but cannot be turned on and off?

Regards,

Alfredo
CEM60
Celestron 925 EdgeHD Hyperstar
MicroTouch Focuser
ZWO ASI071MC Pro
Bogota, Colombia
www.flickr.com/photos/alfredo_beltran
7 months 1 week ago #80823

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

  • Posts: 269
  • Thank you received: 53
If you install the driver indi-asi-power you can control the power ports with the same functionality as the ASIAir app. 
-- Ken
RPi3 Ubuntu Server 20.04, Windows 10 AMD64, AAEON UP Core Ubuntu Desktop 20.04
Avalon M-Uno, EQ6 Pro, Atik420, ASI1600MM-C, ASI120MM-S, DBK21AU04, ZWO EFW, Optec TCFSi
Vixen R150S, GSO RC8, ST80
The following user(s) said Thank You: Alfredo Beltran
7 months 1 week ago #80836

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

  • Posts: 18
  • Thank you received: 3
#Enable 12v gpio output
gpio=18,12,13,26=op,dh,pu

Hi i test it and working fine at my asi air pro Thanks a lot

BTW, could you tell me 18 12 13 26 meaning
Because i have an qhyccd starmatser have 2 power out

I want to use stellarmate os on that box
7 months 6 days ago #80912

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

  • Posts: 269
  • Thank you received: 53
18 12 13 26 are the GPIO ports on the Raspberry Pi thatis at the core of the ASIAir. The config command enables those ports for output and switches them on.
I thought you would be able to use StellarMate on the QHY Starmaster without having to modify.
-- Ken
RPi3 Ubuntu Server 20.04, Windows 10 AMD64, AAEON UP Core Ubuntu Desktop 20.04
Avalon M-Uno, EQ6 Pro, Atik420, ASI1600MM-C, ASI120MM-S, DBK21AU04, ZWO EFW, Optec TCFSi
Vixen R150S, GSO RC8, ST80
7 months 6 days ago #80920

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

  • Posts: 18
  • Thank you received: 3
StellarMate is work fine at qhyccd starmaster without power output
7 months 6 days ago #80930

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

  • Posts: 269
  • Thank you received: 53
Can you install the indi-rpi-gpio driver? That wil let you control the GPIO pins but you will need to know which pins are used by Starmaster. That will let you control the power output.
-- Ken
RPi3 Ubuntu Server 20.04, Windows 10 AMD64, AAEON UP Core Ubuntu Desktop 20.04
Avalon M-Uno, EQ6 Pro, Atik420, ASI1600MM-C, ASI120MM-S, DBK21AU04, ZWO EFW, Optec TCFSi
Vixen R150S, GSO RC8, ST80
7 months 6 days ago #80931

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

  • Posts: 18
  • Thank you received: 3
I have the tech info from QHY company.

gpio=4,15=op,dh,pu

2 Port is 4 and 15

Now it is all working fine with Stellarmate OS 1.70
6 months 3 weeks ago #81284

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

Time to create page: 0.412 seconds