Laptop adapter for knitting machine and DesignaKnit application
I am introducing a fairly simple and practical adapter for the DesignaKnit or Knitstyler program. This option of the adapter is much cheaper ($ 20) offered on the DesignaKnit website. BrotherLink USB cost is 6 times more expensive! (https://www.softbyte.co.uk).
|IR sensor Sharp GP2Y0D805Z0F||6.5||1|
|USB cable (Micro-USB)||1.07||1|
|Iron corner 35х25х40 mm||0.71||1|
|Binder Clips 51mm||0.22||1|
|Jumper set (male-female) 300mm||1.25||1|
|Hot melt glue||0.36||1|
In addition, you still need: a low-power soldering iron (20-40W), a hot glue gun.
1. Solder corner connectors to the distance sensor.
2. Connect 3 jumpers (make-female) to the sensor terminals. The remaining ends of the jumpers, carefully bend at an angle of 90 degrees.
3. Disconnect the iron bracket from the office binder. We attach the sensor to it so that the wire goes in the direction of the bend of the bracket, and the sensor board is exactly between the left and right part of the loop as even as possible and in the same plane. Using hot melt glue, we fix the jumper connectors to the brace wire just below the bend. The curing time of the hot melt is about 2-3 minutes.
4. Arduino board firmware update. Download Arduino IDE. Install the program on your laptop. Launch the Arduino IDE. In the program menu, select Sketch-> Connect Library-> Manage Libraries. In the field "Filter search results ..." type Keyboard. Install the Keyboard by Arduino library.
Download the firmware: https://github.com/vikulin/km_row_counter/releases/download/v1.0/km_row_counter.zip. Copy the contents of the archive somewhere on the laptop. Connect the Arduino using a USB cable to the laptop. In the Arduino IDE program select menu: Tools-> Board "Arduino XXX" in the list select Arduino Leonardo. THen choose Tools-> Port. An item with the port number where your Arduino board is connected should appear in this menu. If this item is, then choose it. Open Arduino program: File-> Open. Find the firmware from the archive and open it. Click (->) button.
5. We assemble the Arduino into a plastic case and connect the jumpers from the sensor to the Arduino according to this scheme:
Fix the jumper on the Arduino c using sticky tape.
6. Install the corner to the carriage with a piece of double-sided tape. The distance between the reflecting side of the corner and the sensor should not exceed 5 cm. In my case, it turned out 4.5cm.
7. Connect Arduino to the laptop. In the event of a sensor triggering, a red LED lights up on it and Arduino sends commands to the computer. Now you can run DesignaKnit or Knitstyler and use the adapter to automatically count rows.