Hi, playing with the switch board. How do I activate the outputs? I cannot find the proper CAN definition and the Manual on the website is for the previous version of the board.
Regards, Thomas
CAN switch Board documentation
Re: CAN switch Board documentation
It seems that CAN Switch Board documentation does not cover the input CAN.
So here it is. There are 4 formats configured by jumpers (see documentation).
The Input CAN ID is as follows:
- for Format 0: standard CAN ID: 0x434
- for Format 1: standard CAN ID: 0x434
- for Format 2: standard CAN ID: 0x766
- for Format 3: extended CAN ID: 0xA1BA2F2
DLC of the frame can be 4 or more bytes (4, 5, 6, 7, 8).
Format of CAN frame: If you want to control both LEDs just send following bytes: 1, 1, LED1 State, LED2 State
If you want to control one LED, for example LED1 just send following bytes: 1, 0, LED1 State, 0
LEDx State is either 0 (off) or 1 (on).
So here it is. There are 4 formats configured by jumpers (see documentation).
The Input CAN ID is as follows:
- for Format 0: standard CAN ID: 0x434
- for Format 1: standard CAN ID: 0x434
- for Format 2: standard CAN ID: 0x766
- for Format 3: extended CAN ID: 0xA1BA2F2
DLC of the frame can be 4 or more bytes (4, 5, 6, 7, 8).
Format of CAN frame: If you want to control both LEDs just send following bytes: 1, 1, LED1 State, LED2 State
If you want to control one LED, for example LED1 just send following bytes: 1, 0, LED1 State, 0
LEDx State is either 0 (off) or 1 (on).
Re: CAN switch Board documentation
Thank you very much. Got it working. Great stuff! Your next version should have more outputs... 8 or so.
Keep up the good work and a happy new year.
Keep up the good work and a happy new year.
Re: CAN switch Board documentation
Great news,
Happy New Year
Regards, Jasiek
Happy New Year
Regards, Jasiek