MembersPage/GunnarReynisson/AIMCANBUS (2021-11-20 11:19:55)

I have the [CAN BUS mockup module] from the shop.

CAN output ID, scaling, offset is pre-programmed into firmware.

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

.

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).

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

If 0-5V input range is needed, simply divide by 1.5


NOTE: also checked MembersPage/HankMoody/AIM

AIM pdf to confirm position ("ECU_12" but numbered from 1).

AIM output stream Lambda is theoretically:

See below

NoLambdaTransmit.jpg

The Snip was with 0.96 Lambda value

The Top right Lambda was 1.83

Can you test AIM module software and send me an update so I can get this working?

We tested all versions, and they update properly if the CAN-bus is set up properly, and the receiver is acknowledging the messages. See AimCanBusSniffing .


new 2021 AIM2CAN module FW idea for exporting analogs directly to CANBUS for other devices and being able to use multiple aim2can modules at the same time.

I can produce a .DBC file that many systems need to import to make use of new CAN devices, or simply for people wanting something they are familiar with when they are setting this up in their dashes or their own ecu?s or whatever.

PDF file with some information for the casual user needs producing by VEMS.

I have a few suggestions for this FW

  • Analog 20 ? Pulled high via resistor = Base CAN Id+0 , pulled low via resistor = Base CAN ID+10
  • Analog 21 ? Pulled high via resistor = 100Hz output , Pulled low via resistor = 50Hz
  • Analog 23 ? Pulled High via resistor = 500kbit speed , Pulled low via resistor = 1000kbit
  • So you can infact get a mix of 36 Analog/Digital channels via CAN with just two devices which should satisfy 99.99% of all customers.

another idea for aim2can module

it would be very nice if module could receive can bus messages into some hardcoded ID and would replace some analog input channels it's sending to ecu.

ideal scenario would be:

aim2can detects 0x5dc 4 16 bit messages and automatically replaces 4 analogs it's spitting out to vems second serial. if it gets 0x5DD it would replace 4 more channels in serial strem with ones it's receiving over can bus

that way would require no aditional configuration of the aim2can device and vems would be able to receive analog inputs from the can bus from different devices as PDM's or dashboards which can be configured to spit whatever is needed. that would make possible to use v3 with some smarted devices without using physical analog inputs for function activation or for connecting sensors.

some other nice stuff would be for the future aim2can devices it would be very nice if can traces would be connected to some pins on db25 connector. that way you could integrate it into wiring way nicer. that flying lead is far from ideal solution

thank you.

Valdas


sooo, seems it's dead?