1 Application Overview

This application highlights the use of the MSSP in I2C mode to create a communications bus that will monitor three sensors in an aquarium. The communications bus consists of a single master and three slave devices. Each slave device reads a sensor output, performs any necessary computations and prepares the sensor data for transmission to the master. The master requests the sensor data from each slave and displays the information on a terminal application, such as Tera Term.

The following components were used in this application:
  • Microchip MPLAB® X IDE v5.40
  • Microchip XC8 Compiler v2.20
  • Curiosity Low Pin Count Development Board (DM164137)
  • PIC16F15245 Microcontrollers (3)
  • Tera Term (PC terminal application)
  • Atlas Scientific Consumer Grade pH Probe (ENV-30-pH))
  • Atlas Scientific Gravity™ Analog pH Sensor/Meter (GRV-pH)
  • DROK 10k-Ω B3950 NTC Temperature Sensor Probe (B01MR37GOQ)
  • 10k-Ω through-hole resister 1%
  • Gikfun M8 32mm Liquid Level Sensor (EK1373x3)