Blink Marine Racepad User Manual

J1939 communication protocols
Hide thumbs Also See for Racepad:
Table of Contents

Advertisement

Quick Links

Summary:
1.
How to connect the wires: ................................................................................................................ 3
2.
Reference ........................................................................................................................................... 4
3.
Mounting instructions ....................................................................................................................... 5
4.
Message header description ............................................................................................................. 7
5.
General Data Format ......................................................................................................................... 7
6.
Default Settings ................................................................................................................................. 8
7.
Key Contact state (01h) ..................................................................................................................... 9
8.
Encoder 1 state message (02h) ....................................................................................................... 10
9.
Encoder 2 state message (03h) ....................................................................................................... 11
10.
Encoder 3 state message (04h) ....................................................................................................... 12
11.
Encoder 4 state message (05h) ....................................................................................................... 13
12.
Analog input message (06h) ............................................................................................................ 14
13.
Digital input message (0Ah) ............................................................................................................. 15
14.
Key and Ring encoder LED command (01h) .................................................................................... 16
15.
Encoder and Central LED command (0Ah) ...................................................................................... 17
16.
Enable/Disable Encoder state message (0Bh) ................................................................................. 17
17.
Enable/Disable backlight (03h) ........................................................................................................ 18
18.
Set startup keys message(28h) ........................................................................................................ 18
19.
Get software revision (2Ah) ............................................................................................................. 19
20.
Set startup LED show (34h) ............................................................................................................. 19
21.
Set startup encoder 1 tick counter value (61h) ............................................................................... 20
22.
Set startup encoder 2 tick counter value (62h) ............................................................................... 20
23.
Set startup encoder 3 tick counter value (63h) ............................................................................... 21
24.
Set startup encoder 4 tick counter value (64h) ............................................................................... 21
25.
Set analog input message period (6Ah) ........................................................................................... 22
26.
Set TOP position encoder 1 (6Bh) .................................................................................................... 22
27.
Set TOP position encoder 2 (6Ch) .................................................................................................... 23
28.
Set TOP position encoder 3 (6Dh) ................................................................................................... 23
29.
Set TOP position encoder 4 (60h) .................................................................................................... 24
30.
Set Destination Address (6Eh) ......................................................................................................... 24
31.
Baud rate setting (6Fh) .................................................................................................................... 25
1/37
Racepad_J1939UM_REV1.0
Racepad
J1939 User Manual

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Racepad and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Blink Marine Racepad

  • Page 1: Table Of Contents

    Racepad J1939 User Manual Summary: How to connect the wires: ........................ 3 Reference ............................4 Mounting instructions ........................5 Message header description ......................7 General Data Format ......................... 7 Default Settings ..........................8 Key Contact state (01h) ........................9 Encoder 1 state message (02h) ....................... 10 Encoder 2 state message (03h) .......................
  • Page 2 Set Source Address (70h) ......................... 25 Periodic key-state transmission (71h) ..................... 26 Event state transmission (72h) ......................27 LED Acknowledgment (73h) ......................27 Address Claim at boot (74h) ......................28 Heartbeat message (75h) ........................ 29 Key-state message period (77h) ...................... 30 Start Demo mode(7Ah)........................
  • Page 3: How To Connect The Wires

    1. How to connect the wires: Power Supply Connector Manufacturer TE Connectivity / Deutsch Amphenol Connector p/n DTM04-4P ATM04-4P Mating Connector Connector p/n DTM06-4S ATM06-4S Wedgelock p/n WM4S AWM4S Terminals 0462-201-20141 AT62-201-20141 COLOUR FUNCTION Blue CAN L White CAN H Black Negative battery Vbatt.
  • Page 4: Reference

    2. Reference Racepad www.blinkmarine.com Racepad_J1939UM_REV1.0 4/39...
  • Page 5: Mounting Instructions

    1: fasten the metal plate to the steering wheel by clamping the six screws. 2: assemble the Racepad to the steering wheel by fastening the M5 screws along the four holes of the metal plate and the backshell. Bend the wires to the preferred side to simplify the installation on the steering wheel.
  • Page 6 3: plug the connectors to complete the installation. www.blinkmarine.com Racepad_J1939UM_REV1.0 6/39...
  • Page 7: Message Header Description

    4. Message header description The 29-bit CAN identifier used in J1939 is structured in the following way. Priority Reserved Data Page PDU Format PDU Specific Source Address 3 bits 1 bit 1 bit 8 bits 8 bits 8 bits The proprietary format used by PKP keypads is defined as follows: Priority = 6.
  • Page 8: Default Settings

    6. Default Settings Setting Default state or level How to change CAN bus baud rate 250 kbit/s Command 6Fh Source address Command 70h Keypad identifier Command 70h Destination address Command 6Eh Heartbeat Disabled Command 75h Periodic key-state message transmission Disabled Command 71h Key-state message period 100ms...
  • Page 9: Key Contact State (01H)

    7. Key Contact state (01h) This message is sent by the keypad to indicate the state of the keys. The destination address is set to FFh: broadcast message. See chapter 2 for Key number reference. Byte 0 Header bytes Byte 1 Byte 2 Key Contact state Byte 3...
  • Page 10: Encoder 1 State Message (02H)

    8. Encoder 1 state message (02h) This message is sent by the keypad to indicate the state of the encoder 1. The destination address is set to FFh: broadcast message. Note: the encoder 1 is identified with the key number 9. See chapter 2 for further details.
  • Page 11: Encoder 2 State Message (03H)

    9. Encoder 2 state message (03h) This message is sent by the keypad to indicate the state of the encoder 2. The destination address is set to FFh: broadcast message. Note: the encoder 2 is identified with the key number 10. See chapter 2 for further details.
  • Page 12: Encoder 3 State Message (04H)

    10. Encoder 3 state message (04h) This message is sent by the keypad to indicate the state of the encoder 3. The destination address is set to FFh: broadcast message. Note: the encoder 3 is identified with the key number 11. See chapter 2 for further details.
  • Page 13: Encoder 4 State Message (05H)

    11. Encoder 4 state message (05h) This message is sent by the keypad to indicate the state of the encoder 4. The destination address is set to FFh: broadcast message. Note: the encoder 4 is identified with the key number 12. See chapter 2 for further details.
  • Page 14: Analog Input Message (06H)

    12. Analog input message (06h) This message transmits periodically the analog values with 8-bit resolution of each of the four inputs. The default transmission period is 80ms, but it is possible to change by the configuration command Set analog input message period (6Ah).
  • Page 15: Digital Input Message (0Ah)

    13. Digital input message (0Ah) By this command message, it is possible to read the digital input value. Note: please refer to chapter 1 for the connector pinout. Note 2: it is possible to connect up to 4 inputs 0-5V. For application examples please refer to Appendix Warning: the input voltage range is from 0V to 5V.
  • Page 16: Key And Ring Encoder Led Command (01H)

    14. Key and Ring encoder LED command (01h) The following message sent to the keypad allows to switch on/off the Key-LED indicators and the ring LEDs around each of the four encoders. NOTE: the available colors for the Key-LEDs are shown in the table below. NOTE 2: the only available ring LEDs color is blue.
  • Page 17: Encoder And Central Led Command (0Ah)

    15. Encoder and Central LED command (0Ah) The following message sent to the keypad allows to switch on/off the encoder and central LED indicators with the state shown in the table below. NOTE: the default brightness level for this group of LEDs can be adjusted by the configuration command 69h.
  • Page 18: Enable/Disable Backlight (03H)

    17. Enable/Disable backlight (03h) This message allows to switch on/off the backlight LEDs around the keys, the encoders and the logo (where applicable). NOTE: the setting is kept at the startup. NOTE 2: the default Key-LED backlight brightness level can be adjusted by the configuration command 7Bh.
  • Page 19: Get Software Revision (2Ah)

    Get software revision (2Ah) Byte 0 Header bytes Byte 1 Byte 2 Get software revision Byte 3,7 Not used Answer: Byte 0 Header bytes Byte 1 Byte 2 Get software revision Byte 3,6 XXh XXh XXh XXh SW revision ASCII Byte 7 Not used Example...
  • Page 20: Set Startup Encoder 1 Tick Counter Value (61H)

    Set startup encoder 1 tick counter value (61h) The following command allows to set the desired encoder 1 tick counter value at the startup. NOTE: in case the TOP position has been set, if it is selected a startup counter value higher than the TOP position, the counter starts from the TOP position.
  • Page 21: Set Startup Encoder 3 Tick Counter Value (63H)

    Set startup encoder 3 tick counter value (63h) The following command allows to set the desired encoder 3 tick counter value at the startup. NOTE: in case the TOP position has been set, if it is selected a startup counter value higher than the TOP position, the counter starts from the TOP position.
  • Page 22: Set Analog Input Message Period (6Ah)

    Set analog input message period (6Ah) This configuration message allows to disable the periodic transmission or change the default transmission period of the analog input message 06h. Byte 0 Header bytes Byte 1 Byte 2 Set analog input message period XXh: Period in ms ÷...
  • Page 23: Set Top Position Encoder 2 (6Ch)

    27. Set TOP position encoder 2 (6Ch) The following command allows to set the TOP position value for the tick counter of encoder 2. Note: if the value 00h is selected the maximum tick counter value achievable is 65535. Note 2: the encoder 1 is identified with the key number 10. See chapter 2 for further details.
  • Page 24: Set Top Position Encoder 4 (60H)

    29. Set TOP position encoder 4 (60h) The following command allows to set the TOP position value for the tick counter of encoder 4. Note: if the value 00h is selected the maximum tick counter value achievable is 65535. Note 2: the encoder 4 is identified with the key number 12. See chapter 2 for further details.
  • Page 25: Baud Rate Setting (6Fh)

    31. Baud rate setting (6Fh) This message is used to change the baud rate of the CAN bus. Connecting only one keypad to the bus when changing the baud rate is recommended. If an invalid value is chosen, then no change is done to the stored value.
  • Page 26: Periodic Key-State Transmission (71H)

    33. Periodic key-state transmission (71h) This message enables or disables the periodic transmission of the Key state. When enabled, one contact state message is periodically sent for each button of the keypad. The period is set to 100ms as default value but can be changed by the command 77h.
  • Page 27: Event State Transmission (72H)

    34. Event state transmission (72h) This message enables or disables event-driven keys/encoders state messages transmissions. When this feature is enabled, the keypad transmits the state at the time when a key or encoder changes its state. Byte 0 Header bytes Byte 1 Byte 2 Event state transmission...
  • Page 28: Address Claim At Boot (74H)

    36. Address Claim at boot (74h) This message enables or disables the address claim procedure. Byte 0 Header bytes Byte 1 Byte 2 Address claim at boot Byte 3 00h Disabled (default) 01h Enabled Byte 4,7 Not used Example: Direction Identifier Format Message...
  • Page 29: Heartbeat Message (75H)

    37. Heartbeat message (75h) This command enables or disables the transmission of Heartbeat message. This message is designed to indicate to other devices on the bus that this unit continues to function. Byte 0 Header bytes Byte 1 Byte 2 Heartbeat message Byte 3 00h Disabled (default)
  • Page 30: Key-State Message Period (77H)

    38. Key-state message period (77h) This message sets the period time for the PERIODIC KEY-STATE TRANSMISSION (71h). Byte 0 Header bytes Byte 1 Byte 2 Key-state message period XX: Period in milliseconds ÷ 10 Byte 3 From 05h (50ms) to FEh (2.54 sec) Byte 4,7 Not used Example:...
  • Page 31: Default Key-Led Backlight Brightness Level (7Bh)

    40. Default Key-LED backlight brightness level (7Bh) This message sets the default value of the backlight brightness level. The value can be set from 0 to 3Fh (0-100%) of the brightness range. Byte 0 Header bytes Byte 1 Byte 2 Default Key-LED backlight brightness level XX: Value Byte 3...
  • Page 32: Default Key-Led Backlight Color (7Dh)

    42. Default Key-LED backlight color (7Dh) This message sets the default color of the key-LED backlight. Byte 0 Header bytes Byte 1 Byte 2 Default Key-LED backlight color XX: color 01: red 02: green 03: blue Byte 3 04: yellow 05: cyan 06: magenta 07: white/light blue...
  • Page 33: Default Ring Led Indicators Brightness Level (78H)

    44. Default Ring LED indicators brightness level (78h) This message sets the default value of the ring LED indicators brightness level. The value can be set from 0 to FFh (min-100%) of the LED dimming range. Byte 0 Header bytes Byte 1 Byte 2 Default Ring LED indicators brightness level...
  • Page 34: Default Logo Backlight Brightness Level (7Eh)

    46. Default Logo backlight brightness level (7Eh) This message sets the default value of the logo backlight brightness level. The value can be set from 0 to FFh (0-100%) of the LED dimming range. Byte 0 Header bytes Byte 1 Byte 2 Default Logo backlight brightness level XX: Value...
  • Page 35: Set Can Protocol

    47. Set CAN protocol This set of messages are used to change to the desired CANbus protocol. • Change from CANopen to J1939: Direction Identifier Format Message Data 600h + current CAN ID To Keypad 2B FF 20 01 01 Change to J1939 (default 615h) •...
  • Page 36: Appendix: Demo Mode Instructions

    APPENDIX: DEMO Mode instructions In DEMO Mode you can try the following functions by pressing keys on the Racepad. Entering this mode (opening feature): the key-LED indicators are ON with red color; the encoder LEDs 1-9-17-25 are ON; the ring LED backlight (including logo LEDs if available) is ON Each time you press the key 1 you can change the key-LED backlight color with the following sequence: Red;...
  • Page 37: Appendix 2: Input Application Examples

    APPENDIX 2: Input application examples This chapter shows a list of possible input applications. NOTE: the power supply and ground available on the Input Signal Connector must be used for the external connected devices. 1. Switch high side on input 3: 2.
  • Page 38 3. Digital active signal on input 2: 4. Active analog sensor: • Pressure transducer – signal on input 0 • Hall effect position sensor – signal on input 0 5. The use of passive sensors such as NTC thermistors, potentiometers, and all kind of variable resistors is not recommended! www.blinkmarine.com Racepad_J1939UM_REV1.0...
  • Page 39: Revision History

    48. Revision history Manual Date Comment Revision 17/05/2023 First release www.blinkmarine.com Racepad_J1939UM_REV1.0 39/39...

Table of Contents