Skip to content
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

Closed
rusefillc opened this issue Aug 24, 2021 · 14 comments
Closed

replace VR module with VR-discrete #60

rusefillc opened this issue Aug 24, 2021 · 14 comments
Assignees
Labels

Comments

@rusefillc
Copy link
Contributor

rusefillc commented Aug 24, 2021

remove VR module
add VR-discrete like on https://github.com/rusefi/hellen128mercedes
VR_analog should be connected to ADC3 pin, see hellen128merc

image

image

@rusefillc
Copy link
Contributor Author

@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

@mck1117
Copy link
Member

mck1117 commented Aug 24, 2021

VR_analog not needed

Not true, this will eventually be required for configuration.

@mck1117 what is current requirement for THRESHOLD_VR? does it have to a low side channel or could it be just an stm32 pin?

It needs a PWM output directly from the MCU, no output module.

@rusefillc
Copy link
Contributor Author

@mck1117 please elaborate
"analog" vs "configuration"
does it have to be an ADC pin or just any GPIO pin?

@rusefillc
Copy link
Contributor Author

@mck1117
Copy link
Member

mck1117 commented Aug 24, 2021

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.

@rusefillc
Copy link
Contributor Author

@mck1117 is there a chance that we are over-engineering here?

@mck1117
Copy link
Member

mck1117 commented Aug 24, 2021

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

@hasl58 hasl58 added the NEXT-REV label Sep 8, 2021
@rusefillc
Copy link
Contributor Author

@mck1117 can you please pick where to connect VR_analog on hellen121vag?

@hasl58 hasl58 self-assigned this Sep 8, 2021
@rusefillc
Copy link
Contributor Author

image

@rusefillc
Copy link
Contributor Author

Looks like depends/related to #49

@rusefillc
Copy link
Contributor Author

Since we are removing old VR there is no need in input/output jumpers

@rusefillc
Copy link
Contributor Author

VR_THRESHOLD could use any of the GPIO unused pins

E23 E11 etc

@mck1117
Copy link
Member

mck1117 commented Sep 22, 2021

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.

@rusefillc
Copy link
Contributor Author

ok, on this board we can move idle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants