If it's a Scottish coin found besides a foundation of the 1600-1700s (AQUA's comment) and depicts the image of Charles II (per Harry Morant) then it may be a coin from the era of Charles II (1649-1685), not 1832-- unless it's a coin commemorating Charles II. I'd be more inclined to favor a copper from the coinage of 1663 (two pence) or a Bawbee (six pence) Scots from the year range of 1677 to 1679. The obverse and reverse images of that era fit what I see in the OP's post. And, 'yes', I agree, it's a crowned thistle on the reverse. The date, if visible, would be at the 11 o'clock position on the reverse.
Don.....