Various embodiments may relate a chemical sensor. The chemical sensor may include a substrate including a first sealed (or isolated) cavity and a second sealed (or isolated) cavity separate from the first sealed (or isolated) cavity. The chemical sensor m