Git Product home page Git Product logo

astroberry-piface's Introduction

astroberry-piface

Astroberry PiFace provides a set of INDI drivers for PiFace addon boards to Raspberry Pi:

  • PiFace Relay Plus,
  • PiFace Motor Extra,

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 Focuser (indi focuser providing absolute and relative position control),

Major changes

  • Starting from version 2.2:
    • 2 steppers are available and selectable
  • Starting from version 2.1:
    • libmcp23s17 is linked statically
    • multiple steppers and relays are not supported
  • Starting from version 2.0.2:
    • libmcp23s17 is included as a submodule so you don't have to install it separately
  • Starting from version 2.0.1:
    • driver supports up to 8 relays (requires 2 PiFace Relay Plus addon modules) and 2 stepper focusers
    • PiFace Control and Display driver (indi_piface_cad) was moved to separate project

So what's the relation between Astroberry PiFace and Astroberry project?

Astroberry PiFace is a successor of Astroberry project. Astroberry project was based on custom addon board, which required understanding of electronics and soldering skills to build. The new project was created to make things easier and let anybody use Raspberry Pi as a INDI server with support to all of these nice features of PiFace addon boards. Astroberry PiFace is based on hardware already available on market, so all you need is to put the tiles together, grab astroberry-piface software and you're ready to go.

How to start?

First, you need to download and install INDI server and libraries. See INDI site for more details. In most cases it's enough to run:

sudo apt-add-repository ppa:mutlaqja/ppa
sudo apt-get update
sudo apt-get install libindi1

Second, download and install astroberry-piface.

Compiling from source:

sudo apt-get install libindi-dev
git clone https://github.com/rkaczorek/astroberry-piface.git
cd astroberry-piface
mkdir build
cd build
cmake ..
make
make install

How to use it?

Start your INDI server with Astroberry PiFace drivers:

indiserver -l /var/log/indi -f /var/run/indi -p 7624 indi_piface_relay indi_piface_focuser

Start KStars with Ekos, connect to your INDI server and enjoy!

NOTE: PiFace Relay Plus hardware address MUST be set to 000 for the first addon module and 001 for the second addon module. To do it you need to set JP1, JP2 and JP3 to 1-2 to set hardware address to 000 and JP1 to 2-3 and JP2, JP3 to 1-2 to set hardware address to 001. See PiFace Relay Plus documentation for details.

astroberry-piface's People

Contributors

rkaczorek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

astroberry-piface's Issues

Does not work with GCC 8.3.0

Apparently the driver does not work with GCC 8.3.0 provided with latest raspbian buster.
Latest version known to work is 5.4.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.