[analog input multiplexer VT help]
Experimental setup: this was installed in a different way than normally. Apparently a filtering capacitor was NOT removed from inpmux output (from genboard !).
VemsTune (2016-06 or newer needed, 2015 VT will NOT support this regardless of any attempt ) ini files updated manually (from zip !)
- enabled the multiplexer
- B 0..3 channels react perfectly, and fast
- A 0..3 react, but when pulled to GND can only be pulled to 1.2V first, and than SLOWLY going down below that (appr 0.5V)
- we suspect a filtering capacitor left on mainboard mcp3208/ch6 (A0=mch6 also decreases when A3 pulled down to GND)
- R94=33k MUST BE CHANGED TO 0OHM if you want to use the analog scale from 0V to 5V
- C61=220nF MUST BE REMOVED when using mcp3208ch6 for analog input multiplexer. Luckily C61 is on bottom side of genboard, very easy to access (middle cap of 3 caps in the neighborhood).
- we suspect a filtering capacitor left on mainboard mcp3208/ch6 (A0=mch6 also decreases when A3 pulled down to GND)
- This FW or VT disabled the IDLE settings. Doesn't work.
- Everything is working on my side, could you point to specifics and provide some screenshots or detailed description pointing to specifics so i can reproduce ? - DB
- [VT screenshot from my side with your vemslog loaded]
- I uploaded another working config which is using the IDLE controll but the IDLE settings are disabled. I can't select the Idle PWM settings, and reference cranking and reference curve too, when i click nothing happen but these aren't "grey".
- [VT screenshoot from my side]
- [vemsconfig]
- [vemslog]
- Intresting, i suspect there might be some old files present in Windows Virtualstore delete any the folder VemsTune-2016-06-06 from C:\Users\YourUserName\AppData\Local\VirtualStore\Program Files (x86)\ that should resolve it - DB.
- did you also follow this hint ?
- Yes of course. C:\Users\Norbitron\AppData\Local\VirtualStore\ProgramFiles but there wasn't Vemstune 2016.06.06 directory just older version directories from 2014...2015. They where deleted.
- did you also follow this hint ?
- Re-download the [VT 1.2.36 ini and DB pack] and extract that to your VT 06-06 folder (overwriting when asked) with VT NOT running.
- I did but nothing changed. The idle setting menu greyed out.
- With older 2015.09.09 VT working fine and fine with the 2016.06.06 VT without updated inifiles. After the ini update (manually) doesn't work.
- Intresting, i suspect there might be some old files present in Windows Virtualstore delete any the folder VemsTune-2016-06-06 from C:\Users\YourUserName\AppData\Local\VirtualStore\Program Files (x86)\ that should resolve it - DB.
- I updated [VT 1.2.36 ini and DB pack] to contain some older ini's created after 06_06 date, tested using a clean install of VT_06_06 (without performing ini update first), was able to confirm greyed Idle menu and able to fix by applying the new ini pack - DB
- IDLE greyed out problem solved, it's working fine. And i see the Analog input mux calibration menus. Thanks ;)
- I would like to calculate the MUXed analog inputs for Fuel pressure, OIL temp, Flex fuel sensor....In the analog input calibration menu. Now i can't with the MUXED channels.
- This will be addressed in the next VT release (already implemented), for now just calculate some other channel and copy the values to the muxed channnel you would like to calibrate -DB
Setup
- uploaded the 1.2.36 FW
- and updated the inifile from Dave's page to newest VT.
- use newest VT as instructed and overwrite files under VTinst/config dir with files from freshly downloaded zip (and do NOT "update ini files from web" in this case)
- the files are overwritten if you overwrite them: after VT restart all ini files are read (they are NOT cached in DB or something...)
- if insisting on bleeding edge, follow instructions precisely otherwise just wasting time. If still not everything rectified: specify versions and steps you made so we can see where the path was lost
I did it. Now i see the MUX Raw values. I made a log.
Startup-> A1 pulldown to GND for 10sec->after wait 10sec then pull down the A2 for 10sec-and wait 10sec.......to the last.
The inputs wasn't tested in sequenced because my pinouts which i got for the VEMS Ecu is incorrect.
On some input the voltage doesn't want to go to 0V but i measured 0V.
The pinouts of ECONOSEAL 10 on my paper:
1: A channel 0 pulled up
2: A channel 1
3: A channel 2 pulled up
4: A channel 3
5: B channel 0 pulled up
6: B channel 1
7: B channel 2 pulled up
8: B channel 3
9: +5V
10: GND
A channel connected to MCP3208 ch6
B channel connected to MCP3208 ch7
Line0 connected to low current output ch2(internal)
Line1 connected to low current output ch3(internal)
The log file: http://www.vems.hu/files/Norbitron/v3.3_u011451-2016.09.20-10.26.15.vemslog
I supplemented the page with more and fixed information please read again.
V3 Sn:11451
Ordered with 6EGT input + analog input multiplexer.
A channel output connected to MCP3208 ch6
B channel output connected to MCP3208 ch7
ECU input on ECONOSEAL10 connector:
A ch0 = pulled up - Launch Button
A ch1 = no pulled up - Fuel pressure sensor(HONEYWHELL) with external +5V supply.
A ch2 = pulled up - ALS Switch
A ch3 = no pulled up - Not connected
B ch0 = pulled up - Oil temp
B ch1 = no pulled up - Should be pulled up for button for Wide open throttle or i can connect this to "A ch0" paralell with Launch button.
B ch2 = pulled up - Oil pressure sensor (Original 1pin sensor, case is the GND)
B ch3 = no pulled up - Should be pulled up for Switch to select A/B program.
Line0 connected to low current out ch2
Line1 connected to low current out ch3
All Analog input multiplexer inputs 0-5V (protected)
I need more pulled up channels for switches and buttons exactly 2. How can i use "B Ch1" and "B Ch3" channel pulled up?
Recommendation: for best backwards compatibility (with 2016-06 fw)
- use direct inputs for switch/control inputs (especially the TPS2, PPS1, PPS2 ETC inputs)
- allocate inpmux inputs for logging (multiple EGT and oilpressure, fuelpressure).
- so 6 direct analog inputs:
- 1 EGT
- 4*pulled up analog input for switches (ALS, shiftcut, configswitch) and buttons and oil temp sensor
- 1nopullup for fuel pressure sensor
- oil pressure sensor (no pullup)
- another 5*EGT input
- 2 spare for logging
copy this URL and the above into the order comment.
- an [analog input multiplexer] will be installed inside the VEMS ECU, and a flying loom EC10 or SSC6 if needed
- 1-wire interface no
- EGT input 6
- ETC BridgeOutput_Interface 0
- Flyback HighZ-only 30V flyback
- Hi-side PFET outputs 0
- ignition driver 6+2
- Knock input channels 2
- LCD connection yes
- MAP connection offboard(electronic)
- mounting-style flanged case
- primary_trigger EC36/27 VR
- secondary_trigger HALL
- Service slow
- Special requests ordercomment
- withSDcard removable