×

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

Bi-monthly release with minor bug fixes and improvements

Astroberry PiFace

  • Posts: 983
  • Thank you received: 375
For all Raspberry Pi geeks. PiFace support for INDI is on the house!

Astroberry PiFace provides a set of INDI drivers for PiFace addon boards to Raspberry Pi:
  • PiFace Relay Plus,
  • PiFace Motor Extra,
  • PiFace Control and Display.

The project provides INDI drivers using above addons:
  • PiFace Relay (indi support for 4 relays 20V/1A with status LEDs, with Motor Extra supports 2 DC or stepper motors),
  • PiFace Control and Display (indi support for 2x16 LCD display + 5 buttons + nav button)
  • PiFace Focuser (indi focuser providing absolute and relative position control),
  • Astroberry GPS (indi support for gpsd service)
  • Astroberry AltIMU (indi support for AltIMU-10 v4 Gyro, Accelerometer, Compass, and Altimeter connected to I2C)

Check the details on the project page github.com/rkaczorek/astroberry-piface

NOTE: New releases of Astroberry PiFace drivers are available at the end of the thread
The following user(s) said Thank You: Jasem Mutlaq, Oleg
Last edit: 7 years 3 months ago by Radek Kaczorek.
8 years 3 weeks ago #7110

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

Replied by Jasem Mutlaq on topic Astroberry PiFace

Great work! Do you know of any relays for high voltage / amps? Like 240V/10A/15A ?
8 years 3 weeks ago #7111

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

  • Posts: 983
  • Thank you received: 375

Replied by Radek Kaczorek on topic Astroberry PiFace

Sure. You can use Ywrobot 4 Relay, which is equipped with 4 x 240V/10A relays.
Actually the indi drivers are available for it in Astroberry project (indi_rpibrd), using bcm2835 libs.

EDIT:
If you want ready to use raspberry pi HAT, you can consider www.seeedstudio.com/depot/Raspberry-Pi-R...oard-v10-p-2409.html BUT it is controlled through I2C-bus so astroberry-piface drivers will not work because they use SPI-bus to communicate.
The following user(s) said Thank You: Jasem Mutlaq
Last edit: 8 years 3 weeks ago by Radek Kaczorek.
8 years 3 weeks ago #7114

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

  • Posts: 314
  • Thank you received: 95

Replied by Oleg on topic Astroberry PiFace

What GPS module you use?
You can try my open project Astronomy Linux
8 years 3 weeks ago #7116

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

  • Posts: 983
  • Thank you received: 375

Replied by Radek Kaczorek on topic Astroberry PiFace

I'm using Adafruit Ultimate GPS MTK3339, which is connected to Raspberry Pi through ttyAMA0 serial port, which is configured as a source for gpsd service.
The following user(s) said Thank You: Oleg
8 years 3 weeks ago #7118

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

  • Posts: 200
  • Thank you received: 57

Replied by Paweł on topic Astroberry PiFace

Do you have anything against merging your gps driver with the one included in the main indi repository?
I do not think it is practical to have two almost identical drivers - it confuses users.
8 years 3 weeks ago #7122

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

  • Posts: 983
  • Thank you received: 375

Replied by Radek Kaczorek on topic Astroberry PiFace

I don't mind. As the matter of fact I developped it before gps class was introduced into indi framework so it might be good idea.
Beside standard functionality of updating time and location this driver calculates polaris hour angle, which is useful for polar alignement.
Feel free to get it to the master branch.
8 years 3 weeks ago #7123

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

  • Posts: 200
  • Thank you received: 57

Replied by Paweł on topic Astroberry PiFace

OK. Will do. Thanks.
8 years 3 weeks ago #7124

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

  • Posts: 77
  • Thank you received: 10

Replied by NickK on topic Astroberry PiFace


Nice work - mind if I pull in the GPS into my ODroid C2 project?

I'll try the GPSd with my old Garmin Geko 320.
ODROID C2 Ubuntu
7 years 10 months ago #8223

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

  • Posts: 983
  • Thank you received: 375

Replied by Radek Kaczorek on topic Astroberry PiFace


Feel free. It is available based on GPL license. Credits are welcomed :)
Let me know if you need any help.
7 years 10 months ago #8224

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

  • Posts: 200
  • Thank you received: 57

Replied by Paweł on topic Astroberry PiFace

OK. I looked over your code of GPSD driver and it is virtually the same as the core driver.
I will add the polaris angle code from your tree and merge with upstream.
You have also better gps state tracking I will transfer this as well.
Did I miss anything?
7 years 10 months ago #8228

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

  • Posts: 983
  • Thank you received: 375

Replied by Radek Kaczorek on topic Astroberry PiFace


I think that you missed my last remark on how gpsd support was introduced to INDI. Also I'm not sure about the direction of the similarity relation of the drivers you're referring to i.e. rpi_gps.cpp dated 2015-04-06 vs. gps_driver.cpp dated 2015-12-03. So to keep things clear and inline to GPL rules it is gps_driver similar to rpi_gps, not otherway around. See also this topic, which clarifies this further.
Anyway, feel free to merge the code with official gpsd driver. And let's keep it to GPL rules.

UPDATE: Just to make sure we're talking the same thing - astroberry drivers were released in this post. Astroberry PiFace is a successor of Astroberry project discussed in this topic.
Last edit: 7 years 10 months ago by Radek Kaczorek. Reason: update
7 years 10 months ago #8229

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

Time to create page: 0.593 seconds