The maximum power dissipation of the LM324D is 670mW, which is calculated based on the package thermal resistance and the maximum junction temperature.
While the LM324D can be used as a comparator, it's not the best choice due to its relatively slow slew rate (0.5V/us) and limited bandwidth (1MHz). A dedicated comparator like the LM339 or LM2901 would be a better option.
To ensure stability, make sure to add a compensation capacitor (typically 10-100pF) between the output and the inverting input. This helps to reduce oscillations and improve stability.
The input impedance of the LM324D is typically around 2MΩ, which is relatively high. This makes it suitable for use with high-impedance sources.
Yes, the LM324D can be used in a single-supply configuration. However, the output voltage swing will be limited to around 1.5V below the positive supply rail. Use a voltage divider or a level shifter to shift the output voltage if necessary.