-
Posts
124 -
Joined
-
Last visited
Content Type
Profiles
Forums
Gallery
Events
Blogs
Blog Comments posted by RadekK
-
-
BTW. I took my time and added GPIO pins configuration to Options Tab. No more recompiling if custom pins are used!
-
@Gina et all, I have just released astroberry-diy drivers (including focuser, relays and system info). This version is independent of WiringPi and BCM2835 low level control libraries. Instead I decided to use the latest libgpiod, which uses mainland kernel character device. This makes the driver totally independent from any external library. As for now the driver need some testing so it is kept in separate branch. As soon as you test it and confirm it works ok I will move it to master branch and release debian packages. You can grab the source code by running:
git clone https://github.com/rkaczorek/astroberry-diy.git cd astroberry-diy git checkout libgpiod
Make sure that you have libgpiod-dev package installed before compiling this version. The compilation should go smoothly by running:
mkdir build && cd build cmake -DCMAKE_INSTALL_PREFIX=/usr .. make make install
Please let me know if it works as designed
- 1
-
3 hours ago, Gina said:
Hmm... writing time was 42.5m - nearly 3/4 hour
Add bs=8M when using dd 😉
bs it stands for block size - it will significantly shorten the time
- 1
-
3 hours ago, Gina said:
Trouble is there's no progress bar or any other idea of how far it's got
Add status=progress when using dd 😉
- 1
-
Run the following to grab the version with BCM support:
git clone https://github.com/rkaczorek/astroberry-diy.git git checkout 3283e99
- 1
-
At first I have been surprised by what @JamesF said but I have just read this http://wiringpi.com/wiringpi-deprecated/
So it looks like wiringPi will not be maintained anymore 😞 It's really bad news. However I fully understand Gordon. Maintaining a software is a nightmare nowadays. Few understand how much work it takes and how many nights one has to invest to keep things running for others for free.
Having said that I will have to move astroberry-diy back to BCM2835 library. It will take a while though so stay tuned.
-
Are you sure that the site is not available? I have just opened it and downloaded latest wiringpi from https://project-downloads.drogon.net/wiringpi-latest.deb
-
Hi @Gina
Remove wiringpi installed with apt and use the latest version from the author's site http://wiringpi.com/wiringpi-updated-to-2-52-for-the-raspberry-pi-4b/
The driver used to support low level library designed for raspberry pi only (bcm2835) and wiringpi. The latest version uses wiringpi only as it makes it more generic - now it can be used on other devices than raspberry pi and is not limited to a specific version of raspberry pi.
-
@Gina this is a great tutorial! Thanks for your work!
I have just joined the forum so if you or anybody else need help with astroberry-diy drivers... I come to serve ?
Clear skies!
Radek Kaczorek
Astroberry Server | NEQ6 | Atik 460EX | Atik EFW2 | ASI 120MM- 1
Adding 3rd Party INDI Drivers to RPi for Astro Imaging
in Astro Projects
A blog by Gina in General
Posted
New version of Astroberry-DIY driver has been just released.
v2.6
* Major changes and new functionalities added
- added: Support for DS18B20 temperature sensor
- added: Temperature compensation
- added: Resolution unlocked from 1/1 to 1/32 microsteps
- added: Changing to lower resolution fine tuned
- update: system info driver separated from board/relay driver
- update: default BCM pins changed (!!!)
Sources: https://github.com/rkaczorek/astroberry-diy
Binary for Raspian Buster: https://www.astroberry.io/