TeensyCNC

seishuku

Member
Just a little project that I've been working on, that will hopefully lead to a bigger and better machine.
For now, I can do custom vinyl decals and stencils, also the wife can use the machine again. :D

In order of progression:
https://www.youtube.com/watch?v=4JDF5jAWwU4
https://www.youtube.com/watch?v=Ge8aNVEKl0c
https://www.youtube.com/watch?v=hzgSU6oZUZg
https://www.youtube.com/watch?v=W2IBsKMgJRQ
https://www.youtube.com/watch?v=YEfdQQnbkhQ

Source code for those interested:
https://github.com/seishuku/TeensyCNC

Next step will probably be picking up a bunch of identical inkjet printers and using the head mechanize for x/y axis, maybe for z as well (might do something different there though).
 
Some minor code updates, simple hard-stop homing function for the X-axis (the only one that really needs homing).

Also, I probably should have mentioned this, this project is using DC motors and quadrature encoders, not a typical stepper motor setup that you usually see.
 
Correct, everthing is interrupt driven.
PID loop runs at 4MHz, with the encoders triggering on both edges.

This is also done baremetal, I'm not using Arduino for anything.
 
For me, it's tighter control over the device.
The Arduino library is nice for ease of development, but it quickly gets bloated and slow (in some cases).

I'm just used to doing it that way, coming from the STM32 development boards that I've used in the past.
 
For me, it's tighter control over the device.
The Arduino library is nice for ease of development, but it quickly gets bloated and slow (in some cases).

For me, it's the opposite, and It's as tight as "bare metal". But ok, if you're happy with that :eek:
I just was curious !
 
Thanks for sharing. I want to use this project with a Teensy 3.1 I had, and a Cricut Mini which was in a box unused for about 4 years and now we finally opened it to discover the manufacturers had "bricked" it. Of course I immediately searched YT for "Cricut mini hack" and the Teensy CNC project is what I found! Thanks for sharing !!!

One dumbass question though - what build tools must I set up since you did not use Arduino? Is it a particular version of Kinetis studio?
 
Thanks for sharing. I want to use this project with a Teensy 3.1 I had, and a Cricut Mini which was in a box unused for about 4 years and now we finally opened it to discover the manufacturers had "bricked" it. Of course I immediately searched YT for "Cricut mini hack" and the Teensy CNC project is what I found! Thanks for sharing !!!

One dumbass question though - what build tools must I set up since you did not use Arduino? Is it a particular version of Kinetis studio?

I used the arm-none-eabi toolchain from launchpad.net
This one, I think... I'll have check when I get home:
https://launchpad.net/gcc-arm-embedded/4.6/4.6-2012-q4-update
 
Hey I'd just like to say thanks for sharing this project. Thanks to your clear instructions on GitHub I was able to wire up the Teensy (I used a v3.1, OSH Park Edition) in less than 2 hours I am sending G-Code using the utility you shared (Gcodesender).

Many, many thanks. Now the fun really begins.
 
First, thanks for the work everyone has done on this. I converted my Cricut mini a while ago, but found the Y axis drive wasn't working reliably. I can't figure out what the issue is and I found no way to mitigate or fix it.
For some moves, most notably load/unload ones, the Y axis will make one short move, then stop. I did put in some debug outputs just to see if a button press was maybe aborting them, and also to display the number of steps for moves, but all seems correct.
I'm looking for ideas for what to check for, test or any pointers on how to get it to work. It's completely random so far.
 
Back
Top