___ ___ | \/ | | . . | | |\/| | | | | | \_| |_/
## ## ## ## #### ## ## ## ##
_____ |_ _| | | | | _| |_ \___/
|\ /| ( \ / ) \ (_) / ) _ ( / ( ) \ ( / \ ) |/ \|
_____ ( _ ) | (_) | | _ | | | | | (_) (_)
IMPORTANT: enter the case-INsensitive alphabetic (no numbers) code AND WRITE SOME SHORT summary of changes (below) if you are saving changes. (not required for previewing changes). Wiki-spamming is not tolerated, will be removed, so it does NOT even show up in history. Spammers go away now. Visit Preferences to set your user name Summary of change: I have the CAN BUS mockup module from the shop. https://shop.vems.hu/catalog/stm32f103mcp2515-p-213.html By what means can I change the CAN output Id's, scaling, offset etc? Is it pre-programmed into via firmware or is there any way of changing the config and then rebooting? I also received a USB stick which has 4 wires Yellow - SWDIO Brown - GND Orange - SWCLK RED - 3.3v Inside the module there is a 4 way header pin and also a micro USB connector. Currently the 4 way header (GND, SWDIO, SWCLK) from the USB- Programmed to convert aim => AUDI CAN-data, see SimpleCanMessages * if different needed, what message ID, what exact data ? See CanBus ** CAN messages are not "1 dimensional", (not like a 0-5V that can be tuned with a pot); If the message is known and specified, it can be programmed; otherwise not. . ---------------------------- Testing step 1 I´m only getting Id 0x280 @ 500Kbit @ 10Hz but nothing on it. The ECU has RPM and is operating, but nothing is coming out on CAN at ID 0x280. What configuration does it have? If nothing how can I put a config on it? If AIM is verified, See CanBus I don´t have a Android phone to test the AIM out or a gauge but It looks like I´m not getting AIM out. Definitely check that first (easy with a terminal, every 5th byte is A3). * AIM is verified with a A3 every fifth byte. And the ECU has RPM and TPS but nothing on the 0x280 Id.http://www.vems.hu/files/CAN_testing/Aim%20out.txt What is the next step to testing? Is AIM out only available via second RS232? '''Aim output stream is available via 1st or 2nd serial''', but 1st is often used for VT, so '''2nd serial is much more practical:''' '''see BroadcastDatastreamAim section:''' "Configure 2nd UART to send "5 byte stream" with datacontent matching the AIM" ----- I?ve got a aim2can module with analogs. My problem is the input voltage range from a 0-5v sensor is only 0-3v with a factor of 1.5v till that point into the vems. This means I cannot properly use the sensors full range. The ratio of actual sensor voltage to vems reported voltage is about 1.5 upto 3v, after that it starts changing as the module hits its max range Multimeter >> VEMS voltage tested using a potentiometer 0.00 >> 0.02 0.50 >> 0.77 1.03 >> 1.57 1.48 >> 2.25 1.99 >> 3.01 2.51 >> 3.79 3.00 >> 4.52 3.52 >> 5.00 4.00 >> 5.00 4.52 >> 5.00 4.91 >> 5.00 There is no information I could find in the shop or wiki that states that the analog inputs are limited to 3v, which would mean all 0-5v can?t be used up until 3v. I have fitted some pressure sensors and feed them with 5v supply as they require, these cannot be used. I?ve now installed this only to find these limitations. What is the resolution to get the full 0-5v range? I could really do with some help on this problem before having to spend ages on re wiring Gunni Optional: Add document to category: Wiki formatting: * is Bullet list ** Bullet list subentry ... '''Bold''', ---- is horizontal ruler, <code> preformatted text... </code> See wiki editing HELP for tables and other formatting tips and tricks.