×

INDI Library v1.9.3 Released (11 Nov 2021)

Bimonthly Stable INDI Library release introduces new drivers and fixes for existing ones. Some highlights:

Guide: StellarMate OS on Raspberry Pi4 step by step with tips and tricks

  • Posts: 11
  • Thank you received: 3
Thanks for an excellent guide !

One comment regarding external USB 3.0 Realtek WiFi. When I was configuring mine I had problems with building the source code. After some digging on this forum I managed to get it to work by running this set of commands:

sudo apt -y install raspberrypi-kernel-headers
sudo ln -s /usr/src/linux-headers-$(uname -r)/arch/arm/ /usr/src/linux-headers-$(uname -r)/arch/armv7l # this was the missing link that made it possible to build Realtek driver on StellarMate
sudo apt -y install git
sudo apt -y install gcc
cd /usr/src
sudo git clone https://github.com/EntropicEffect/rtl8822bu
cd rtl8822bu
sudo nano Makefile -l
# Update lines 100 and 101 to this and save the file:
CONFIG_PLATFORM_I386_PC = n
CONFIG_PLATFORM_ARM_RPI = y
sudo make
sudo make install

I hope this will help others who experience the same problem

PS My WiFi dongle is connected through USB 3.0 passive hub
The following user(s) said Thank You: Joaquin
Last edit: 8 months 2 weeks ago by Perunwit.
1 year 2 months ago #59381

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

  • Posts: 166
  • Thank you received: 28
Could you give more details on the model of your wifi device ? I am searching for one with compatibility with stellarmate/raspbian
Celestron AVX
Celestron SCT 8” Edge HD, Primaluce ESATTO
TS Optics Photoline 80mm f/6 FPL53 Triplet-Apo, Primaluce SESTO SENSO 2
Celestron OAG, Lodestar X2 guide
Pegasus PowerBox Advanced
Stellarmate Gadget
AstroPhotography Tool (APT)
Nikon D90
1 year 2 months ago #59389

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

  • Posts: 11
  • Thank you received: 3
It is the same one as posted on the first page

Flybiz USB3 WiFi adapter to get USB3 speeds (Chipset: Realtek 8812BU)
www.amazon.co.uk/gp/product/B07S23DBBY/
The following user(s) said Thank You: Joaquin
Last edit: 1 year 2 months ago by Perunwit.
1 year 2 months ago #59390

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

  • Posts: 2
  • Thank you received: 3
Should update to specify that with the new bootloader you can avoid using a microSD card entirely and boot and run off the external M.2 drive. I've got it working right now. One less failure point and allows you to do everything off the SSD.

Additionally, you can always keep an updated microSD card around in case of disk failure - but SSDs are pretty robust.

It's as simple as just blowing the Stellarmate image onto the SSD and then plugging it into the USB3 port on your Pi (I'm using a Pi4 for this). If your bootloader is post Sept 2020 and you have no microsd card in it'll boot directly off the SSD.

Reference: www.raspberrypi.org/documentation/hardwa...ypi/bootmodes/msd.md
The following user(s) said Thank You: Brad Snell, Jason Rickerby
10 months 3 weeks ago #65397

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

  • Posts: 3
  • Thank you received: 0

I thought it might be helpful to share my experience of this, it was not quite this simple.
Using a Pi4 8Gb, updating the boot loader (see www.raspberrypi.org/documentation/hardwa...errypi/booteeprom.md ) was simple, but the result was not an 'automatic' change to being able to boot from USB.
I needed to edit the boot loader config (see www.raspberrypi.org/documentation/hardwa...bootloader_config.md ) which seemed to be simple, but the changes I made did not ever seem to be applied when I rebooted.
It turns out that despite the linked EEPROM page saying otherwise, I had to remove (actually I just renamed) the existing bootcode.bin file before I could successfully apply any changed to the boot loader config. It is still a pretty simple change overall, but the information provided seems a little misleading.
8 months 3 weeks ago #68075

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

  • Posts: 11
  • Thank you received: 3
Update on my end. 

I actually swapped my old RPI case to this one
Argon ONE M.2 Case for Raspberry Pi 4 • RaspberryPi.dk

Together with an M.2 drive it can now run without an SD card.

Performance boost is insane :) 

Also, I swapped from a passive 4 port USB 3.0 hub to the 8 port active one [exactly same model as has been described in the previous posts] 

That said, adding a 30000 mA battery and running with Pegasus Pocket Power Box made it really slick with only 2 cables that are not mounted on the OTA :) 
The following user(s) said Thank You: Jasem Mutlaq
Last edit: 8 months 2 weeks ago by Perunwit.
8 months 2 weeks ago #68607

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

  • Posts: 28
  • Thank you received: 0
