Latest ver. V1220

CAN232 is a dongle that plugs into any PC COM Port, or any other RS232 port in an embedded system and gives an instant CAN connectivity. This means it can be treated by software as a standard COM Port which eliminates the need for any extra drivers. Send and receive can be done in standard ASCII format.

  Dimensions Length: 68mm, Width: 31mm, Height: 16mm.  
  Features The module plugs directly into a standard serial port and provides a standard DB9 male output to CAN systems according to CiA (CAN in Automation) recommendations. It is powered with 8-15VDC through the CAN connector with ESD protection and reveresed power. It consumes max 100mA, but normally not more than 40mA (this depends on BUS load and eventual CAN cable errors etc.). Use your own RS232 LIB/drivers (in e.g. Visual Basic, Deplhi, C++ etc.).  
  Pin assignement

Figure 1: Pin assignement according to CiA recommendations DS102-1.
The CAN232 is powered with +Vin at pin 9 and GND at pin 3.

  How to connect

Figure 2: How to connect CAN232


Free CAN232 Monitor Software including source code in Delphi

CAN232 Monitor software is written in Delphi version 5 and is a simple tool to send and receive CAN frames at any given standard CAN speed and COM port. The software polls the CAN232 automatically at 100mS interval and an eventual frame is automatically listed in the window. It is also possible to send frames from it by setting up an ID, Data length (DLC) and 0 to 8 data bytes in hex. The software comes with full source code and uses a freeware LIB for the RS232 communication (see below for links to the RS232 LIB). This free version is free to use and modify to suit your needs and we cannot give any support on it or the RS232 LIB since it is freeware. To be able to compile and change the code you need the RS232 LIB as well. If you only need the executable file, just download the ZIP file and unpack and run the CAN232.EXE file.

Soon there will be an extended version with full source code as well, which enables faster polling, logging to file and much more plus support from us. All this for a small fee, check back soon for more information.

Download ZIP file with Delphi Project and Executable file (237KB), version 1.05.

Visit Dejan Crnila home page for his excellent TComPort Library for Delphi & BC++.

  Free C++ driver source code

CAN232 Project in C++ for Linux written by Svenn Rönnbäck of Luleå University of Technology in Sweden. This project will use socket communication for the CAN232, so it is actually possible to be anywhere in the world to control the CAN232 through sockets. There will be a JAVA client for it as well soon. More information will be here and also on the link below as the projects delelops. The code is under the GNU licence. There will soon be a readme file there to describe the project more in detail.

These C++ files can be ported to e.g. Windows platform or any other C++ environment, since all source code is included. Currently LAWICEL cannot answer any support reated questions of this project, contact information to the developer will be added in the readme file soon.

Visit the CAN232 Linux C++ Project.

  Free (VB6) Visual Basic sample source code

CAN232 software is written in VB version 6 and is a simple software to demonstrate how to "talk" to the CAN232 in Visual Basic. To be able to compile and change the code you need the VB6. If you only need the executable file, just download the ZIP file and unpack and run the CAN232.EXE file (Note however that you need the VB6 runtime files to be able to run it, we didn't include them here to save space and bandwidth). Instructions are in the frmMain.frm file on how to use the sofware.

Download ZIP file with VB6 Project and Executable file (13KB), version 1.0.0.

  Free C driver source code Coming soon...  
  CAN232 Manual CAN232 Manual  




Copyright 1997-2003 LAWICEL All rights reserved.
Information in this document is subject to change without notice. Other products and companies referred to herein are trademarks or registered trademarks of their respective companies or mark holders.

Last updated on the 28:th of November 2003