Advanced PIC18 Projects—USB Bus Projects:USB-Based Microcontroller Input/Output

PROJECT 8.2—USB-Based Microcontroller Input/Output This project is very similar to Project 8.1, except that it includes two-way communication, while in Project 8.1 data to be output on PORTB was sent to the microcontroller. In addition, PORTB data is received from the microcontroller and displayed on the PC. The PC sends two commands to the microcontroller: […]
Continue reading…

 

Advanced PIC18 Projects—USB Bus Projects:mikroC Language USB Bus Library Functions

mikroC Language USB Bus Library Functions The mikroC language supports a number of functions for USB HID-type communications. Each project based on the USB library should include a descriptor source file which contains vendor ID and name, product ID and name, report length, and other relevant information. To create a descriptor source file we can […]
Continue reading…

 

Advanced PIC18 Projects—USB Bus Projects:PIC18 Microcontroller USB Bus Interface

PIC18 Microcontroller USB Bus Interface Some of the PIC18 microcontrollers support USB interface directly. For example, the PIC18F4550 microcontroller contains a full-speed and low-speed compatible USB interface that allows communication between a host PC and the microcontroller. In the USB projects in this chapter we will use the PIC18F4550 microcontroller. Figure 8.8 is an overview […]
Continue reading…

 

Advanced PIC18 Projects—USB Bus Projects:Speed Identification on the Bus

The Universal Serial Bus (USB) is one of the most common interfaces used in electronic consumer products today, including PCs, cameras, GPS devices, MP3 players, modems, printers, and scanners, to name a few. The USB was originally developed by Compaq, Microsoft, Intel, and NEC, and later by Hewlett-Packard, Lucent, and Philips as well. These companies […]
Continue reading…

 

Advanced PIC18 Projects—SD Card Projects:Read CID Register and Display on a PC Screen

PROJECT 7.1—Read CID Register and Display on a PC Screen In this project a SD card is interfaced to a PIC18F452-type microcontroller. The serial output port of the microcontroller is connected to the serial input port (e.g., COM1) of a PC. The microcontroller reads the contents of the card CID register and sends this data […]
Continue reading…