The application reads the current room temperature from the temperature sensor on the I/O1 Xplained Pro Extension Kit. The temperature reading is displayed on a serial console periodically every second. Further, the application writes the temperature readings to EEPROM. When a character is entered on the console, the last five written temperature values are read from the EEPROM and displayed on the console. Also, an LED (LED0) on the PIC32CZ CA90 Curiosity Ultra board is toggled every time the temperature is displayed on the serial console.
The MCC Harmony project graph would look like this:
This project has been verified to work with the following versions of software tools:
Refer Project
Manifest present in harmony-manifest-success.yml under the project
folder
pic32cz_ca90_cult_getting_started_drv/firmware/src/config/pic32cz_ca90_cult
- Refer the Release
Notes to know the MPLAB X IDE and
MCC Plugin version. Alternatively, Click
Here.
Because Microchip regularly update tools, occasionally issue(s) could be discovered while using the newer versions of the tools. If the project doesn’t seem to work and version incompatibility is suspected, It is recommended to double-check and use the same versions that the project was tested with. To download original version of MPLAB Harmony v3 packages, refer to document How to Use the MPLAB Harmony v3 Project Manifest Feature
Verify that the I/O1 Xplained Pro Extension Kit (temperature sensor) is connected to Extension Header 1 (EXT1) on the PIC32CZ CA90 Curiosity Ultra Development board.
Connect the Type-A male to Micro-B USB cable to Micro-B DEBUG USB port (J200) to program and debug the PIC32CZ CA90 Curiosity Ultra Development board and connect to a external power supply (6.5V-14V) to power-up the board.
The pre-built hex file can be programmed by following the below steps.
Open the Tera Term terminal application on your PC (from the Windows® Start menu by pressing the Start button)
Change the baud rate to 115200
You should see the temperature values (in °F) being displayed on the terminal every 500 milliseconds, as shown below
Also, notice the LED0 blinking at 1 second rate
Press any character on the terminal to display the last five
values written to the EEPROM
You may vary the temperature by placing your finger on the temperature sensor (for a few seconds)