Giter Club home page Giter Club logo

koruza-pi's Issues

Add green-lasr blink function

Add a function that will blink the green laser, for example 5s on during 60s period and user can specify during what times of the day that happens.

Build not reproducible into a working state

I tried to build koruza-pi and ran into the following issues:

  • raspbian versions from jessie onwards do not make use of the watchdog anymore but rely on systemd. The commands have changed, too, breaking the installation routine
  • the python cryptography package requires updating setuptools prior to installation

I intend to rewrite the installation routine to work with newer raspbian editions, however I am currently not even able to bring the koruza unit into a working state. Upon startup

  • the status LED blinks

  • no connection is established to the motor boards

  • manually subscribing to the IPC endpoints only yields the watchdog messages, nothing more. Trying to write to the command endpoint results in an error (see below).

  • manually stopping all services and setting the LED GPIOs high/low does not result in any LEDs lighting up other than the status LED

    sudo nanocat --req --connect-ipc /tmp/koruza-command.ipc --ascii --data '{"type": "command", "command": "motor_move", "next_x": 150, "next_y": 200, "next_f": 0}'
    {"message": "Motor not present.", "code": 400, "type": "cmd_error"}

Implement data loggin to SD card

Implement a mechanism for storing raw measurements collected every 50ms to SD card. For conserving space, capture/log interval for every variable on the bus should be defined separately, namely:

RX power in mW to be logged with as fast as possible, for others averaging may be suitable.

I2C bus hang after some time

I2c bus appears to hang on certain devices after some time. The reset implemented in koruza-gpio appears to be insufficient to power down the motor controller and media converter as only complete device power-cycle fixes the problem.

A possible reason is parasite powering of UniversalUnipolarStepperController through UART interface RX pin and thus a fix for this should be included in the reset.

Device name should change hostname and dns broadcast

Device name in settings should change the hostname of the device to whichever one is set and change the dns broadcast, such that it works by .local allowing for multiple units to co-exist on the same network

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.