Uncategorized

How to use the Arduino Timer Interrupt

https://github.com/MarginallyClever/ArduinoTimerInterrupt has what you need on github. Call a single function to set the timer interrupt frequency, in hertz. The INO file also includes a test suite in the loop() method that will set many different frequencies. Each time the counter is called it will blink a light. Replace that with whatever non-blocking code you want. (That means calling Serial.print is a bad idea.)

Now that I’ve got this timer working correctly I’m going to reuse it in many places, starting with CNC machines – I can use the timer to move the motors while the main thread is still receiving instructions and queueing them into the system. That means no “hiccup” between steps. It also means the machine can “look ahead” several steps and plan speeds better.

Miscellaneous

Build a Quadcopter at the Vancouver Hack Space

quadcopter

Give the gift of making this winter

Marginally Clever is underwriting a Build your own Quadcopter event at the Vancouver Hack Space this winter. With the help of the prodigious Jon Grieman we’ve designed a custom frame that’s easy to put together and built an list of tested parts. You have until November 13th to put $250 to get in on the group buy. This machine measures ~50cm across and is strong enough to carry a GoPro. It even comes with an extra battery and spare propellors.

Get all the details and sign up right here!

click for a detailed picture

Uncategorized

Marginally Clever is Switching to a New Twitter Feed

I’ve been running Marginally Clever off my personal twitter handle since it was created. After careful thought I’ve decided the company needs it’s own feed. This post will be the last on the old feed. You can now keep track of everything Marginally Clever Robots, MC Laser cutting, and MC 3D printing are doing by following the brand new @MarginallyC.

Uncategorized

GCodeCNCDemo RUMBA control is MUCH faster

Every time I need to use a new motion controller I add it to the GCodeCNCDemo. Keeps my life nice and simple and gives you the chance to compare firmwares, learn how they do what they do.

Updates GcodeCNCDemo release #5

  • removed memcpy sorting from all versions. Much easier to grok now.
  • added NUM_AXIES to 4axis v2 to be more consistent
  • added reprapdiscount RUMBA control board demo

Get it here

(more…)

Uncategorized

Marginally Clever Stickers!

Marginally Clever Stickers!

Our Phalanx of dwarvish warriors deep under the Printhead mountain have secured for you a glittering set of 2″ circular die-cut matte stickers for your enjoyment.

FAQ

Are they load bearing? Uh…how heavy is the load?

Are they good against bear attack? Depends on the size of the bear.

Will the glue innoculate me against zombie virus? Wait and see!

How do I get some? Two free in every kit shipped. They’re also available for $0.25/ea if you just have to have more.