I now use a 12-to-5V DC converter (and a USB-C charging cable) to power the RPi 4 from a Pegasus Powerbox (which is attached to the telescope dovetail). No need for a dedicated RPi power supply.
Very convenient, I only have a quite thin 12V power cable made of silicon connected to the gear. Not much that mechanically disturbs the guiding.
Here's a link to the DC converter

 
Last edit: 7 months 2 weeks ago by Åke Liljenberg.
7 months 2 weeks ago #69836
Attachments:

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

  • Posts: 386
  • Thank you received: 13
Hello,

Thank for this RPI4B guide with StellarMate. I appreciated the pictures. As I reviewed aliljenb’s picture, I tried this with my setup. I abandoned this design because of moments of inertia, radius of gyration, and center of gravity issues. I had a counterweight on the Vixen rail and still could not keep the motors from overworking.

I just picked up an 8G RPI4B. I like the idea of SSD use. I also like the idea of the OTA becoming the carrier. Not getting tangled up is the goal. I distribute my USB load between 2 4 port powered USB.

My first question is “How easy is this setup to achieve CG in X-Y-Z? 

My my second question is “What is the total weight of this package with all of its components?”

Thank you.
6 months 3 weeks ago #70997

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

  • Posts: 386
  • Thank you received: 13
Hello,

Thank you for this guide. I will be reviewing its recommendations. Last night was beautiful, cool and dark. I just went from a 4G to 8G RPI4B with the new StellarMate installed on 120G SSD. StellarMate is very inviting from the WEB. Setting up my rig looked easy. I kept it very simple. I didn’t push my configuration to take in more items. One OTA, GPSD, joystick, and QHYCCD. 

I had several problems of my own making. I didn’t setup fully by this guide. Thank you again for this guide.

1. location.

I am at the latest update and current revision. GPSD works wonderfully. StellarMate asks if I want to use it for time keeping. Cool. I will use this guide in establishing location. 

2. Disconnects.

In the past, (AstroHub, AstroBerry, and StellarMate), I always went to the OS under VNC to set the OS location, time, and the TTYACM dance with my gear. Udevadm is my friend. Under the Web interface, creating a config was not possible. Creating a saved profile was not possible.

When I went to the OS, all that work was not remembered. No profiles were created. KSTARS web was running. KSTARS and INDI OS knew nothing about the web except it was running. No web profiles were created despite clicking saved. OS KSTARS complained about “ no telescope config found”. In KSTARS OS, Devices is the singular place with establishing configuration. It’s state had 0 configs. No problem, I can use this guide to establish saved profiles. I will look at INDI logs to see if this is a permissions issue. 

3. Bare bones screen and updates

Under Indiweb, SM said, updates were needed to be installed. I click on “yes”. The download was said to be successful. Silence. ATAPI and another app were options to install. They downloaded and installed as submitted. Cool. Under VNC, I used APT-GET to update. 

StellarMate application works well from iOS. I have an antenna and the rest of my gear to setup. Thank you again for this guide. 
 
6 months 2 weeks ago #71299

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

  • Posts: 144
  • Thank you received: 7
Hi everybody,

I  use Stellarmate on a RPi4 4Go. I built myself a little powerbox, with 5V-5A for the RPI4. The OS tells me the power is not enough power!
I try with an external power 5V-3A specially for RPI4 and I have the same message.

What's wrong ?
Celesrron AVX - ED80 - QHY183C -QHY224C - Mak180 - RPI4 4Go + Stellarmate/Nafabox/Astroberry - Focus motor DIY
Last edit: 5 months 3 weeks ago by MORELLI.
5 months 3 weeks ago #71828

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

  • Posts: 1
  • Thank you received: 0
Hi Perunwit,

I am just about to do the same thing. Any hints on migrating the Stellarmate software across to the SSD? Is it a simple process?

Cheers ...
5 months 3 weeks ago #71858

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

  • Posts: 279
  • Thank you received: 39
If I remember correctly, I used ApplePiBaker (on OS X) to make a backup of the SD card as a image/or zip file on the mac and then ran it again to copy from the backup and install on the SSD (wiping it out completely is part of the process). I plugged in the SSD into the RPi4, removed the SD card, and powered the RPi4 up.

There is equivalent software on Windows, but I've forgotten the name.

Cheers
120 MM Skywatcher Esprit on Celestron CGX, ZWO ASI 224MC guiding, Pegasus FocusCube v2
Nikon Z7 8256 x 5504, 35.9 x 23.9mm 4.34 um. Triad Ultra Quad NB Filter
1) Odroid-N2 Ubuntu-mate 20.04 2) StellarMate on RPI4 8G
The good, the bad, the ugly at sciencedowneast.no-ip.ca/zenphoto/
The following user(s) said Thank You: Brad Snell
5 months 3 weeks ago #71882

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

Time to create page: 1.302 seconds