Welcome, Guest
Username: Password: Remember me
27 Feb 2017
INDI development team is happy to announce the release of INDI Library v1.4.0. This new exciting release builds on the maturity of INDI Library and comes with many new supported devices and fixes for existing drivers. Several improvements and enhancements are included in this release including native support for Cygwin and MacOS platforms in addition to Linux, BSD, and Windows (Client only).
Read More...

TOPIC: Astroberry PiFace

Astroberry PiFace 1 year 4 months ago #7110

  • Kaczorek
  • Kaczorek's Avatar Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 322
  • Karma: 2
  • Thank you received: 110
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: knro, oleg

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

Last Edit: by Kaczorek.

Astroberry PiFace 1 year 4 months ago #7111

Great work! Do you know of any relays for high voltage / amps? Like 240V/10A/15A ?

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

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?

Astroberry PiFace 1 year 4 months ago #7114

  • Kaczorek
  • Kaczorek's Avatar Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 322
  • Karma: 2
  • Thank you received: 110
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 <strong>BUT</strong> 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: knro

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

Last Edit: by Kaczorek.

Astroberry PiFace 1 year 4 months ago #7116

  • oleg
  • oleg's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ubuntu Astronomy
  • Posts: 252
  • Karma: 2
  • Thank you received: 67

Kaczorek wrote: 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:

  • Astroberry GPS (indi support for gpsd service)

What GPS module you use?

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

You can try my open project Ubuntu Astronomy

Astroberry PiFace 1 year 4 months ago #7118

  • Kaczorek
  • Kaczorek's Avatar Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 322
  • Karma: 2
  • Thank you received: 110
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

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

Astroberry PiFace 1 year 4 months ago #7122

  • Jochym
  • Jochym's Avatar
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 111
  • Karma: 2
  • Thank you received: 29
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.

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

P.

Astroberry PiFace 1 year 4 months ago #7123

  • Kaczorek
  • Kaczorek's Avatar Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 322
  • Karma: 2
  • Thank you received: 110
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.

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

Astroberry PiFace 1 year 4 months ago #7124

  • Jochym
  • Jochym's Avatar
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 111
  • Karma: 2
  • Thank you received: 29
OK. Will do. Thanks.

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

P.

Astroberry PiFace 1 year 2 months ago #8223

Kaczorek wrote: 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


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.

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

ODROID C2 Ubuntu

Astroberry PiFace 1 year 2 months ago #8224

  • Kaczorek
  • Kaczorek's Avatar Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 322
  • Karma: 2
  • Thank you received: 110

NickK wrote: 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.


Feel free. It is available based on GPL license. Credits are welcomed :)
Let me know if you need any help.

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

Astroberry PiFace 1 year 2 months ago #8228

  • Jochym
  • Jochym's Avatar
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 111
  • Karma: 2
  • Thank you received: 29
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?

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

P.

Astroberry PiFace 1 year 2 months ago #8229

  • Kaczorek
  • Kaczorek's Avatar Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 322
  • Karma: 2
  • Thank you received: 110

Jochym wrote: 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?


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.

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

Last Edit: by Kaczorek. Reason: update
Time to create page: 0.212 seconds

Login

3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!

Gallery

Replica

Why INDI

Replica