Mictronics | Michaels Electronic Projects

USB-CAN Bus

The purpose of this project is a simple and easy to use USB <> CAN bus interface. Heart of the circuit is an Atmel AVR ATmega162 microcontroller which controls the Communication between FTDI FT245BM USB to parallel converter and Philips SJA1000 Stand-alone CAN bus controller.
The SJA1000 is memory mapped into memory space of the AVR, which reduces data and address line handling and increases data transfer speed.
An FT245BM handles all USB communication and provides data transfer from and to PC application. An extra EEPROM can store the multi device template for the FT245BM.
A Philips PCA82C250/251 works as CAN controller interface.

Firmware is written in C, compatible to latest compiler version WinAVR.

The firmware is now compatible to run on a CANDIP module. The download include a pre-compiled firmware file to flash into a CANDIP module. Both pins for LED connection remaining the same.

See the CANDIP homepage for detail of the required hardware CANDIP/M162 .

Documentation and Source code

CAN-Control CAN-Control_v1.0b8.zip Version: 1.08b
22.9 KB 343 Downloads Details...
Documentation Documentation_E.pdf Version: E
34.4 KB 299 Downloads Details...
EEPROM Template Eeprom_Template.zip
550.0 B 108 Downloads Details...
PCB in Gerber Format CAN_BUS_Interface_v2_Gerber.zip
174.2 KB 96 Downloads Details...
PCB in PDF Format pcb_B.pdf
223.7 KB 256 Downloads Details...
Schematic and Board in Eagle CAN_BUS_Interface_v2_Eagle.zip
46.1 KB 838 Downloads Details...
Sourcecode Firmware_v1.07.zip Version: 1.07
37.6 KB 162 Downloads Details...
148.3 KB 516 Downloads Details...

CAN Hacker v2.00.01

Link

Homepage/Forum: www.canhack.de (German language only)

6 comments

  • Erol · 03.07.2010 at 08:22

    hi,

    i have a question about yourCANBUS software.

    your CANBUS software support to DS401 CANopen protocol.

    thanks.

  • Admin comment by Michael · 03.07.2010 at 08:51

    My Software doesn’t support any specific CAN protocol.
    It’s just a simple example to show and send CAN bus data, no further evaluation of these data is done.

  • mut · 06.07.2010 at 01:13

    are there any insructions/documentation for the CAN-Control software?
    mut

  • Admin comment by Michael · 06.07.2010 at 16:58

    Soryy, there exist no documentation so far.

  • EugenPKh · 09.07.2010 at 11:48

    When I use can-usb for read, sametimes blink red diod.
    Why?
    Speed 500k.

  • Admin comment by Michael · 09.07.2010 at 14:37

    Red LED means an error was detected.
    But there are various reason for errors. So may you read the ECR register to see what was the last error.

Leave a Reply

Before you submit form:
Human test by Not Captcha

Theme Design by devolux.nh2.me

My Counter

  • Total Visitors 516,358
  • Visitors today 340
To top