User Tools

Site Tools


can-gc4-en

Differences

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


Previous revision
can-gc4-en [2025/04/03 13:09] (current) – [RFID Readers] phg
Line 1: Line 1:
 +====== CAN-GC4 CANBUS 8 Channel RFID ======
 +[[english|{{  rocrail-logo-35.png}}]]
 +[[:english|Content]] -> [[:hardware-en|Hardware]] -> [[:hardware-en#gca-cbus|CANBUS]]
 +  * [[:cbus:overview-en|CAN-GC Overview]]
 +  * [[: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]]
 +    * [[:cangc4-firmware-en|Firmware]]
 +
 + \\
 +
 + \\
 +Latest developments have proved that use of RC522 with 13,56 MHZ NFC is much cheaper to use.\\
 +Also, there very thin and cheap Tags available for this.\\
 +The used RC522 sensor boards a passive type so the need of an extra simple interface is required.\\
 +See for a more detailed descrioption at **[[gca41-en|GCA41]]**.\\
 + 
 +
 + \\
 +
 +
 +===== Features =====
 +  * 8 channel RFID reader input using the same type as **[[rfid12-en|MERG ID12/ID20]]**.
 +**OR**
 +  * 8 channel RFID reader with **[[gca41-en|GCA41 and RC522 13,56 Mhz RFID unit]]**.
 +  * Connector for various 8 channnel current and Hall-sensor detectors. (GCA93 / GCA94 / GCA173).
 +
 + \\
 +
 +===== Tips for IDxx sensors=====
 +  * The displacement between RFID readers, **ID-12LA**, should be at least 30cm to be able to function.
 +  * The distance between reader and transponder is for small types critical; Create a test environment to test it to find out the best placement.
 +  * See for more information: **[[:sensor-bi-directional-en|Bi-Directional Communication]]**.
 +\\
 +
 +===== Tips for GCA41 with RC522 RFID sensors =====
 +  * See **[[gca41-en|GCA41]]** for more details.
 +  * In addition to installing the RC522 sensor right under the track, there is a small pcboard coil available from GCA.
 +  * See **[[gca:gca-index-en#antenna_for_rc522_n-scale|N-scale coil]]**.
 +
 + \\
 +
 +===== Description =====
 +Merg did a fine job in combining 8 RFID sensors attached to one board and from there read all sensors and send a completed number over the serial port to a PC.\\
 +This board is stepping a bit further by doing the same thing and in addition has CAN on board so the separate RS232 port is no longer needed.\\
 +The received numbers are simply send via the CAN BUS.\\
 +
 +Allthought Rocrail can handle also the MERG RFID concentrator, connected to a serial or USB port, this CAN-GC4 is a bit more easy to connect.\\
 +To power all connectable 8 RFID sensors, the board needs a power supply of approx 0.25Amp at 5V.\\
 +For a linear regulator 5Volt , this is way too much for continuous functioning.\\
 +The CAN-GC4 steps down the 12 Volt as available in the CAN network by means of switching power supply.\\
 +It saves energy and also avoid hot parts on the board.\\
 +
 +
 +
 + \\
 +
 +
 +
 +===== LEDs & Connectors=====
 +{{:cbus:cangc4-leds.jpg?500}}\\
 +
 + \\
 +====LEDs====
 +^ LED# ^ Function ^ Aspect ^ Remark ^
 +|  1 | CAN activity | random flashing | Depends on CAN traffic |
 +|  2 | Run | continuos | The board does not function if this LED does not illuminate |
 +|  3 | Learning mode | 500ms blinking | Activated by push button or Rocrail setup. |
 +|  3 | RFID checksum error or the ID is not in the list of allowed RFIDs. | One shot flash |   |
 +
 + \\
 +====Connectors====
 +^ Name ^ Function ^
 +|  Rf1-Rf8  |  RFID readers.  |
 +|  J4  |  Optional for current detection GCA93.  |
 +|  ICSP1  |  PIC Programmer.  |
 +|  J3  |  CAN BUS with 12V connection.  |
 +|  J1  |  CAN-GC connector out  | 
 +|  J2  |  CAN-GC connector in  |
 + \\
 +===== PSK header connectors =====
 +Refer to: **[[PSK-Interface connections-en|Connection interfaces]]**
 +
 +\\
 +===== Hardware =====
 +|{{:cbus:can_gc4_v1_1_sch.pdf|The schematics}}   |
 +|{{:cbus:can-gc4-pcb.pdf|The pcboard with parts positions}}   |
 +|{{:cbus:can-gc4-parts.pdf|The Bill Of Materials}}   |
 +|{{:cbus:can-gc4-gerber.zip|The GERBER files for the PCBoard}}   |
 +^ N.B. Only complete ordered kits will be supported! ^
 + \\
 +
 +===== Files =====
 +  * **[[:cangc4-firmware-en#hex|Firmware]]**
 +  * [[https://github.com/rocrail/GCA/tree/master/cbus/cangc4|Sources]]
 +
 + \\
 +<html><a name="setup"/></html>
 +
 +===== Setup =====
 +| {{:cbus:cangc4-cbus-setup.png}} |
 +
 +====RFID sensors====
 +CAN-GC4 RFID concentrator can connect up to 8 GCA41 with a RC522 each.\\
 +
 +
 +====BK Column====
 +The 8 block occupation detectors, GCA93, GCA94 or GCA173, can be assigned an address used for CAN BUS events.¹\\
 +
 +====Allowed RFID Column====
 +Used in combination with the Check RFIDs option for generating only events for IDs set in this list.\\
 +Starting with revision 3458 the RFIDs must be set in [[http://en.wikipedia.org/wiki/Dot-decimal_notation|dot-decimal notation]].\\
 +"5555" would be "0.0.0.21.179". The easiest way is to copy the dotted RFIDs from the Rocrail server trace.\\
 +
 +====Options====
 +See **[[cangc4-firmware-en#node_configuration_byte|Configuration byte]]**. \\
 +
 +===Save RFIDs===
 +Used for SoD; Use with care → Old information is reported!\\
 +
 +===Check RFIDs===
 +The incoming RFID must be in the list of allowed RFIDs for generating a CAN BUS event.\\
 +
 +===Release RFIDs===
 +An event with OPC_ASOF is send after 2 seconds to release the related sensor.\\
 +
 +===Accessory events instead of RFID events!!!===
 +| :!: __No RFID event is generated if this option is active!__ |\\
 +For use in combination with check RFIDs to trigger an output on the CAN-GC2.\\
 +
 +
 +
 +
 + \\
 +¹) //In Rocrail this is the sensor address.//\\
 +
 + \\
 +
 +=====RFID Notation=====
 +The RFID(Identifier) is formatted as [[http://en.wikipedia.org/wiki/Dot-decimal_notation|dot-decimal notation]] with 5 parts: \\
 +^ Dot-Decimal ^ Hexadecimal ^ Decimal ^
 +| 255.255.255.255.255 | 0xFFFFFFFFFF | 1099511627775 | \\
 +{{:cbus:rfid-dotted.png}}\\
 +Rocrail server trace with activated monitor level:
 +<code>
 +20120328.181017.123 r9999c cbreader CAN BUS    0889 RFID short event 107 id=4.23.30.250.15
 +</code>
 +See also: **[[:loc-gen-en#code|Loco code]]**\\
 +
 + 
 +
 +=====RFID Readers=====
 +
 +===ID12/ID20 125 kHz RFID sensor===
 +{{ http://id-innovations.com/httpdocs/assets/immage/id12new.jpg}}
 +This sensor Used by MERG has a type indication of "5 RFID". (3472+\\
 +**Links :**
 +  * http://id-innovations.com/httpdocs/ID-3LA,ID-12LA,ID-20LA.pdf
 +  * http://id-innovations.com/
 +  * http://www.merg.org.uk/kits.php
 +  * http://www.soselectronic.de/?str=319&producer=ID%20INNOVATIONS
 +Non of the recommended IDxx readers and tags can be ordered from GCA.\\
 +\\
 +===RC522 13,56 MHz RFID sensor (in combination with GCA41).===
 +{{  :gca:gca41_pict01.gif?100}} 
 +This unit has extended possibilities, compared with the IDxx types.\\
 +The most imporatant one is a better protection to distorsion from the running motor in the loc.\\
 +For description of GCA41 and RC552 RFID sensors please refer to **[[gca41-en|GCA41]]**\\
 +GCA41 kit (NOT included Arduino Nano) and RC522 + tags are available from [[www.phgiling.net|GCA.]]\\
 +
 + \\
 +
 +
 +
 +