Page 1 of 1
CAN 2.0 interface I/O
Posted: Mon Mar 23, 2015 7:40 pm
by sigtrm
Let's say I have some sensors which output CAN2.0A in Motorola format( I have full frame spec) how can I configure RCP mkII for use with custom sensors/CAN2 protocol.
Also how can I setup second CAN to output CAN 2.0 custom frames?
I suck at searching or I just can't find documentation for this, it would be nice if so one could point me to proper docs.
Posted: Tue Mar 24, 2015 7:47 am
by sigtrm
Posted: Tue Mar 24, 2015 9:20 pm
by brentp
For integrating a new CAN system this is the essential guide:
http://autosportlabs.net/CAN_Bus_Integration
What kind of sensors are they?
Posted: Wed Mar 25, 2015 9:45 pm
by sigtrm
That is what I wanted I think.
Brightwater
http://www.brightwater.co.uk/tms.html
I attached CAN spec from Brighwater. I will share code if/when I implement those;-)
*BTW, I was allowed to share it with RCP community.
Posted: Wed Mar 25, 2015 9:51 pm
by brentp
Fantastic. Use the mapping framework seen in the integration guide to develop the mapping - post it here and we'll review.
Thanks for sharing!
-Brent
Posted: Thu Apr 02, 2015 11:07 pm
by brentp
Posted: Thu Apr 09, 2015 10:55 am
by sigtrm
Thank you brent, I am implementing this now, will post soon.
You switched Mul with Add in table on wiki;-) Multiplier can't be 0 obviously;-)
Have few additional questions:
1. After defining virtual channel I do not see it on the list Select Channel. I can see my channels only on last screen where all the values are listed.
2. Can you consider external editor for LUA? The one from scripting tab...($%$$&^. For example when I use
Code: Select all
print("DEBUG\n something")
it prints ok with newline, but after closing and reopening RCP code editor looks like this:
3. Is debug window is on the same UI thread with Script Editor window? Because it is so slow when Poll is checked.
Posted: Thu Apr 09, 2015 4:33 pm
by brentp
Thanks for catching the error. Fixed!
http://autosportlabs.net/CAN_Bus_databa ... chnologies
we don't yet have an external editor - that simply looks like a bug to fix! You can print newlines with a println() also.
We do have some optimizing to do for the log window when there is a lot of data. You can also view the log via a terminal program, following these instructions:
http://autosportlabs.net/CAN_Bus_logger ... al_Program
For the virtual channel update, we are fixing that in the 2.8.0 / 1.3.0 release of the firmware, coming likely within a week.
-Brent
Posted: Thu Apr 09, 2015 7:21 pm
by sigtrm
brentp wrote:Thanks for catching the error. Fixed!
http://autosportlabs.net/CAN_Bus_databa ... chnologies
we don't yet have an external editor - that simply looks like a bug to fix! You can print newlines with a println() also.
We do have some optimizing to do for the log window when there is a lot of data. You can also view the log via a terminal program, following these instructions:
http://autosportlabs.net/CAN_Bus_logger ... al_Program
For the virtual channel update, we are fixing that in the 2.8.0 / 1.3.0 release of the firmware, coming likely within a week.
-Brent
Thanks,
3 more questions:-)
1. Why 10 vchans limit? 4 wheels x temp+pressure and I have only two left:-(
2. Can I update wiki myself or do I have to post here or send to some email?
3. How much Lua is supported? Which libs ?
Posted: Thu Apr 09, 2015 10:51 pm
by brentp
Here you go:
1) Actually, in the latest firmware you can set up to 30 virtual channels - just fixed the Lua documentation.
2) We have registrations constrained due to spam. Please email us at
racecapture@autosportlabs.com to be a wiki contributor. Thank you!
3) Only the basic Lua libraries are supported and some math functions. We're looking to add the bitop() functions as well in a future firmware release. If there was a specific function you were looking for, let us know!
Posted: Fri Apr 17, 2015 9:42 pm
by sigtrm
brentp wrote:Here you go:
1) Actually, in the latest firmware you can set up to 30 virtual channels - just fixed the Lua documentation.
2) We have registrations constrained due to spam. Please email us at
racecapture@autosportlabs.com to be a wiki contributor. Thank you!
3) Only the basic Lua libraries are supported and some math functions. We're looking to add the bitop() functions as well in a future firmware release. If there was a specific function you were looking for, let us know!
I updated wiki a little for Brightwater TPMS, I will fix and clean it ASAP:
http://www.autosportlabs.net/Brightwater_TPMS_CAN
http://www.autosportlabs.net/CAN_Bus_da ... _.28WIP.29
Posted: Tue Apr 28, 2015 9:50 pm
by brentp
Thank you for updating the information!
AEM CAN
Posted: Mon Jun 08, 2015 5:48 am
by UMS Tuning
If it helps, here are all of the AEM addresses, im planing to use my RCP with my AEM Infinity.
http://aemelectronics.com/sites/default ... Public.pdf