Oops! It appears that you have disabled your Javascript. In order for you to see this page as it is meant to appear, we ask that you please re-enable your Javascript!

Tag - PIC Communication

PIC Microcontroller Communication with RS232 Bus – XC8

RS232 serial communication is one of the oldest communication where data is sent or received one bit at a time. This protocol can easily be used to communicate between a PC and various devices supporting this type of protocol like PIC microcontrollers, GPS, GSM modem etc. While other interfaces like Ethernet, FireWire, and USB all send data as a serial stream, the term “serial port” usually identifies hardware more or less compliant to the RS-232 standard, intended to interface [...]

Read more...

PIC Microcontroller Communication with I²C Bus – XC8

The I²C or Inter-Integrated Circuit is a serial communication and allows multiple devices to communicate with a micocontroller(s) over only two wires. The devices don’t have to be identical as long as they support I²C protocol. In our illustration, the first device with address 1 is a digital temperature sensor, the second one is a real time clock and the third one is a serial LCD display and the bus could carry on even more devices. Communication takes place from the [...]

Read more...

PIC Microcontroller Communication with SPI Bus – XC8

The SPI or Serial Peripheral Interface is a synchronous serial communication and allows multiple devices to communicate with a micocontroller(s). There are many devices that support the SPI protocol and can easily communicate with a microcontroller via SPI: A/D converters, D/A converters, SD Cards, DS1306 Real Time Clocks, MAX7219 serial display drivers, 25LC256 Serial EEPROM, etc. The devices don’t have to be identical as long as they support SPI protocol. In this article we are going to configure the SPI Peripheral [...]

Read more...

RS232 Serial Communication with PIC Microcontroller – Flowcode

RS232 serial communication is one of the oldest communication where data is sent or received one bit at a time. This protocol can easily be used to communicate between a PC and various devices supporting this type of protocol like PIC microcontrollers, GPS, GSM modem etc. While other interfaces like Ethernet, FireWire, and USB all send data as a serial stream, the term “serial port” usually identifies hardware more or less compliant to the RS-232 standard, intended to interface [...]

Read more...

Introduction to Graphical User Interface (GUI) for Microcontrollers

A graphical user interface (GUI) is one of the ways to interface between your microcontroller and a personal computer (PC) operated by a human with 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. GUI can also be used to interface with other external devices located in different places. There are a [...]

Read more...

PIC Microcontroller Communication with SPI Bus – MikroC

The SPI or Serial Peripheral Interface is a synchronous serial communication and allows multiple devices to communicate with a micocontroller(s). There are many devices that support the SPI protocol and can easily communicate with a microcontroller via SPI: A/D converters, D/A converters, SD Cards, DS1306 Real Time Clocks, MAX7219 serial display drivers, 25LC256 Serial EEPROM, etc. The devices dont have to be identical as long as they support SPI protocol. MikroC Pro for PIC

Read more...

PIC Microcontroller Communication with I2C Bus – MikroC

The I2C or Inter-Integrated Circuit is a serial communication and allows multiple devices to communicate with a micocontroller(s) over only two wires. The devices don’t have to be identical as long as they support I²C protocol. Communication takes place from the master (PIC) to the individual selected slave only as shown in this illustration, the master sends data to the slave address 2 only. I²C with MikroC Pro for PIC

Read more...

USB Communication with PIC Microcontroller

Many computers especially portable ones do not have a serial port (COM Port) anymore. When a connection to a Personal Computer (PC) is required, a USB is the choice. The Universal Serial Bus (USB) is the widely used interface in electronic consumer products today. Most of electronic devices have at least one USB port on them, this include PCs, cameras, GPS devices, printers and so on. Some PIC18 microcontrollers support USB interface directly. 16bits (PIC24) and 32-bits (PIC32) pic microcontrollers [...]

Read more...

USB Human Interface Device Communication with PIC Microcontroller – MikroC

The HID device class code is “0x03, this class is used for devices operated by human, devices like keyboard, mouse, joystick and so forth. The advantage of HID devices is that, they don’t require to install drivers, in most modern operating systems, the device will be detected without any problem. The USB HID protocol allows a personal computer to recognize a USB HID connected to it without the need to create a device driver, this is the same like when you [...]

Read more...
Select your currency
EUR Euro
USD United States (US) dollar