Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
Author: DigitalToys

HiFi DACs for Orange Pi

[Copy link]

4

Threads

53

Posts

2584

Credits

Gold member

Rank: 6Rank: 6

Credits
2584
Post time 2016-1-17 23:00:49 | Show all posts
Unoqueva replied at 2015-12-13 18:25
According to the datasheet H3, i2s bus pins are: GPIO 28 LRCK, GPIO 29 BCK, GPIO 37 Data
Lin ...

GPIO 27 BCK?

0

Threads

24

Posts

470

Credits

Intermediate member

Rank: 3Rank: 3

Credits
470
Post time 2016-1-18 00:58:54 | Show all posts

It seems I made a mistake writing it

GPIO 27 BCK, GPIO 28 LRCK, GPIO 37 Data.  This is now correct.

Next week if I have time proves to connect the logic analyzer to see if those pins out some type of signal.

I tested with OpenELEC and PCM2704 USB DAC, OpenELEC recognizes and can use without problems, but there was a lot of background noise, the 5V supply from the OPI are clean, but output 5v USB have much noise is solved with a capacitor on pins GPIO 4 and 6.
Now the sound is clean and decent

4

Threads

53

Posts

2584

Credits

Gold member

Rank: 6Rank: 6

Credits
2584
Post time 2016-1-18 04:59:20 | Show all posts
oh tanks Unoqueva!
I hope my orange PI PC will arrive until febbrary!
After initial test, i will connect  the DAC to a indipendent Power suply, like a 5V linear power suply: a good power suply is important for the quality of the sound

0

Threads

24

Posts

470

Credits

Intermediate member

Rank: 3Rank: 3

Credits
470
Post time 2016-1-23 02:44:38 | Show all posts
My dac has finally arrived, I configured the script.bin file, and the bus i2s no signal is output.
we must keep looking information, but I think for the bus i2s work has to be implemented in the kernel

4

Threads

53

Posts

2584

Credits

Gold member

Rank: 6Rank: 6

Credits
2584
Post time 2016-1-25 05:42:57 | Show all posts
Edited by Giachi at 2016-1-25 05:46

Looking Sunxi site here, I am thinking in script.bin should be
  1. i2s_used = 1
  2. i2s_channel = 2

  3. i2s_lrclk = port:PA18<2><1><default><default>
  4. i2s_bclk = port:PA19<2><1><default><default>
  5. i2s_dout0 = port:PA20<2><1><default><default>
  6. i2s_din = port:PA21<2><1><default><default>
Copy the Code

I am looking this kind of problem here too. One user wrote i2s module missing in /usr/modules


0

Threads

24

Posts

470

Credits

Intermediate member

Rank: 3Rank: 3

Credits
470
Post time 2016-2-13 23:09:09 | Show all posts

4

Threads

53

Posts

2584

Credits

Gold member

Rank: 6Rank: 6

Credits
2584
Post time 2016-5-20 02:17:56 | Show all posts
what project did you do, Unoqueva?

0

Threads

24

Posts

470

Credits

Intermediate member

Rank: 3Rank: 3

Credits
470
Post time 2016-5-22 04:44:16 | Show all posts
Giachi replied at 2016-5-19 19:17
what project did you do, Unoqueva?

After testing the image prepared by ua3nbw and discover squeezebox software, finally I become accustomed to use squeeze.
But the image ua3nbw give me some problem from time to time, so I installed everything again using armbian.
For the moment I have mounted armbian + PCM5102 + Squeezebox + ftp + Transmission.
I'm awaiting a 2,4" TFT screen to connect to gpio and see song information, VU meter, spectrum analyzer

And you, What do you think to do?

4

Threads

53

Posts

2584

Credits

Gold member

Rank: 6Rank: 6

Credits
2584
Post time 2016-5-24 04:23:09 | Show all posts
my project is this
1) 320GB HD with flac songs and some movie
2) Orange PI PC with Kodi
3) I2S DAC Teradak  Sabre 9023 (http://www.teradak.com/products/84.html)
4) Amplifier class D with ( TPA3116
5) Full range speakers made some years ago (this project: http://home.kpn.nl/a.van.waarde/id3.htm).
The amplifier will take 19V from a linear power supplier; thedac will take 3.6V from a litium battery (i will bypass internal  circuit): the same battery will give )with a board like this http://lygte-info.dk/review/Review%20Charger%20TP4056%20UK.html 5V  to Orange PI if should be a black out).
Arduino will automation all.
I want comand all with a IR remote controller

I tested the image prepared by ua3nbw: i installed LXDE, but the system was a litle slow; I tested armbian 5.10 too, but was necessary one minute for startup....
For my use the best  solution is OpenElec: last saturday i downloaded the image from here: its very fast (it use less 160MB when is just switch on; it used 400MB when i watched a football match from internet streaming), nice and versatile (there are a lot of plugin for watch internet channel, listen internet radio, play with arcade game, download torrent file, ecc....).
I must understand how run the I2S DAC, but i think now is not a big problem.

0

Threads

24

Posts

470

Credits

Intermediate member

Rank: 3Rank: 3

Credits
470
Post time 2016-5-25 00:29:33 | Show all posts
Giachi replied at 2016-5-23 21:23
my project is this
1) 320GB HD with flac songs and some movie
2) Orange PI PC with Kodi

Two projects are very similar.

1) 320GB HD with flac songs and some movie ( I'm using two hard disk, 5Tb for flac and second HD 500Gb for P2P)
2) Orange PI PC with Kodi (
I also would use OpenELEC, but my board have broken hdmi bus)
3) I2S DAC Teradak  Sabre 9023 (http://www.teradak.com/products/84.html) (PCM5102)
4) Amplifier class D with ( TPA3116( class D
I have make a class AB amplifier, almost working in Zone A, but now I'm not using that need to finish the preamplifier and box.)[/url]
5) Full range speakers made some years ago (this project: [url=http://home.kpn.nl/a.van.waarde/id3.htm]http://home.kpn.nl/a.van.waarde/id3.htm
). (
My speakers are DIY too, like a Swan M1)
The amplifier will take 19V from a linear power supplier; thedac will take 3.6V from a litium battery (i will bypass internal  circuit): the same battery will give )with a board like this http://lygte-info.dk/review/Review%20Charger%20TP4056%20UK.html 5V  to Orange PI if should be a black out). (
With my dac at least I have no problems of background noise, and use an ordinary switching power supply.)


You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2021-3-2 16:06 GMT+8 , Processed in 0.040118 second(s), 20 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list