Giter Club home page Giter Club logo

indi_allinone's Introduction

INDI AllInOne Arduino driver

Introduction

This project provides software + hardware instructions to build a powerfull astronomy tool for astrophotography, including focuser, filterwheel, dew heater, humidity sensor, ...

All that hardware is driven by a single Teensy 3.2 board (any 3.3v Arduino with > 32k memory and enough PINs should do it. Mega2560 is also possible with small adaptations to the schematics for 5v).

Contrary to most similar projects, the logic is fully operated within the micro-controler, so it is very easy to add/modify features. There is no ping-pong between firmware and driver. That also means that you can quickly write code for new hardware without knowing too much about INDI driver. Exposes an INDI property, write code that reacts to its change and you're done. And thanks to the INDI protocol, you'll end up with a UI integration within your favorite astro software !

It is intended to be used together with an ARM board, via serial TTL. However, it can be quickly adapted to run over usb serial as well.

I personnaly use it with Mobindi, my other Astrophoto project, making a full lightweight astro setup, controlled from a single mobile phone.

Quick start

Building/Customizing the firmware

The firmware can be compiled using the Arduino IDE, and source code is very modular, making it easy to add your own hardware (more/less dewheater, ...) If you want to do so, open ucontroler.ino and locate the function "declareHardware".

The setup includes:

  • Focuser (unipolar motor)
  • Fitlerwheel (unipolar motor with hall sensor)
  • DHT22 sensor (temperature/humidity)
  • 2x DewHeater (PWM with temperature sensor)
  • Watt/Current metter to monitor power consumption
  • A clock to report uptime (& detect reset/crash)

You can tweak motor acceleration/speed for focuser and filterwheel. The default is conservative, with lower speed for focuser retractation (usefull if you have a refractor)

If you want to adapt for an unsupported hardware, you'll need to write an event driven class (ie avoid blocking for more than about 1 ms, to keep filterwheel/focuser happy). A good starting point is Status.h/Status.cpp that just reports a numeric value.

Focuser.cpp also has a simple example of how to control something from INDI property.

Building the indi driver

The indi driver is just a relay to the micro-controler, meaning you probably won't have to modify it.

To build, issue the commands:

cd indi_driver
mkdir build
cd build
cmake ..
make
sudo make install

You'll now have a indi_allinone driver installed.

Building the hardware

The electronics schematic are provided for Teensy 3.2.

Schematics

The resulting board has roughtly the size of a raspberry pi, meaning you can probably stack them in a small box.

The filterwheel can be made from a manual filterwheel, adding a BYJ48 stepper and a hall sensor + magnet for calibration. More details here (french) : http://pludov.blogspot.com/2016/08/roue-filtre-motorisee-la-mecanique.html

indi_allinone's People

Contributors

pludov avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

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.