Professional Documents
Culture Documents
com)
(https://twitter.com/elprocus)
(https://www.facebook.com/elprocus)
(http://www.youtube.com/user/elprocus)
(https://plus.google.com/107952778210884406806/posts)
(http://feedburner.google.com/fb/a/mailverify?
uri=elprocus)
(http://feeds.feedburner.com/elprocus)
Home (https://www.elprocus.com)
Communication
(https://www.elprocus.com/communication/)
Communication
(https://www.elprocus.com/communication/)
2 Comments
(https://www.elprocus.com/controller-area-networkcan/#comments)
(https://www.elprocus.com/wpcontent/uploads/2013/08/controller.png)
Image source theremino
(http://www.theremino.com/wpcontent/uploads/2012/02/CAN_ISO11898.jpg)
(https://www.elprocus.com/wpcontent/uploads/2013/08/Controller-
Redundancy
Check.
It
(https://www.elprocus.com/wpcontent/uploads/2013/08/Controller-areanet.png)
Image source digital.ni
(http://digital.ni.com/public.nsf/$CXIV/ATTACHAEEE8P65LW/$FILE/CAN%20Bus%20Picture.JPG)
(https://www.elprocus.com/wpcontent/uploads/2013/08/controller-areanetwork.png)
CAN for vehicles by Hugo Provencher. The two
wires CANH and CANL are at normally 2.5V
determined by the two transistors and the 2.5V
voltage source. Basically the dierence
between the two wires should always be 0. The
driver control determines the voltage applied to
the CANH and CANL wires. When both the
transistors are conducting, the voltage drop
across the 1st transistor and the diode is 1.5V,
making the CANH wire pull up to 3.5V. The
voltage drop across the 2nd transistor and the
diode is 1V, making the CANL wire pull down to
1.5V.The diodes are used for high voltage
protection. The receiver is a discriminator
circuit which gives an output of 1 when the two
inputs CANH and CANL are same and a output
of 0 if the two inputs are dierent. The TXD
dominant block is used for ground fault
protection and the Thermal shutdown block
disables the driver control if the diodes and the
transistors get overheated.
Advantages of CAN:
(https://www.elprocus.com/wpcontent/uploads/2013/08/Controller-areanetwork-cir1.jpg)
Image Source Edgefx Kits
(http://www.edgefxkits.com)
The
basic
application
consists
of
3
microcontrollers communicating with each
other using two wires as in a CAN network. The
1st microcontroller is interfaced with a keypad,
the 2nd with a LCD and the third with a buzzer
and a relay operating a lamp. When a password
is entered in the keypad, the 2nd
microcontroller acts as a receiver and receives
the transmitted message bit by bit from the 1st
transmitter and displays the message on the
LCD. When the whole message is transmitted,
the 2nd microcontroller makes the verication
and if the password is wrong, it sends a signal
to the 3rd microcontroller, which in turn sends
buzzer is turned on with this signal. When the
password is right, the 3rd microcontroller
switches on the relay which in turn switches on
the lamp.