DAC module
-
I made a simple temperature regulator. I have attached a DAC module. Everything is fine when I send zero value - the module gives zero. If the value is greater than zero (1-100%) the DAC module gives 3.3 V or 100%. Do you have any description of how the DAC module works?
-
@kris I don't have this module but I thought you would send a number, N, up to 4095 and the output voltage would be 3.3 V * N/4096. So I don't understand why you are sending a value in units of percent. Maybe I'm taking your comment too literally.
Also, another thing that confuses me is that the voltage being fed into the DAC from the Grove port is supposedly 5 V, so wouldn't the output of the DAC be 0 to 5V, not 0 to 3.3 V?
I'm a chemical engineer, not an electrical engineer, but in the schematic it looks like there is nothing that is regulating the voltage from 5 V to 3.3 V. The LM321MFX looks like a unity gain buffer. Hopefully, someone with more knowledge will enlighten me.
-
 https://photos.google.com/photo/AF1QipMS4Ws6-kcJZl0RY_76b5v7PmTZ7ptHddbI-hJR
-
I tested the DAC module. You need to use dac0.writeData (Volt, save = True) in the range from 0 to 2700 to get from 0 to 3.3V. For variable indications to be similar to voltage, they should be divided by 0.00125.

Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login