Road Race Rally Analog to CAN Device User Manual

July 30, 2024
Road Race Rally

Road Race Rally Analog to CAN Device

General description

The RRR Analog to CAN device converts analogue signals and transmits them via the CAN bus. The module has ten fully functional 0-5V inputs and a pair of filtered 5V outputs for powering external sensors. The communication protocol is fully standardised in the automotive CAN 2.0A/2.0B standard with the ability to select the baud rate to 500 kbps or 1 Mbps, identifier, endianness change option and fixed 20Hz frames sending rate. The device is equipped with many protections and an additional indicator informing about its current status. Moreover, some inputs are fitted with internal pull-ups with appropriate value resistors, so the connection of external sensors are simplified. Some inputs allow connecting external linear sensors such as MAP, TPS, pressure etc. Also, the connection of additional external pull-ups is possible.

Features summary

  • 12 V supply voltage
  • Communication over CAN on 500 kbps or 1 Mbps bitrate with 20 Hz frames frequency, possibility to select frames ID and endianness (configurable using dip switches)
  • CAN frames with both 10-bit and 8-bit data streams for voltages
  • Ten 10-bit resolution analog inputs, 12V tolerant
  • Two 5V supply outputs 100mA total, for sensors and external pull-ups
  • Reverse polarity-protected 12V input
  • Over-current protection for 12V input and 5V analogue outputs supplies
  • Over-voltage protection for 12V input, 5V analogue outputs supplies and each 5V analogue input
  • One dedicated input for the fuel level sender (100Ω pull-up)
  • One dedicated input for the oil temperature sensor (330Ω pull-up)
  • Four dedicated inputs for temperature sensors (2.2kΩ pull-up’s)
  • Four high-impedance inputs for other sensors
  • Build in CAN 120Ω terminating resistor (switched on via solder pad)
  • Three-colour device state indicator
  • Compact 88.5 mm x 48 mm box enclosure dimensions

Characteristics table

Parameter Min. Typ. Max. Unit
Supply voltage ****

6

| ****

12

| ****

22

| ****

V

Standby supply current| ****

| ****

30

| ****

| ****

mA

5V supply current capability| ****

| ****

| ****

100

| ****

mA

Operating temperature| ****

-40

| ****

| ****

+70

| ****

°C

CAN bitrate| 500| 500| 1000| kbps
CAN frames update rate| ****

| ****

20

| ****

| ****

Hz

Analog inputs resolution| ****

| ****

10

| ****

| ****

bit

Predefined analogue inputs functions

Input # Description Input # Description
Analog #1 100 Ω pull-up, fuel level sensor Analog #6

2.2k Ω pull-up, temp sensor
Analog #2| 330 Ω pull-up, oil temp sensor| Analog #7|

High-Z input

Analog #3| 2.2k Ω pull-up, temp sensor| Analog #8|

High-Z input

Analog #4| 2.2k Ω pull-up, temp sensor| Analog #9|

High-Z input

Analog #5| 2.2k Ω pull-up, temp sensor| Analog #10|

High-Z input

Pinout

Pin Function
1 Analog #9 input
2 Analog #7 input
3 Analog #5 input
4 Analog #3 input
5 Analog #1 input
6 Analog ground
7 Analog 5V supply
8 CAN-H
9 12V supply
10 Analog #10 input
11 Analog #8 input
12 Analog #6 input
13 Analog #4 input
14 Analog #2 input
15 Analog ground
16 Analog 5V supply
17 CAN-L
18 Ground

NOTE: Numbers of pins match the designators on the back of the connector.

Connection examples

There are various connection possibilities. Here are some examples. Only a few wires are necessary for basic functionality. Make sure to use high-quality wires and reliable clamped plugs to prevent signal noises and misreadings. The wiring loom should be secured to prevent potential short circuits and wire cuts. Use good-quality crimping tools to install terminals.

  • Do not connect chassis ground to analogue ground!
  • CAN wires must be twisted pair type!

Basis application

Pot, rotary switch and external pullup example

