Go Back   Home > Forums > >
Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Digital Line Level DACs, Digital Crossovers, Equalizers, etc.

Arduino-based ADAU1701
Arduino-based ADAU1701
Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 8th August 2018, 10:07 PM   #11
bassApe is offline bassApe
diyAudio Member
 
Join Date: Aug 2018
Quote:
Originally Posted by Neil Davis View Post
I don't know of any ADAU1701 shields being sold on eBay. I made my own. You are welcome to have the design files (DesignSpark), but you would have to have boards made and do your own assembly.

I would like to get someone to manufacture these boards and make them available for purchase, but right now they are strictly DIY.
Hello,

Can I also have the design files?

Ty
  Reply With Quote
Old 8th August 2018, 10:52 PM   #12
Neil Davis is offline Neil Davis  United States
diyAudio Member
 
Join Date: Dec 2004
Location: Reston, Virginia
Arduino-based ADAU1701
The design files were posted on Audiodevelopers a long time ago: ADAU1701 Shield – Audiodevelopers Reborn

I've got some extra built-up working boards that you can buy at cost. Not sure how many I have, but I can check if you PM me. The cost will be around $40 ea.

I've also got a number of 3-way boards built up that I can sell.

Not trying to make a profit--just want to free up some storage space.

The current version has Bluetooth control, but the next generation will feature WiFi audio input.
  Reply With Quote
Old 8th August 2018, 11:18 PM   #13
bassApe is offline bassApe
diyAudio Member
 
Join Date: Aug 2018
Thank you very much.
  Reply With Quote
Old 4th October 2018, 11:13 AM   #14
tallestbassist is offline tallestbassist
diyAudio Member
 
Join Date: Sep 2017
Hello Neil!

Do you have any arduino code for that shield?
Or anything ADAU related DSP code for arduino that you can share?
  Reply With Quote
Old 6th October 2018, 06:37 PM   #15
Neil Davis is offline Neil Davis  United States
diyAudio Member
 
Join Date: Dec 2004
Location: Reston, Virginia
Arduino-based ADAU1701
I've posted two files on Audiodevelopers.com in the download section that provide information on how to communicate with the ADAU1701 from the Arduino. The download is I2C.zip, which contains two files: "12C.ino" and "Notes on I2C_ino.txt".

As noted on the website, a lot of this code derived from assembly language code for the 6801 that was written many years ago. But there are programming techniques for assembly language code that aren't appropriate for distribution as Arduino code, so until I can recast this code as "respectable" C code, I'm not going to share much of it. But if you are just trying to communicate with the ADAU1701, the code referenced above might be what you need.
  Reply With Quote
Old 8th October 2018, 05:16 AM   #16
tallestbassist is offline tallestbassist
diyAudio Member
 
Join Date: Sep 2017
Thanks Neil!

Now i got something to work with
  Reply With Quote
Old 8th October 2018, 01:14 PM   #17
Neil Davis is offline Neil Davis  United States
diyAudio Member
 
Join Date: Dec 2004
Location: Reston, Virginia
Arduino-based ADAU1701
The other variable that isn't defined in those notes is the I2C address:

const uint8_t ADAU1701_addr = 0x34;
uint8_t I2C_addr = ADAU1701_addr;

The notes were cut and paste from an email to someone else, so there is some extra "stuff" in response to his specific questions.
As I said, I'll like to make this code more shareable, but it's not an easy task, given the way this code interacts with the hardware and the SigmaStudio compiler output. Maybe some day...
  Reply With Quote
Old 8th October 2018, 01:30 PM   #18
tallestbassist is offline tallestbassist
diyAudio Member
 
Join Date: Sep 2017
If i get some kind of code working maybe we can put it up on github or something? Cause there is very little info on it how to get it working with an IC and even fever example schetches.
Maybe just something simple to get people started, nothing too complex.
If that is alright with you?
  Reply With Quote
Old 8th October 2018, 07:26 PM   #19
Neil Davis is offline Neil Davis  United States
diyAudio Member
 
Join Date: Dec 2004
Location: Reston, Virginia
Arduino-based ADAU1701
You can use the I2C code however you like and post it for others. That I2C module could easily be implemented as a library. However, that's only about 1% of the Arduino code in the design. This is an approximate breakdown of the code for the 2-in 6-out board:

Click the image to open in full size.

I can see how some of the code could be packaged in libraries, but there is a lot of it that is very hardware-specific and some of the code is actually created by another program that processes the SigmaStudio compiler output. Also, there are a lot of tables that define the menu structures and options, or that map filters to biquads. It's easy for me to maintain this because it is logically organized and fairly well documented, but it would require a lot of head-scratching to make all of this "shareable". I probably wouldn't even attempt to share this code unless I had someone with a lot of experience who could help.
  Reply With Quote
Old 8th October 2018, 08:23 PM   #20
tallestbassist is offline tallestbassist
diyAudio Member
 
Join Date: Sep 2017
Well, if i get it working due to your shared info and post it somewhere, i will still deffenetly credit you. (But due to my lack of budget, it may take a while since i will have to order some PCB's/components for that)

Yeah, thats all too much. just looking how to boot from the IC and then maybe control some parameters with an encoder and buttons. Nothing too fancy. So it wouldn't be very hardware specific and people can build up from there. Once you get the basic code and understand how it works, its easier to modify it to your own hardware and likeings.

Also i would love to help, but you seem way smarter than me so i wouldn't be of much use. Im pretty novice at programming and i have never even done a library for an arduino.

Btw,are the first three (main, code and functions) in any way shape or form shareable?
  Reply With Quote

Reply


Arduino-based ADAU1701Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
5 zone preamp based on Arduino controlled optocoupler tadakan Analog Line Level 4 29th March 2013 09:36 AM
Smartmains, Arduino based Softstart with extra's superR Group Buys 5 28th January 2013 02:35 PM
another DIY LCF meter (arduino based) linuxworks Equipment & Tools 2 2nd December 2011 12:18 PM
arduino based pga2311/4311 system fvdberg Digital Line Level 3 1st November 2011 06:17 PM
Arduino based Input Selector for preamp _atari_ Analog Line Level 5 30th June 2010 02:42 PM


New To Site? Need Help?

All times are GMT. The time now is 08:59 PM.


Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 15.00%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Copyright ©1999-2018 diyAudio
Wiki