After doing my first USB experiments, I have connected a TC74 I²C temperature sensor to the PIC18F4550.
![](http://www.janwagemakers.be/pics/PIC18F4550+TC74_schematic.png)
The PIC18F4550 reads the temperature of the TC74 via I²C and makes it available through the USB port.
![](http://www.janwagemakers.be/pics/PIC18F4550+TC74.jpeg)
When connected to a PC, it is possible to read the current temperature with the program ./pc/temp.
![](http://www.janwagemakers.be/pics/TC74_temp_console.jpeg)
The source is available here, or you can download a tar.gz with all the files.