Posts Tagged ‘Cricut’

Cricut Direct PC Control Working!

Monday, August 16th, 2010

After a bit of work and help from fellow Hackerspace members, we managed to figure out how to talk to the Cricut.  Check out the Cricut Wiki I started for more details on the protocol and check out the libcutter project on GitHub if you want to start writing your own control software.  Libcutter's goal is to be a nice cross platform library for controlling the Cricut and potentially other similar devices.  Right now all our experimentation has been with Cricut personals at firmware revision 1.34, but I'm hoping it'll work with other models as well.  I coded up a quick Python demo script that's a Logo interpreter for the Cricut that's included with libcutter.  Here's a quick video of it in action:

I've also got a quick Windows only Python module implementation that you can use to control the Cricut as well.  To get everything up and running, you'll need to get Python and PyUSB installed and grab this nice Python XXTEA implementation.  After that, just download the Cricut protocol module and the Logo demo script and you should be ready to draw (or cut) your favorite Hackerspace logo, or perhaps a hole bunch of circles:

You can of course write your own control programs to do other equally useless but still fun things:

Share

Cricut Cartridge Dissection

Thursday, May 6th, 2010

I borrowed a Cricut cartridge for a quick tear-down.  Here's the "front" (the side that faces away from the cutter) of a "Cricut Sampler" cartridge:

And here's the back:

The markings don't show up in the picture, but the big chip on the PCB is an ATmega16 and it's paired with a 4MBit serial flash part.  The 6 pin .1" header seems to be wired for in circuit serial programming.  Here's a pin out:

Header Pin ATmega16 Pin
1 2 - MISO
2 5 - VCC
3 3 - SCK
4 1 - MOSI
5 4 - RST
6 6 - GND

From the markings on the PCB, I would imagine that most cartridge hardware is identical.

Share

Cricut Personal Dissection

Saturday, February 27th, 2010

Here's what I found in my dissection of my Cricut Personal cutter.  I think this is a pretty good jumping off point if you're interested in repurposing the hardware, but for now I'm not doing any advanced analysis of the circuits (tracing pinouts, etc).  This may come later if I decide to make some custom firmware to do some other fancy things.

Actuators:

2 Steppers - 42BYGH4418 - These are standard NEMA 17 sized steppers with 6 leads.  I  didn't find any specific data on this stepper most likely driven in a unipolar configuration.

1 Solenoid - The cutter head seems to be a custom solenoid setup.

Chips:

ATmega128 - Main microcontroller for the entire system.

FT232BM - FTDI USB to RS232 converter chip.

AT45DB041D - 4MBit Serial EEPROM - This seems to be where the built in "Goerge and Basic Shapes" cartridge data is stored.

Power:

LM317 - 1.5A adjustable voltage regulator - Outputs 2.4V at power on.

LM2576 - 5Volt 3A Step Down Switching Regulator

18V 2.5A Power Brick - Labeling seems to suggest there are 16V, 20V, and 21V versions as well.

Other Parts:

BD243C NPN Transistors and high wattage resistors - These 8 transistors are driving the individual stepper coils.  The power resistors, transistors, and diodes in the center of the motherboard above all form the stepper control for the two steppers used in the setup.  The steppers are driven off of the 18V supply from the power brick.

Potentiometers - The speed, pressure, and size dials are all just connected directly to potentiometers.

"George and Basic Shapes" cartridge tear down:

Here's a picture of the "George and Basic Shapes" cartridge from the side facing tward you when inserted into the machine.  This is the cartridge that comes with the machine and is just a couple pins shorted together.  If you've searched for Cricut hacks before, you probably already knew this, as this seems to be one of the few details floating around.  I did manage to disassemble a standard cartridge at an earlier date and it contained an Atmega chip and another mysterious 8-pin Atmel chip just like the motherboard.  I'll have to borrow another cartridge or two in the future and post some pics.

The back seems to be a mirror of the front.  It seems that rather than key the cartridges, they simply manufacture them so they can be inserted either way and function normally.

Cartridge socket machine side:

You can see from the traces on the cartridge socket PCB that the connections are mirrored on the machine side as well.  After taking a look at the cartridge board, I simply disconnected it and used jumper wire to short the appropriate pins to emulate a George cartridge on my unit as many others have done since the George cartridge above is one that I borrowed.  Here's a pic of my George cartridge emulation setup:

George Cartridge Emulation

This solution works nice for me since it's quick and easy and I don't plan on using the Cricut with the standard cartridges.  You can just as easily emulate a George cartridge a number of other ways if you what to still use other cartridges with the machine normally, ranging from making your own PCB to just gluing some foil traces to a piece of cardboard that will fit in the slot.

More hardware details to come as I start looking at signals and set up serial sniffing...

Share

The Cricut Seems to Be Ripe For the Hacking

Sunday, February 14th, 2010

My Cricut

A member at the hackerspace donated a Cricut 6" cutter when she upgraded to the Expression model.  I've seen these little devices in most craft stores and even Wal-mart, and they seem ripe for the hacking.  The Cricut line of personal CNC paper cutters appear to have been looked into on a number of occasions from what I could find, but I didn't really find any good resources for information on hardware hacking other than a couple simple hacks and the discovery that the Cricut USB link was actually an USB to RS232 connection.  I also didn't find any open source or homebrew software to turn these devices from advanced scrapbook die cutters to general purpose CNC paper cutter/plotter/whatever.  I really want to play around with this thing (including trying to mount a spindle on it for crude PCB routing, among other things), but it looks like someone still needs to do a little leg work to make that happen easily.

What I did find is that there are  a few proprietary software packages out there (Sure Cuts A Lot and Make The Cut) that allow you to place and cut TrueType fonts and SVG format vector graphics.  This coupled with the fact that the device was using an RS232 link to do the actual communication to the on board microcontroller led me to believe it should be trivial to back-engineer the command protocol.  I downloaded the trial versions of the available 3rd party tools and grabbed a few windows serial port sniffing applications and set off to start logging communications.

Unfortunately I found that no combination of serial sniffer and control software seemed to work out.  I can easily use the serial sniffers to look at the transactions of the Arduino bootloader and the host application over the USB to RS232 link, but I see no activity with the 3rd party Cricut software.  I can set up a USB sniffer link and log data, but these logs are relatively verbose and I'd like to use a more elegant solution to log the RS232 data directly.

Since I'm more comfortable with the hardware side of things, I'm currently focusing on the problem from that angle.  I didn't want to start chopping up the space's Cricut, I set out to acquire my own for the task.  I managed to scoop one up for $60 with no cartridges from an individual who upgraded to the Expression as well.  Stay tuned for some hardware dissection notes as I take my personal unit apart!

Share