tag:blogger.com,1999:blog-6100511197805579796.post7181725340665477186..comments2024-02-14T18:43:36.096+01:00Comments on Davide Gironi blog: MCP4725 DAC AVR ATmega libraryDavide Gironihttp://www.blogger.com/profile/16366076989473118278noreply@blogger.comBlogger18125tag:blogger.com,1999:blog-6100511197805579796.post-18186822602469792582021-11-08T10:54:15.391+01:002021-11-08T10:54:15.391+01:00Hello, this is not a DDS example, this is just a D...Hello, this is not a DDS example, this is just a DAC example, it just output the sine for test, you should use this as an output of a DDS generator in order to produce a sine wave of a fixed frequency. Anyway you could add a TIMER, the timer can trigger a "emit_sine" boolean variable. You then could emit a step of the sinewave when this variable is true. This way the sine will be emitted accorded to the TIMER frequency. Hope this helpsDavide Gironihttps://www.blogger.com/profile/16366076989473118278noreply@blogger.comtag:blogger.com,1999:blog-6100511197805579796.post-35872536580163021082021-11-08T08:01:01.746+01:002021-11-08T08:01:01.746+01:00Sir how to change frequency of sine wave,please ex...Sir how to change frequency of sine wave,please explain in detailAnonymoushttps://www.blogger.com/profile/02177948159976213611noreply@blogger.comtag:blogger.com,1999:blog-6100511197805579796.post-90808698887693800192021-07-20T22:54:36.290+02:002021-07-20T22:54:36.290+02:00The base address is 0xC0The base address is 0xC0Davide Gironihttps://www.blogger.com/profile/16366076989473118278noreply@blogger.comtag:blogger.com,1999:blog-6100511197805579796.post-68017200807415820822021-07-20T06:33:08.462+02:002021-07-20T06:33:08.462+02:00But sir in the code use 8 bit chip address is 0*00...But sir in the code use 8 bit chip address is 0*00 or I am think wrong.Anonymoushttps://www.blogger.com/profile/12528320412989898065noreply@blogger.comtag:blogger.com,1999:blog-6100511197805579796.post-83442470045581607152021-07-19T19:03:06.965+02:002021-07-19T19:03:06.965+02:00Hello, I'm using the default address.Hello, I'm using the default address.Davide Gironihttps://www.blogger.com/profile/16366076989473118278noreply@blogger.comtag:blogger.com,1999:blog-6100511197805579796.post-44301691644727099552021-07-15T06:53:58.097+02:002021-07-15T06:53:58.097+02:00I2C Address
GND = 1100 00 0 (0x60) (DEFAULT)
V...I2C Address <br />GND = 1100 00 0 (0x60) (DEFAULT)<br />VCC = 1100 00 1 (0x61) <br /><br />But sir you address (0*00) of mcp4725?Anonymoushttps://www.blogger.com/profile/12528320412989898065noreply@blogger.comtag:blogger.com,1999:blog-6100511197805579796.post-39005232382422664922021-07-07T19:35:54.095+02:002021-07-07T19:35:54.095+02:00Hello, yes it should. You just have to edit a few ...Hello, yes it should. You just have to edit a few things.Davide Gironihttps://www.blogger.com/profile/16366076989473118278noreply@blogger.comtag:blogger.com,1999:blog-6100511197805579796.post-28073483468252729382021-07-07T16:58:03.949+02:002021-07-07T16:58:03.949+02:00This project work for atmega32?
This project work for atmega32?<br />Anonymoushttps://www.blogger.com/profile/12528320412989898065noreply@blogger.comtag:blogger.com,1999:blog-6100511197805579796.post-29318380428061678962021-06-19T18:25:44.552+02:002021-06-19T18:25:44.552+02:00Great! Just output a voltage using this library. T...Great! Just output a voltage using this library. Then pass it through an opamp, take a look at the sample schematic here: http://davidegironi.blogspot.com/2019/09/drive-mcp49xx-series-dac-with-avr-atmega.htmlDavide Gironihttps://www.blogger.com/profile/16366076989473118278noreply@blogger.comtag:blogger.com,1999:blog-6100511197805579796.post-50258300473795809402021-06-19T13:49:28.991+02:002021-06-19T13:49:28.991+02:00Sir I am successfuly build my project for your hel...Sir I am successfuly build my project for your help,sir I am required convert 250 mv ac to DC ,what is the idea of this conversion you suggest,ya simply connect low pass filter to 250mv ac ?Anonymoushttps://www.blogger.com/profile/12528320412989898065noreply@blogger.comtag:blogger.com,1999:blog-6100511197805579796.post-11252306156972159932021-06-17T14:25:10.343+02:002021-06-17T14:25:10.343+02:00You have to setup a 2Khz timer, and output a value...You have to setup a 2Khz timer, and output a value from the sine256 hash table.Davide Gironihttps://www.blogger.com/profile/16366076989473118278noreply@blogger.comtag:blogger.com,1999:blog-6100511197805579796.post-60234173408016744082021-06-17T09:38:51.839+02:002021-06-17T09:38:51.839+02:00Delay function should be work for frequency I want...Delay function should be work for frequency I want 2 khz frequencyAnonymoushttps://www.blogger.com/profile/12528320412989898065noreply@blogger.comtag:blogger.com,1999:blog-6100511197805579796.post-57859679878872569292021-06-17T09:35:05.010+02:002021-06-17T09:35:05.010+02:00Frequency depends on the main loop. In order to ch...Frequency depends on the main loop. In order to change the frequancy you have to code it out using a Timer.Davide Gironihttps://www.blogger.com/profile/16366076989473118278noreply@blogger.comtag:blogger.com,1999:blog-6100511197805579796.post-48711475582509885342021-06-17T05:28:01.210+02:002021-06-17T05:28:01.210+02:00Sir what is the frequency of this sine wave.if I w...Sir what is the frequency of this sine wave.if I want change frequency what should i do?Anonymoushttps://www.blogger.com/profile/12528320412989898065noreply@blogger.comtag:blogger.com,1999:blog-6100511197805579796.post-68001564747221654542021-06-16T18:23:09.689+02:002021-06-16T18:23:09.689+02:00Hello, in the main.c sample project you should alr...Hello, in the main.c sample project you should already have a sin as output, indeed the TESTMODE macro is set as TESTMODE_SINE.Davide Gironihttps://www.blogger.com/profile/16366076989473118278noreply@blogger.comtag:blogger.com,1999:blog-6100511197805579796.post-83575540067776475122021-06-16T16:21:26.869+02:002021-06-16T16:21:26.869+02:00Sir I want sine wave what change required in code?...Sir I want sine wave what change required in code?Anonymoushttps://www.blogger.com/profile/12528320412989898065noreply@blogger.comtag:blogger.com,1999:blog-6100511197805579796.post-72353415566433247542019-06-28T15:08:47.378+02:002019-06-28T15:08:47.378+02:00Hello, you can find the source code in the blogpos...Hello, you can find the source code in the blogpost.Davide Gironihttps://www.blogger.com/profile/16366076989473118278noreply@blogger.comtag:blogger.com,1999:blog-6100511197805579796.post-10343641500530099482019-04-17T18:22:40.405+02:002019-04-17T18:22:40.405+02:00I want coding in avr mister?I want coding in avr mister?namehttps://www.blogger.com/profile/10866134589910273191noreply@blogger.com