Difference between revisions of "CAN"

From ElectroDragon
Jump to navigation Jump to search
(Documents)
(Redirected page to Category:CAN)
(Tag: New redirect)
 
(22 intermediate revisions by the same user not shown)
Line 1: Line 1:
== ICs ==
+
#redirect [[category: CAN]]
* [http://pdf1.alldatasheet.com/datasheet-pdf/view/19756/PHILIPS/TJA1050T.html TJA1050T] Transceiver
 
* [http://pdf1.alldatasheet.com/datasheet-pdf/view/82990/PHILIPS/TJA1040T.html TJA1040T/N1] Transceiver
 
* [http://pdf1.alldatasheet.com/datasheet-pdf/view/18120/PHILIPS/PCA82C251T.html PCA82C251T/YM] for 24V system transceiver
 
* [http://pdf1.alldatasheet.com/datasheet-pdf/view/185375/TI/SN65HVD230DR.html SN65HVD230DR] TI 3.3V Tranceiver
 
* [[:File:MCP2515.pdf|MCP2515-I/SO Tranceiver/Controller]]
 
 
 
== Tutorial ==
 
* [https://www.youtube.com/watch?v=4SgW64d_fbE CAN control by arduino video]
 
== Pin definition ==
 
* VCC - 5V power input pin
 
* GND - power ground pin
 
* CS - SPI SLAVE select pin (Active low)
 
* SO - SPI master input slave output pin
 
* SI - SPI master output slave input pin
 
* SCLK - SPI clock pin
 
* INT - MCP2515 interrupt pin
 
 
 
=== Interface ===
 
* J1 120R resistor terminal selection
 
* J2 CANH, CANL KF301-2P Block Output
 
* J3 CANH, CANL pin output
 
== Schematic ==
 
<gallery>
 
File:CAN2515 Schematic.png |MCP2515
 
File:TJA1050.png | TJA1050
 
File:SN65HVD230_SCH.png | SN65HVD230 SCH
 
File:Can_uccb_sch_(2).jpg | CAN USB Reference SCH 01
 
File:Can-usb_sch.png | CAN USB SCH 02
 
</gallery>
 
 
 
== CAN USB ==
 
[[File:2018-09-25 153651.png|thumbnail| CAN UCCB Commands]]
 
UCCB firmware
 
<source lang="c">
 
000005: C  (send close command)
 
000006: v  (ask for firmware version)
 
000007: v0102 (get version number from device)
 
000008: V  (ask for hardware version)
 
000009: V0101
 
000010: N 
 
000011: N16000000
 
000012: W2D00
 
000013:
 
000014: S8  (set speed to 1000000 b/s)
 
000015:
 
000016: O  (open CAN for frame transmission and reception)
 
000017:
 
000018: t00181122334455667788 (transmit frame type standard id = 1 length 8 bytes)
 
000019: z
 
000020: t0890
 
000021: M00007000000010000000010    (set id filter for ID=1 and ID=1)
 
</source>
 
 
 
== Documents ==
 
* [[:File:CAN.zip|Arduino Demo Code]]
 
* [https://github.com/Edragon/CAN_BUS_Shield Compatible with arduino library this one.]
 
* cantact link - https://github.com/linklayer/cantact-hw
 
* Canable link - https://canable.io/getting-started.html
 
* UCCB link - https://ucandevices.github.io/uccb.html
 
[[category: Interface]]
 

Latest revision as of 05:17, 19 November 2019

Redirect to: