Please see all COVID-19 updates here as some shipments may be delayed due to CDC safety and staffing guidelines. If you have an order or shipping question please refer to our Customer Support page. For technical questions please check out our Forums. Thank you for your continued support.


Member Since: April 8, 2012

Country: United States

  • g-code is pretty tool and machine specific. You'd want to start with the CAD files which are provided.

  • Okay I emailed the guy who wrote the library and this is what he said.

    "I think it's probably the pulse width. It's easy to adjust: the default is 1ms to 2ms. Try different values for SERVO_MIN_WIDTH/SERVO_MAX_WIDTH. The defaults are 204 and 410.

    Here's how to change them for a sketch:

    define SERVO_MIN_WIDTH 204

    define SERVO_MAX_WIDTH 500


    void setup() { ..."

    I changed the values of the two variables by editing the file tlc_servos.h instead of in the arduino sketch and I was able to get full range of motion. This is what I changed the values to:

    define SERVO_MIN_WIDTH 93

    define SERVO_MAX_WIDTH 439

    Its not perfect but does go from 0 to 180 degrees now. However 90 degrees looks more like 100-110 to me so I'll try playing around with it a little more later.

    Hope this helps!

  • The servos I'm using are definitely 180 degrees and turn a half turn when using the arduino servo library. I played around with SERVO_MIN_WIDTH and SERVO_MAX_WIDTH a little but really don't have the knowledge to modify the library... I'll try again tomorrow and post if I make any progress.

    One thing I did notice was that even when setting a servo to 0 it doesn't go to the actual 0 position, so I dont think its a matter of multiplying by two (2*0 is still 0).

  • Yeah I just realized mine i doing that too and came here to ask. Any information would be greatly appreciated.

  • Can this be used for air flow as well?

  • How much current can these handle? They look perfect for connecting my stepper motors to my control box for my CNC router.

  • More like 1/4. Unless you need to reverse the direction of the flow a simple MOSFET will suffice http://bildr.org/2012/03/rfp30n06le-arduino/

  • https://www.sparkfun.com/products/10976 Seems like these slide pots would have been perfect for controlling the x-y position of your sensor. Any reason you didn't use them?

    Awesome project btw, this is the kind of thing that keeps me coming back to this site!

No public wish lists :(