GithubHelp home page GithubHelp logo

devducks / sunshine Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 16 KB

An opensource protocol and firmware for electronic camera rotators

License: MIT License

C 41.59% C++ 14.42% Makefile 3.61% Python 40.39%
arduino astronomy astrophotography rotator

sunshine's Introduction

sunshine

Sunshine is an open source protocol to drive an electronic camera rotator for astrophotography. You can find here the firmware that can be flashed on Arduino that implements the protocol.

Protocol spec

Every command and response starts with a : and ends with a #

Look at the table for the specific commands

Code Response Description
:P# :OK# Ping command, nothign more, nothing less
:V# :VXXX# Query the firmware version, the response will contain major, minor and patch version of the actual firmware

Development

This firmware has 0 dependencies on external Arduino libraries. To develop the firmware just clone the repo and use your favorite text editor (arduino ide is probably the best for this code)

Tests

This repo contains also a test suite that should be used to test the firmware is behaving properly once flashed. The tests are writtten in Python and pipenv is used to manage the virtualenv, to run the tests follow these steps:

  • plug your Arduino into your computer
  • flash the formware via arduino IDE or avrdude
  • run make tests

Since these are e2e tests a real Arduino board running the firmware is needed

sunshine's People

Contributors

mattblack85 avatar

Watchers

 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.