User Tools

Site Tools


pi01can-en

Pi01Can CANBUS / RocNet HAT for Raspberry Pi

Description

Thanks to many enthousiastic users of Rocrail araound 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 he created a connection with CBUS and RocNet on one board.
Via Rasberry Pi, it is possible to connect CBUS (CAN) and RocNet via Ethernet.
And of course, Rocail server can run on this Raspberry Pi itself, making a safer use of
Wifi connected Railview client.
Basicly, 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.

Technical

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 ebable or disable the isolation.
When isolation is disabled one power supply of 12V, connected to the screwterminals 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 5Volt 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 continiously,
making it possible to run the Rasberry 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 endss 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 remarks
Jp1 1+2 120 Ohm to CAN only needed at each end of CAN line
JP3 1+2 isolation between RPI and CAN separate 12V(J3)
and 5V (RJ12) needed
JP3 2+3 no isolation only 12V supply(J3)
is sufficient
U1 is not necessary
JP4 1+2 isolation between RPI and CAN separate 12V(J3)
and 5V (RJ12) needed
JP4 2+3 no isolation only 12V supply(J3)
is sufficient
U1 is not necessary



pi01can-en.txt · Last modified: 2018/12/12 16:58 by phg