-
Notifications
You must be signed in to change notification settings - Fork 3
DAC setting to voltage 0 does not work #390
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
Comments
edgepi-python-sdk/src/edgepi/dac/edgepi_dac.py Lines 79 to 92 in c9b3a8d
the condition on 87, it only disables the Analog Outpin. This is why you'd see 12V when 0 is written to the DAC |
and why do we have that condition? |
due to the limitation of the circuit, DAC cannot produce true 0V. So we wanted to disable the Analog Out to set it to Digital ground. There should've been another line clearing the corresponding digital output state. |
so this can be fixed : ) ? |
yes, I'm working on it :) |
Cases to think about
DOUT:
PWM:
|
To reproduce:
Note A-OUT 4 in this image. outputs are connected to inputs:

12V reading also verified using a voltmeter.
Logs from dev mgr:
from these logs it looks like that the voltage zero is properly set.
NOTES:
The text was updated successfully, but these errors were encountered: