User Tools

Site Tools


can-gca2a-en

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
can-gca2a-en [2019/02/09 12:22]
phg [CAN-GC2a Universal 16/14 port I/O node for CANBUS]
can-gca2a-en [2020/07/02 18:53] (current)
rjversluis
Line 18: Line 18:
  \\  \\
  
-The CAN-GC2a is an alternative to the CAN-GC20 with almost the same capabilities running on the mergCBUS ​open source CAN standard. \\+The CAN-GC2a is an alternative to the CAN-GC2 with almost the same capabilities running on the CANBUS ​open source CAN standard. \\
 This unit uses an Arduino nano processor board, instead of the PIC processor.\\ This unit uses an Arduino nano processor board, instead of the PIC processor.\\
 Since there is still some development going on, please keep coming back here.\\ Since there is still some development going on, please keep coming back here.\\
Line 28: Line 28:
 ===== The pcboard ===== ===== The pcboard =====
    
-A jumper makes it possible to set terminator on the last board in the mergCBUS ​chain.\\ +A jumper makes it possible to set terminator on the last board in the CANBUS ​chain.\\ 
-This jumper connects a 120 Ohm resistor to the mergCBUS.\\+This jumper connects a 120 Ohm resistor to the CANBUS.\\
 White connectors at the back are compatible with all [[:​mgv-overview-en|GCA(MGV)xx interfaces]].\\ White connectors at the back are compatible with all [[:​mgv-overview-en|GCA(MGV)xx interfaces]].\\
-These interfaces are mostly electrical isolated from mergCBUS ​by optocouplers.\\ +These interfaces are mostly electrical isolated from CANBUS ​by optocouplers.\\ 
-Power, as available in mergCBUS-cable, is only used for supply of mergCBUS ​board itself.\\+Power, as available in CANBUS-cable, is only used for supply of CANBUS ​board itself.\\
 As a standard recommandation for all CAN systems, connection and disconnection of cables is not possible while system is running.\\ As a standard recommandation for all CAN systems, connection and disconnection of cables is not possible while system is running.\\
 Using this cheap and rigid d-type connector with locking screws will avoid that connectors drop off accidently.\\ Using this cheap and rigid d-type connector with locking screws will avoid that connectors drop off accidently.\\
Line 42: Line 42:
 Even digital input is not directly possible, but the software will take care for that issue.\\ Even digital input is not directly possible, but the software will take care for that issue.\\
 In practice, it turns out that port 9 and 10 are only available as digital input,\\ In practice, it turns out that port 9 and 10 are only available as digital input,\\
 +
 +
 +===== The sketch for Arduino Nano =====
 +|< >|
 +|  {{ :​gca:​rcan.zip | Th RCAN scetch for CAN-GC2a ​ }}|
  
 ===== Improved supply ===== ===== Improved supply =====
Line 52: Line 57:
   ​   ​
  
 +
 +
 +===== The Arduino sketch =====
 +|< >|
 +|  {{ :​gca:​rcan.zip |The RCAN Arduino sketch for CAN-GC2a}} ​ |
 +\\
  
 ===== The hardware ===== ===== The hardware =====
Line 140: Line 151:
  
 ====Save output state==== ====Save output state====
-Write the output state in EEPROM after detecting a **power off command** on the mergCBUS.\\+Write the output state in EEPROM after detecting a **power off command** on the CANBUS.\\
 The outputs will be restored after the [[:​can-gca2a-en|CAN-GC2a]] is powered on.\\ The outputs will be restored after the [[:​can-gca2a-en|CAN-GC2a]] is powered on.\\
  
Line 165: Line 176:
 | **BK** | Block | Input with a 2 seconds delayed off. (±50ms) | Occupancy detectors. | | **BK** | Block | Input with a 2 seconds delayed off. (±50ms) | Occupancy detectors. |
 | **SW** | Switch | Continuous output. | Single coil switch drivers like servos. | | **SW** | Switch | Continuous output. | Single coil switch drivers like servos. |
-| **PU** | Pulse | Output with x ms activation time. (±50ms) | Note: A [[:​switch-int-en#​switch_time|software timed off]] is not possible with mergCBUS; It is realized in the hardware. | \\+| **PU** | Pulse | Output with x ms activation time. (±50ms) | Note: A [[:​switch-int-en#​switch_time|software timed off]] is not possible with CANBUS; It is realized in the hardware. | \\
  
 ====Pulse time==== ====Pulse time====
can-gca2a-en.1549711358.txt.gz · Last modified: 2019/02/09 12:22 by phg