how to emulate floppy disk drive on brother kh940 knitting machine?

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
varvara
 
Posts: 2
Joined: Thu Feb 09, 2012 9:01 pm

how to emulate floppy disk drive on brother kh940 knitting machine?

Post by varvara »

Hi!

I got brother KH-940 electronic knitter and currently trying to do the same hack as in ladyada (http://ladyada.net/wiki/tutorials/knitt ... cable.html) tutorial.
Have anyone had with this machine any experience? Does it have the same floppy format?

I am trying to emulate floppy disk drive and download pattern template but without any success :(
I have followed all instructions on the tutorial, tries in different machines (windows, mac, linux) to run python script and keep getting following error:
i keep getting this error message:
python PDDemulate-1.0.py img COM12
Preparing . . . Please Wait
Ready!
Traceback (most recent call last):
File "PDDemulate-1.0.py", line 631, in
emu.handleRequests()
File "PDDemulate-1.0.py", line 382, in handleRequests
self.handleFDCmodeRequest(inc)
File "PDDemulate-1.0.py", line 504, in handleFDCmodeRequest
self.write(id)
AttributeError: PDDemulator instance has no attribute 'write'

it might be that my cable connection is incorrect.
I use this FTDI cable (http://www.sparkfun.com/products/9716)
and connect knitting machine pins as following:
GND (black) -> 1
CTS (blown) -> not connected
5V (red)-> 2 & 3
TXO (orange)- > 6
RXI (yellow)-> 7
DTR (green)-> not connected

I would be grateful for any help!
dont know what i am doing wrong or maybe 940 has something different in terms of floppy communication :(
Attachments
error message
error message
Screen shot 2012-02-12 at 9.10.00 PM.png (202.18 KiB) Viewed 962 times
cable connections
cable connections
knittingHackCable.png (15.02 KiB) Viewed 962 times

Locked
Please be positive and constructive with your questions and comments.

Return to “General Project help”