A man has been sentenced following an attempted theft from an ATM in Northumberland where he used explosive tactics.