12-bit DAC Arduino MCP4725 How To Use It - Stable Voltage Reffrence

preview_player
Показать описание

🔥Start using the MCP4725 DAC module with Arduino and different projects.

🔀LINKS
-------------------------------------

🤝SUPPORT
-------------------------------------

00:00 Intro
01:44 The MCP4725
02:47 Specs
04:32 Library and code
06:17 Lookup table and SINE
07:34 Signal Generator
08:39 Why to use DAC?
10:58 Thank you

Like share and subscribe to motivate me. Thank you

#MCP4725
#Arduino
#Tutorial
Рекомендации по теме
Комментарии
Автор

We can make a component tester using this DAC and the Arduino DAC. Now the Arduino can set a Vin to a circuit under test and measure it's Vout, and print those data to serial monitor or to a curve on an MIT android app.

Also it can draw the VI curve of a component by sweeping the current through that component using a powerful op amp (TDA2030) as a Voltage to current converter and checking the voltage across it.

FreeCircuitLab
Автор

Back in days, just for fun, I connected 8bit resistor divider directly to AVR pins and writed code in asm with different lookup tables to create signal generator with option to change frequency and signal form.. Maximum frequency was higher than for this chip.. All project was very cheap.. 😂😉

artursmihelsons
Автор

Informative video!
As you demonstrated in your video, never connect and disconnect a capacitor on a DAC output while its running as it can significantly load the DAC because of its low output current capability causing it to fail.

karthikrajagopal
Автор

Another winner if a video from you. Thank you as always for all your hard work to share your knowledge with us in an easy to understand way.

sennabullet
Автор

Great video but the addresses at 4:24 didn't work properly for me when using 2x MCP4725 on the same bus. When pulling to GND 0x60 was fine but when pulling to VCC 0x61 worked for me instead of 0x63. Default 0x62 worked fine in isolation.

Stubbrn
Автор

I planned it to use in a digital supply with LM338, a year ago but didn't have time to do. To control the output of the LM338 (5A version of the LM317), you should apply a voltage to the ADJ which is 1.25V lower than the output. My plan was to use an op-amp to amplify the output of DAC.

isalihkilic
Автор

But how do I connect an input signal via the SCL pins \ SDA on this module? Basically I need to convert a digital signal to analog for a sound level meter (since I am not satisfied with seeing the value in Db but want to be able to record it so I can keep it as evidence ).

pierpa_pierpaolo
Автор

This is handy for making a transistor curve tracer.

lpjunction
Автор

Thank you so much for this explanation. I am building a flight simulator using real airplane gauge. A lot of them use resolvers to measure knob turns, for example, turning the knob to adjust heading. From what I have learned, resolvers use one coil to induce electrical signal into two other coils to measure angular rotation. This DAC could be used for the exciter coil? How would you measure the voltage on the other two to figure out angles?

HorstFederau
Автор

great video, and as always keep them coming !

piiumlkj
Автор

What about using this DAC as the output of an SDR radio? What is the max sample rate we can do with I2C? Note that for voice quality audio, (max freq of about 3khz) we need a sample rate of at least 6khz (nyquist), but we probably want at least double that, so say 12khz. The output will be filtered by a LPF.

KennethScharf
Автор

Well, most Arduinos have a limit of 400kbps in their I2C hardware. The data frame of the I2C protocol is 30-bit long. Since most Arduinos only allows bi-directional communication, that means 400k / 30 / 2 ~ 6.7ksps (max theoretical sample rate). Halve that by each additional device on the I2C bus. While easy to implement, for applications such as audio synth or laser galvo drive that is not enough. For high-speed applications, SPI for instance is a better choice. Keep that limit in mind when designing a solution.

paulocarvalho
Автор

I was looking for a video for that topic, thanks a lot bro❤

ezzeldin
Автор

Hii could you help ?! I have analog signal input, how can i use the input signal to do something, for ex analog input is stable and then when signal input it drop to 0 and back to 100 again but each signal have it own drop time, how to identfy them

oussamathedjfreeman
Автор

Nice video.

I have a question.
I want to connect the output of the mcp4725 to another arduino using analog read function.
Is it possible?

I tried it but when i connect the two arduino with a common ground. The output of the mcp4725 stops.

Can you help me please?
Thank you verymuch.

marjunemjhay
Автор

Nice work on the video quality as well as the content

Tarbard
Автор

Can't this module also control analog output based on input PWM, and not frequency? Or no?

standarde
Автор

so i can give AC on the MOSFET-s gate to controll this MOSFET ?

lampartzjardu
Автор

Thank you very much, can you explain how to change the amplitude of signals in program

yunesrahem
Автор

So this module only allows 2 of this gizmos on the IC2 bus? (limited to 061 and 063 addresses ?) What do I do if i want to use 4 or 5 of them?

stormbytes