Difference between revisions of "CAN BUS Tutorial"

From Embedded Systems Learning Academy
Jump to: navigation, search
(Created page with "== CAN BUS == <font color="red"> This article is under construction </font> === CAN BUS Frame === === Transceiver === Unlike other BUSes that can be up and running without a...")
 
Line 1: Line 1:
 
== CAN BUS ==
 
== CAN BUS ==
 
<font color="red"> This article is under construction </font>
 
<font color="red"> This article is under construction </font>
 +
<BR/>
 +
CAN BUS (Controller Area Network) is a very deterministic BUS heavily used in the automotive industry.  It is a half-duplex BUS, that operates using a pair of differential signals.  Typically, the speed standards are 100K, 250K, 500K or 1Mbit.
  
 
=== CAN BUS Frame ===
 
=== CAN BUS Frame ===
 +
TODO
  
 
=== Transceiver ===
 
=== Transceiver ===
 
Unlike other BUSes that can be up and running without any external hardware, CAN BUS '''REQUIRES''' a voltage transceiver that converts logical Rx/Tx pins into a single differential pair wire that is hooked up on the CAN BUS.
 
Unlike other BUSes that can be up and running without any external hardware, CAN BUS '''REQUIRES''' a voltage transceiver that converts logical Rx/Tx pins into a single differential pair wire that is hooked up on the CAN BUS.
 +
 +
<BR/>
 +
== OBDII ==
 +
OBDII standard uses CAN BUS to communicate to the ECU.  You can connect a CAN controller to an OBDII port easily by using an [https://www.sparkfun.com/products/10087 OBDII to Serial] cable.  Since this kind of cable doesn't convert the CAN voltage signals to logical signals that a microcontroller can understand, you would also need an MCP2561 based transceiver which would allow your controller to be interfaced to an OBDII port.
  
 
<BR/>
 
<BR/>
 
== Resources ==
 
== Resources ==
 
=== External Resources ===
 
=== External Resources ===
*  [[File:CAN_AN10674.pdf|LPC2000 CAN BUS Appnote]]
+
LPC2000 CAN BUS Appnote
*  [[File:CAN_keil_primer_v2.pdf|Keil CAN BUS Primer]]
+
*: [[File:CAN_AN10674.pdf]]
*  [[File:CAN_microchip_appnote.pdf|Microchip CAN BUS Appnote]]
+
Keil CAN BUS Primer
 +
*: [[File:CAN_keil_primer_v2.pdf]]
 +
Microchip CAN BUS Appnote
 +
*: [[File:CAN_microchip_appnote.pdf]]

Revision as of 16:37, 2 October 2013

CAN BUS

This article is under construction
CAN BUS (Controller Area Network) is a very deterministic BUS heavily used in the automotive industry. It is a half-duplex BUS, that operates using a pair of differential signals. Typically, the speed standards are 100K, 250K, 500K or 1Mbit.

CAN BUS Frame

TODO

Transceiver

Unlike other BUSes that can be up and running without any external hardware, CAN BUS REQUIRES a voltage transceiver that converts logical Rx/Tx pins into a single differential pair wire that is hooked up on the CAN BUS.


OBDII

OBDII standard uses CAN BUS to communicate to the ECU. You can connect a CAN controller to an OBDII port easily by using an OBDII to Serial cable. Since this kind of cable doesn't convert the CAN voltage signals to logical signals that a microcontroller can understand, you would also need an MCP2561 based transceiver which would allow your controller to be interfaced to an OBDII port.


Resources

External Resources