Circuit Lake

Electronic Project and Circuit Collection

Simple USB to CAN interface

02/06/2013 Category: Interfacing, PIC, USB

This simple USB to CAN interface, named as USBtin, can be used to monitor CAN busses and transmit CAN messages. It implements the USB CDC class and creates a virtual comport on the host computer. The interface is controlled with simple commands over this serial port. The commands to USBtin can be sent with any serial terminal program such as de HTerm (freeware) which available for Windows and Linux OS.

CAN USB Interface

The project is built based on PIC18F14K50 microcontroller and MCP2515 IC, a stand-alone CAN controller with SPI interface. It is self powered from USB Port, so no external power supply is required. Firmware & Schematic