Exhibit 23.1

Consent of Independent Registered Public Accounting Firm

To the Board of Directors of SMTC Corporation:

We consent to the incorporation by reference in the registration statement (No. 333-44250) on Form S-8 and the registration statement (No. 333-115400) on Form S-1 of SMTC Corporation of our report dated March 28, 2008, with respect to the consolidated balance sheets of SMTC Corporation as of December 31, 2007 and 2006, and the related consolidated statements of operations, changes in shareholders’ equity and cash flows for each of the years in the three-year period ended December 31, 2007, and the related financial statement schedule, which report appears in the December 31, 2007 annual report on Form 10-K of SMTC Corporation.

/s/ KPMG LLP

Chartered Accountants, Licensed Public Accountants

Toronto, Canada

March 28, 2008