User Tools

Site Tools


pi01can-en
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


pi01can-en [2024/04/27 16:02] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +====== PiCan_01 CANBUS / RocNet HAT for Raspberry Pi======
 +[[english|{{  rocrail-logo-35.png}}]]
 +[[:english|Content]] -> [[:hardware-en|Hardware]] -> [[:hardware-en#gca-cbus|CANBUS]]
 +  * [[:cbus:overview-en|CAN-GC Overview]]
 +  * [[:cbus-en|CBUS Rocrail Setup]]
 +  * [[:can-gca1-en|CAN-GC1]] | [[:can-gca1e-en|CAN-GC1e]] | [[:can-gcln-en|CAN-GCLN]] | [[:can-gca2-en|CAN-GC2]] | [[:can-gc3-en|CAN-GC3]] | [[:can-gc4-en|CAN-GC4]] | [[:can-gca5-en|CAN-GC5]] | [[:can-gc6-en|CAN-GC6]] | [[:can-gc7-en|CAN-GC7]] | [[:can-gc8-en|CAN-GC8]]  |  **[[:Pi01Can-en|PiCan_01]]**
 +    * [[:mbus:canservice-en|CANService]]
 +{{  :gca:pican_01_pcb_pict03.jpg?200|}}
 + \\
 +^By Rob Versluis  & Peter Giling^
 + \\
 +====== Description ======
 +Thanks to many enthusiastic users of Rocrail around the world, there is always something new.\\
 +Here is an idea and design of Gerhard Bertelsmann which enables a new approach.\\
 +Using a Raspberry Pi B, an interface was developed to create a connection with CBUS and RocNet on one board.\\
 +Via Raspberry Pi, it is possible to connect CBUS (CAN) and RocNet via Ethernet.\\
 +And of course, Rocrail server can run on this Raspberry Pi itself, making a safer use of Wifi connected Rocview client.\\
 +Basically, this unit combines a CAN-GC1(e) and a GCA_PI01 in one unit.\\
 +Except of course the 12 Volt supply as used with CAN-GC1(e).\\
 +That supply should be created externally, but Pi01Can has the connections available to transport that supply to the CBUS network.\\
 +
 +For combination with Märklin Trackbox and CS2 please refer to [[https://wiki.rocrail.net/doku.php?id=mbus:mbus-en|MBUS]].\\
 +====== Technical ======
 +^Isolated means that there is an opto coupler between the Raspberry Pi and the CAN bus.^
 +The design is able to isolate the Can Network from the Raspberry Pi, so the connected Ethernet will be isolated from Can as well.\\
 +Two jumper are on board to enable or disable the isolation.\\
 +When isolation is disabled one power supply of 12V, connected to the screw-terminals will be sufficient to\\
 +have 12 Volt to the D-connector for CBUS, and also a 5V is created for the Raspberry Pi.\\
 +The DC/DC converter U1 can be omitted in this case.\\
 +When isolated is enabled, the DC/DC converter is needed to supply the isolated side of IC4.\\
 +12 Volt is still needed for the CBUS, and the Raspberry Pi needs 5 Volt supply via RocNet RJ12 socket or via USB .\\
 +IC3 as on this prototype board, is no longer needed, and will be deleted in the final board design.\\
 +The 5V regulator VR1 is a very efficient switching type regulator, which will be able to supply 1 Amp continuously,\\
 +making it possible to run the Raspberry Pi with it.\\
 +IC2 is the CAN converter, communicating with the Raspberry Pi computer via standard SPI.\\
 +Jumper Jp1 is needed if this unit is at one of the ends of the CAN-line.\\
 +\\
 +====== Led indication ======
 +^  Led  ^  Function  ^
 +|  Led1  |  5V isolated section  |
 +|  Led2  |  5V Raspberry Pi  |
 +|  Led3  |  Flashes when RocNet is running 
 +|  Led4  |  'Show' led for RocNet  |
 +\\
 +
 +====== Jumper settings ======
 +^  Jumper  ^  connect  ^  function  ^  remark  ^
 +|  Jp1  |  1+2  |  120 Ohm to CAN  |  only needed at each end of CAN line  |
 +|  JP3  |  2+3  |  isolation between RPI and  CAN  | 
 +|  JP3  |  1+2  |  no isolation  |  U1 is unused 
 +|  JP4  |  2+3  |  isolation between RPI and  CAN  |
 +|  JP4  |  1+2  |  no isolation  |  U1 is unused  |   
 +|  supply 12V(via J2 or J3) \\ or 5V (via J1)  |||  
 +\\
 +====== Hardware ======
 +|< >|
 +|  {{:gca:pican-01_orc_sch.pdf|The schematics}}  |
 +|  {{:gca:pican_01_pcb.pdf|pcboard and parts positions}}  |
 +|  {{:gca:pican_01_parts.pdf|Bill of materials}}  |
 +
 +\\
  
pi01can-en.txt · Last modified: 2024/04/27 16:02 by 127.0.0.1