New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
replace VR module with VR-discrete #60
Comments
@mck1117 what is current requirement for THRESHOLD_VR? does it have to a low side channel or could it be just an stm32 pin? https://github.com/andreika-git/hellen-one/wiki/module-output |
Not true, this will eventually be required for configuration.
It needs a PWM output directly from the MCU, no output module. |
@mck1117 please elaborate |
Some notes added to https://github.com/andreika-git/hellen-one/wiki/module-vr-discrete |
Analog in to the MCU will let you view the waveform from the sensor in real time, so you can set the threshold. Maybe completely automatic in the future. The analog input to the MCU needs to be something on ADC3. |
@mck1117 is there a chance that we are over-engineering here? |
This would be nice to do, since without the max992x we don't get automagic threshold: https://www.maxxecu.com/webhelp/settings-diagnostics-trigger_oscilloscope.html |
@mck1117 can you please pick where to connect VR_analog on hellen121vag? |
Looks like depends/related to #49 |
Since we are removing old VR there is no need in input/output jumpers |
VR_THRESHOLD could use any of the GPIO unused pins E23 E11 etc |
No, VR_THRESHOLD needs a hardware PWM pin from the STM32. It's in theory possible with soft PWM, but faster hardware PWM does make a big difference there. |
ok, on this board we can move idle |
remove VR module
add VR-discrete like on https://github.com/rusefi/hellen128mercedes
VR_analog should be connected to ADC3 pin, see hellen128merc
The text was updated successfully, but these errors were encountered: