Question on code!

BLigon

New member
To say I’m a beginner is an understatement! I am attempting to build myself a 4 x 4, Wheelchair. I have 2 PERMOBIL RNET motor controllers 4 permobil motors a Teenzy 4.1 and two can transceivers. I know that the RNET system will not run correctly if you hook them into the same system. I plan to use one transceiver to get the codeI plan to use the other transceiver to send it through to my second controller. Plan to use the FLEXCAN_t4. Any help or recommendations would be greatly appreciated!!!
 
To say I’m a beginner is an understatement! I am attempting to build myself a 4 x 4, Wheelchair. I have 2 PERMOBIL RNET motor controllers 4 permobil motors a Teenzy 4.1 and two can transceivers. I know that the RNET system will not run correctly if you hook them into the same system. I plan to use one transceiver to get the codeI plan to use the other transceiver to send it through to my second controller. Plan to use the FLEXCAN_t4. Any help or recommendations would be greatly appreciated!!!
As a suggestion: start simple by building up just your Teensy + one CAN transceiver. Get one of <these> USB to CAN Analyzer Adapters, which can be used to send & receive known good CAN frames of data & is an excellent tool to assist in troubleshooting your CAN communications. Use that combo to verify that your Teensy can send/receive CAN data. Then expand/add one part at a time until you have all of your components working together as expected and/or intended. Also, make as much use as you can of the example sketches that are provided with each library (in particular, the FlexCAN_T4 library that you plan to use). Contrast that approach with "build your entire final configuration, then find yourself unable to know where to even start looking when things don't work as expected."

This forum has a great group of members (including @PaulStoffregen, the original creator of & the brains behind the entire Teensy family of products) with a large variety of experience & expertise, as well as a sincere willingness to provide helpful advice & answers. Don't be afraid to ask any questions that you may have, but do at least try to search this forum for the same question to see if it may already have been answered before posting to ask.

Personally, I have used the FlexCAN_T4 library to build a custom tool that I used to monitor and/or diagnose my personal vehicles, connected thru the OBD-II port, so I can vouch for the fact that the library works very well (In my environment & for my application).

Good luck & have some fun along the way !!

Mark J Culross
KD5RXT
 
Thanks so much for the response!! If there is anyone here willing to help me write all of my code?? I will be glad to pay for them doing so!!
 
As a suggestion: start simple by building up just your Teensy + one CAN transceiver. Get one of <these> USB to CAN Analyzer Adapters, which can be used to send & receive known good CAN frames of data & is an excellent tool to assist in troubleshooting your CAN communications. Use that combo to verify that your Teensy can send/receive CAN data. Then expand/add one part at a time until you have all of your components working together as expected and/or intended. Also, make as much use as you can of the example sketches that are provided with each library (in particular, the FlexCAN_T4 library that you plan to use). Contrast that approach with "build your entire final configuration, then find yourself unable to know where to even start looking when things don't work as expected."

This forum has a great group of members (including @PaulStoffregen, the original creator of & the brains behind the entire Teensy family of products) with a large variety of experience & expertise, as well as a sincere willingness to provide helpful advice & answers. Don't be afraid to ask any questions that you may have, but do at least try to search this forum for the same question to see if it may already have been answered before posting to ask.

Personally, I have used the FlexCAN_T4 library to build a custom tool that I used to monitor and/or diagnose my personal vehicles, connected thru the OBD-II port, so I can vouch for the fact that the library works very well (In my environment & for my application).

Good luck & have some fun along the way !!

Mark J Culross
KD5RXT
I know the r net system uses a low speed fault tolerant can system will these adapters work with that system?
 
I know the r net system uses a low speed fault tolerant can system will these adapters work with that system?
Sorry, I'm not familiar with that type of system. A quick search returned an <R-Net brochure>, which includes the following specific text:

Code:
The basis of R-net’s unique combination of flexibility and
simplicity is the R-net communications protocol. This is a
custom software communications protocol developed by
PG Drives Technology specifically for powered wheelchair
applications. The underlying hardware link utilizes the well
established and proven CAN bus, the automotive industry
standard.

The fact that it uses the automotive standard CAN bus for its underlying hardware link might imply that these adapters may allow you to connect your Teensy setup to the R-net hardware. However, the fact that it uses a unique communications protocol may very likely complicate what you are trying to accomplish.

Sorry, can't be much more help than this.

Mark J Culross
KD5RXT
 
Back
Top