Code Monkey home page Code Monkey logo

tectoh's People

Contributors

felipe-m avatar

Watchers

 avatar  avatar

Forkers

felipe-m

tectoh's Issues

convert operations into integer instead of float

For example, the calculation of traveled distance, is made by multiplying the number of halfsteps by the millimeters advanced by a halfstep (constan ADVAN_HSTEP). Since halfsteps are consecutive, it may be done adding whenever a threshold of halfsteps are done

Improve endstop safety

Make sure that when the endstops are hit, the experiment stops and the motor is disabled

Save position in EEPROM

So if the Sandbox is powered off, it can remember where the gantry is located, and no homing is required

Divide the speed vectors into 2 sets: slow and fast speeds

These vectors are the halfstep (HS) periods and half microstep periods HuS
For fast speed (when slewing) we don't need the halfstep periods (so take them out)
For slow speeds, all the HuS are the same, so there is no need to have a vector for all of them, just one value.
Create a function to get the periods from the given speed.
Instead of having the vector as floats of microseconds, it would be better to have them as integers (maybe shorts), because the timers of the interrupts only accepts integers microseconds.

Divide menu into 2 submenus: Getting to a position + Experiment parameters

Now there is one menu that ask for:

  • initial position
  • final position
  • speed

It doesn't make much sense because, one would like to:

  1. Set the gantry to a point at maximum speed
  2. Prepare the experiment (put the sand, ....)
  3. Insert experiment parameters and start the experiment

It would be very important to be able to power the sandbox off, and when powering on, that the sandbox remmember its position.
Even if it does not remmember the position, to be able to do it in relative positions from where it is. Warning the users that they have to check that the distance will be kept within the experiment boundaries.

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.