Authors - Adibhav Agrawal, Nikunj Parikh Abstract - This article is about how a new configuration of devices has been created for a compact, low-cost, real-time monitoring system for measuring electromagnetic fields on dairy farms. The Electromagnetic Field Monitoring System (EMFMS) is composed of an ESP32 micro-controller, MLX90393 three-axis magnetometer, TP4056 based boosting supply module, and a 0.96-inch OLED screen, which are all encased in a unique 3D printed PETG enclosure. The EMFMS can store and transmit wirelessly time-stamped activity levels of the earth’s magnetic field on three axes through MQTT protocol. The EMFMS was placed into three different areas of an operational dairy barn over 28 days where EMF levels of up to 17 times higher were observed between different areas, and a statistical finding was noted between EMF levels and lower levels of milk production (r = −0.61, p = 0.003) and higher levels of cortisol in serum (r = +0.44, p = 0.03) in Holstein-Friesian dairy cows. The findings of this pilot study demonstrate that this method of continuous measurement of electromagnetic fields for animals using IoT technology could serve as a more feasible and low-cost alternative to existing spot measurements.