Page 1 of 1
CAN switch Board documentation
Posted: Sat Dec 30, 2017 10:48 pm
by thokes82
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
Re: CAN switch Board documentation
Posted: Sat Dec 30, 2017 11:30 pm
by jgm
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:

- CSB_Input_CAN.png (8.43KiB)Viewed 2016 times
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
Posted: Mon Jan 01, 2018 3:19 pm
by thokes82
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.
Re: CAN switch Board documentation
Posted: Mon Jan 01, 2018 5:50 pm
by jgm
Great news,
Happy New Year
Regards, Jasiek