Hello everyone
For a few days I'm trying to run arduino 2560 with a DAC type mcp4725 but I did not find the way to run it, i read component datasheet, i2c guide on the forum, and some forum posts but no results
Loading an adafruit sketch works fine, so the connections are correct
I kindly ask you if any one has had experience with this component and can post a simple file with FC6
thank you all
DAC MCP4725
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: DAC MCP4725
Hello,
Can you post what you have so far and maybe we can offer guidance.
Can you post what you have so far and maybe we can offer guidance.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 110
- Joined: Mon Dec 23, 2013 9:34 pm
- Has thanked: 2 times
- Been thanked: 9 times
- Contact:
Re: DAC MCP4725
thanks for your time
What I would like to do is the one below
I should send a value between 0x00 and 0xfff to get a voltage output from 0 to 5v
In the mcp4725 datasheet is indicated as compiling the command syntax, but i can not run it (with arduin examples it works)
I attach a mcp4725 datasheet and a test FC6
thank you
What I would like to do is the one below
I should send a value between 0x00 and 0xfff to get a voltage output from 0 to 5v
In the mcp4725 datasheet is indicated as compiling the command syntax, but i can not run it (with arduin examples it works)
I attach a mcp4725 datasheet and a test FC6
thank you
- Attachments
-
- MCP4725.fcfx
- (6.77 KiB) Downloaded 318 times
-
- 22039d.pdf
- (1.46 MiB) Downloaded 339 times
-
- Posts: 110
- Joined: Mon Dec 23, 2013 9:34 pm
- Has thanked: 2 times
- Been thanked: 9 times
- Contact:
Re: DAC MCP4725
Hello
Now it works, I do not know why, maybe my brain was cooked
I'll disturb you for other questions
thank you
Now it works, I do not know why, maybe my brain was cooked
I'll disturb you for other questions
thank you
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: DAC MCP4725
The slave device might have gone into a stuck state, power cycling may have then removed the issue and allowed the current code to work.Now it works, I do not know why, maybe my brain was cooked
Glad it's working for you now though
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel