Blog Image

kh-940

KH-940 with electronics inside

electronics Posted on Tue, May 10, 2016 18:35:00

After months of this situation:

Finally:

With IR remote, LCD screen, a connection to the Neopixel LEDstrip, and wires to a free analog PIN, for connecting a sensor.
The laptop can be connected sending images (my own software).
Stand alone: some of the KH-940 patterns are already inside, more wil be uploaded.
Microcontroller Teensy 3.1



KH-940 with microcontroller

electronics Posted on Sun, May 08, 2016 10:37:34

The teensy microcontroller replacing the motherboard with a LCD display.

Adding images from the internal memory to the memory of the teensy.
The patterns can be chosen using the IR remote control.
see: https://youtu.be/hpsMhjhT1z4

Remote control can select: single bed/double bed
Teensy script automatically makes the pattern ready for the double bed (KRC button on the KH-940 motherboard.)

External new patterns can be loaded using a laptop with a Processing Sketch.

Position of the slider is indicated by a LED strip (using the A14 DAC pin of the Teensy, the ledstrip is controlled by it’s own ATMega328).
see: https://youtu.be/AzIjcAp1TBo

Biggest problem: communicating between microcontrollers and laptop. All communication between microcontrolle and laptop, or microcontroller and LCD display must be very reduced. If any data coming from the needle sensors is lost due to communication the pattern is corrupted.

Current Teensy script: contrech.home.xs4all.nl/scripts/KH_940_teensy_6_IR.zip
Current Processing script: contrech.home.xs4all.nl/scripts/knitImageInArray17_teensy.zip
Processing script for coding images from the Brother Manual:contrech.home.xs4all.nl/scripts/knitImage_importing_Images.zip

To do:
adding as many KH-940 patterns as possible to the memory of the teensy.
making a stand alone version.
eventually adding a SD-card for using new patterns.
3D printing a casing.
For lace, tuck and patent: create a checking script