Archives for MBLAB X Projects - Page 2

Controlling a PIC Microcontroller from a PC Graphical User Interface (GUI)

image-525
A Graphical User Interface is a man-machine interface device, in which objects to handle are drawn as icons on the screen, so the user can send controls by by a pointing device, usually a mouse or a keyboard. It is always easy and require less skills to operate a device from a visual representations of the workspace (GUI) by simply clicking a mouse or using a keyboard rather than a command line. In this article we are going to design a Graphical User Interface using Microsoft Visual C#. This software could be installed in any computer running windows operating systems. The computer will connect to the microcontroller using an RS232 serial cable. The PIC microcontroller will receive commands from the computer to control devices connected to it such as motors, LEDs etc.

Interfacing The TC74 I2C Digital Thermal Sensor with PIC Microcontroller – XC8

image-1041
TC74 is an I2C Digital Temperature sensor form Microchip. TC74 is a serially accessible digital temperature sensor particularly suited for low cost and small form-factor applications. Temperature data is converted from the on-board thermal sensing element and made available as an 8-bit digital word. In this tutorial we are going to learn how to use MPLAB Code Configurator to read temperature from the TC74 temperature sensor and display it on an LCD