Analog #7, #8, #9, and #10 inputs are intended for connecting linear sensors. However, they can be expanded to be used as potentiometers, rotary switch, or standard sensor inputs with an external pull-up resistor. In your receiving device, e.g., ECU, ADU, etc., you have to set threshold values for each analog level assigned to the potentiometer or rotary switch position.

Simple switch/button example
All analogue inputs can be used as simple on/off switch inputs. Then, the real value of each analogue channel will be 0v or 5V, depending on the switch button state, for analogue #7, #8, #9, #10, additional external pull-ups are needed. The pull-up resistor value should meet the condition: 2.2kΩ ≤ R ≤ 22kΩ. Recommended inputs for switches are analog #3, #4, #5, #6.

Configuration

There are four user configurable parameters:

  • CAN bitrate
  • CAN frames ID’s
  • CAN frame endianness
  • CAN terminating resistor ON/OFF

The first three are dip switch configurable, and they are located inside the device, on the top left side of the printed circuit board. CAN terminating resistors can be switched on using a solder pad.

Default configuration is following:

  • CAN bitrate 500 kbps
  • CAN frames ID’s: 0x640, 0x641, 0x540, 0x541
  • CAN frame Big-endian (Motorola) format
  • CAN terminating resistor OFF

Dip switch table

Switch number|

OFF

|

ON

|

Description

---|---|---|---

1

| Big-endian (Motorola)| Little-endian (Intel)| Endianness of 16 bit values in CAN frames
2| 0x640| 0x440| CAN frames base ID
3| 500 kbps| 1 Mbps| CAN bitrate

Device state indicator

Our Analog to CAN device is equipped with a 3-color LED that indicates its working state. The meanings of the LEDs are listed in the following table.

LED color State
Green Power OK
Orange blink Heartbeat
Red CAN bus error
None of the above Internal error

Communication

Device sends over CAN bus four following frames (IDs depend on dip switch configuration):

ID| DLC| Byte 0| Byte 1| Byte 2| Byte 3| Byte 4| Byte 5| Byte 6| Byte 7
---|---|---|---|---|---|---|---|---|---
0x640

or 0x440

| ****

8

| ****

Analog #1

16 bit (mV)

| ****

Analog #2

16 bit (mV)

| ****

Analog #3

16 bit (mV)

| ****

Analog #4

16 bit (mV)

ID| DLC| Byte 0| Byte 1| Byte 2| Byte 3| Byte 4| Byte 5| Byte 6| Byte 7
---|---|---|---|---|---|---|---|---|---
0x641

or 0x441

| ****

8

| ****

Analog #5

16 bit (mV)

| ****

Analog #6

16 bit (mV)

| ****

Analog #7

16 bit (mV)

| ****

Analog #8

16 bit (mV)

ID| DLC| Byte 0| Byte 1| Byte 2| Byte 3| Byte 4| Byte 5| Byte 6| Byte 7
---|---|---|---|---|---|---|---|---|---
0x540

or 0x442

| ****

8

| Analog #9

16 bit (mV)

| ****

Analog #10

16 bit (mV)

| ****

An #1

8 bit

| ****

An #2

8 bit

| ****

An #3

8 bit

| ****

An #4

8 bit

ID| DLC| Byte 0| Byte 1| Byte 2| Byte 3| Byte 4| Byte 5| Byte 6| Byte 7
---|---|---|---|---|---|---|---|---|---
0x541

or 0x443

| ****

8

| ****

An #5

8 bit

| ****

An #6

8 bit

| ****

An #7

8 bit

| ****

An #8

8 bit

| ****

An #9

8 bit

| ****

An #10

8 bit

| ****

0x00

| ****

Heart- beat

Because of the high input impedance of Analog #7, #8, #9, #10, when left unconnected, there are random values present on these channels in CAN frames. To prevent that, connect unused inputs to analogue ground. Heartbeat value increases with every CAN stream sent when reaching 0xFF resets to 0x00.

Dimensions

Accessories

References

Read User Manual Online (PDF format)

Loading......

Download This Manual (PDF format)

Download this manual  >>

Related Manuals