Patent ID: 7908985

Claim:
A sewing machine capable of sewing an embroidery pattern based on embroidery data including at least thread color data and needle drop point data, the thread color data identifying a color of an embroidery thread, the needle drop point data identifying a sewing position, the sewing machine comprising: a reader that reads out thread information stored in an RFID tag embedded in each of a plurality of thread spools, the thread information including at least a thread color and a thread amount of a thread wound around each of the plurality of thread spools; a selection device that selects the embroidery pattern; a thread color-and-amount acquisition device that acquires a necessary thread color and a necessary thread amount from the embroidery data of a selected pattern, the necessary thread color being a thread color to be used for the selected pattern, the necessary thread amount being a thread amount to be used for the selected pattern, the selected pattern being the embroidery pattern selected by the selection device; a comparison device that compares a read out thread amount with the necessary thread amount, the read out thread amount being the thread amount read out by the reader for each of the plurality of thread spools, the necessary thread amount being acquired by the thread color-and-amount acquisition device for the necessary thread color; a determination device that determines whether sewing the selected pattern is possible based on a comparison result by the comparison device; an indication device that indicates a determination result by the determination device; a thread amount detection device that detects an amount of used thread as a used thread amount for a used thread spool among the plurality of thread spools, the used thread spool having been used in embroidery sewing; a thread remaining amount calculation device that calculates a thread remaining amount from the read out thread amount read out by the reader and the used thread amount detected by the thread amount detection device, the thread remaining amount being a thread amount remaining on the used thread spool; and a writer that writes the thread remaining amount calculated by the thread remaining amount calculation device into the RFID tag of the used thread spool.