Marking devices for dispensing a marking substance on the ground and marking methods are provided. The marking devices and marking methods use one or more detection mechanisms to detect one or more characteristics of the marking substance. In some embodiments, the detection mechanism may be, but is not limited to, an optical sensor, an olfactory sensor, a weight sensor, a switch device, and any combination thereof. The one or more detection mechanisms may provide, for example, the capability to: (1) determine the type of marking substance that is installed in the marking device; (2) determine in advance of or during a marking operation the amount of marking substance within the marking dispenser; and (3) determine when the marking dispenser is becoming empty.