mcanet / knitic

The open hardware knitting machine (at the moment based in electronic Brother knitting machines)
GNU General Public License v3.0
212 stars 57 forks source link

Not all the needles that should knit are knitting #27

Closed MaurinElectroTextile closed 10 years ago

MaurinElectroTextile commented 10 years ago

Thanks for your new Arduino testing sketcheses and last releases of the Processing & Arduino soft. We did tests on solenoids and sensors and it looks good. But still having problems with pixels. Not all the needles that should knit are knitting.

mcanet commented 10 years ago

Can you describe more detail the problem. Do you image is in black and white image? which model you using?

MaurinElectroTextile commented 10 years ago

/////////////////////////// test 1 With your Arduino solenoides testing code "test_solenoids.ino" digitalWrite(amegaPinsArray[i], LOW); // all stitches goes on the D position digitalWrite(amegaPinsArray[i], LOW); // all stitches goes on the B position Solenoides looks ok.

/////////////////////////// test 2 With your Arduino encoders testing code all encoders returns good values/direction test_encoders_normal_arduino.ino test_encoders.ino

/////////////////////////// test 3 But when I load the OpenKnitting sketch on to the Arduino board with :

And I use the simple Processing sketch "test_solenoids_SendHoleLine.pde" with :

I can't get the same pattern as shown on the Processing sketch There is only few stitches set to B position

send to machine received: 11111111111111110000000000000000111111111111111100000000000000001111111111111111000000000000000011111111111111110000000000000000111111111111111100000000000000001111111111111111000000000000000011111111@

It could be the powering of the solenoids (there is 14Volts on the chip). But the test 1 is ok !?

mcanet commented 10 years ago

I fix test send line to correct speed serial to 115200. Let me know to close issue.

MaurinElectroTextile commented 10 years ago

Can you also correct "test_solenoids_SendHoleLine.pde" to fit with "openKnitting_handMadepcb_v0_1"

mcanet commented 10 years ago

done. Let me know how goes

MaurinElectroTextile commented 10 years ago

yep! it work! ;-) ça roule