We have just completed another Microchip Regional Training Center Workshop last 2 days. This is quite a special workshop which is the USB. Last week is about PIC18 Architecture and Instruction set, this week is about using PIC18F4550 as a USB device. The workshop is conducted at USM, Nibong Tebal. Though is not full house, we still have 7 participants. Maybe the publicity is not good enough because some of participant complained that they received the news last minutes. We will improve that.
So what is this workshop all about? The title seem to be general, USB from Scratch, we start the discussion on the USB history, USB specification, the Full Speed USB, Architecture/Programmer’s model, physical connection, the communication between USB host and USB device, how can a USB device become “Plug and Play”?, the VID and PID and more.
Not to miss out the PIC18F family that support USB. Microchip offers more than 10 models of PIC18F that support USB, 5V and also 3.3V powered. Not only that Microchip offer the microcontroller that support USB, they also offer the framework for you to modify and develop your own USB device. What more can you asked?
In this workshop, we did 7 lab exercises, starting with very simple step, loading bootloader and demo firmware to USB FS demo board, and run the USB sample program. It was very convincing to notice that you can now load your program using the USB bootloader. We also did some C programming writing using the Microchip library for CDC (Communication Device Class) to simulate a USB to Serial Port.
enough on the writing, let’s see some photos.
During the exercise 2, the demo board will actually display the temperature value from on board temperature sensor, also the analog value from the potential meter. One of the participants is turning the variable resistor to see the changes on computer monitor.
This is very interesting workshop, one of the most motivated workshops I ever did. All the participant would like to get the development and try it when they go back. Some of lecturer even wanted their student to develop USB application in the future, good luck to the student.