Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,6 @@ Python 3 is required.
Using different hardware
=========================================
CAN is a widely used communication protocol, so there are many different controllers available you could use instead of the Raspberry Pi setup described above. However, there are a few important points to consider:
- R-Net apparently uses low-speed fault-tolerant CAN as defined in ISO 11898-3, which means that it is able to continue normal operation even if one of the two data lines is disconnected. However, this is incompatible with high-speed CAN as defined in ISO 11898-2, so make sure to use a CAN transceiver that supports the fault-tolerant physical layer, otherwise no communication will be possible. Typical fault-tolerant CAN transceivers are the MCP2551 (which is used on the PiCAN2) and the TJA1055. A NXP A1050/C also works.
- Make sure that there is no termination resistor active on the board you are using (you can usually disconnect these using a jumper).
- R-Net uses low-speed fault-tolerant CAN as defined in ISO 11898-3, which means that it is able to continue normal operation even if one of the two data lines is disconnected or short-circuited. Not many CAN transceivers support this. Official R-Net modules seem to use the TJA1054, so this (or its successor, the TJA1055) is probably the safest option. As long as the bus is not in fault-tolerant mode (i.e. no "Bad Cable" warning shown), some other transceivers (such as the MCP2551 on the PiCAN2) also seem to work, but not all do.
- If you do not use a "proper" fault-tolerant transceiver, make sure that there is no termination resistor active on the board you are using (you can usually disconnect these using a jumper).
- The wheelchair is powered by its own batteries, which are a large, floating power supply. It is usually not earth-grounded. Keep this in mind when somehow connecting the wheelchair to the power grid (for example via a USB cable to a desktop computer), as there may be large voltage differences resulting in short current spikes the moment you make the connection. Use proper isolation for all connections (including power and ground) to avoid damaging your hardware.
4 changes: 2 additions & 2 deletions candump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ stdbuf -o0 candump -tz can0 |stdbuf -o0 sed -E 's/can0//g;s/ \(/\(/g;s/\) /\)
/0C000.02/{s/ -* / Right_indicat /g};
/0C000.03/{s/ -* / Hazards_indic /g};
/0C000.04/{s/ -* / Lights_toggle /g};
/0C040100/{s/ -* / Horn_on______ /g};
/0C040101/{s/ -* / Horn_off_____ /g};
/0C040.00/{s/ -* / Horn_on______ /g};
/0C040.01/{s/ -* / Horn_off_____ /g};
/_____065.* 90/{s/ -* / Seat_mve_inf2 /g};

'
Loading