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

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
1234
Return to list New
Author: mswiniuch

[Guide] Internet radio + LCD 2x16 + TactSwitch (Ready to use)

[Copy link]

0

Threads

1

Posts

10

Credits

Novice

Rank: 1

Credits
10
Post time 2018-3-26 18:06:11 | Show all posts
External DAC is not possible with Orange Pi Zero , otherwise it works well.

0

Threads

16

Posts

1004

Credits

Gold member

Rank: 6Rank: 6

Credits
1004
Post time 2018-5-22 02:58:37 | Show all posts
Edited by kris777 at 2018-7-19 17:33

Orange Pi zero DAC https://sites.google.com/site/or ... rangepi-one/dac-i2s
I checked on my OrangePi Lite ... it works great !  (Allwinner H3 platform)
Configuring the system
go to boot folder
cd /boot

turn script.bin into fex file and edit
sudo bin2fex script.bin script.fex
sudo nano script.fex

Changes:
[twi1]
twi_used = 1
to
twi_used = 0

[pcm0]
daudio_used = 0
to
daudio_used = 1

Then save the file and
sudo fex2bin script.fex script.bin

And reboot.
.....................................
configuration and connection of GPIO bus pins ....diagram at the bottom of the post :-)


...................................................cat /proc/asound/cards
0 [audiocodec ]: audiocodec - audiocodec
audiocodec
1 [snddaudio ]: snddaudio - snddaudio
snddaudio
2 [sndhdmi ]: sndhdmi - sndhdmi
sndhdmi

....................................................................
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: audiocodec [audiocodec], device 0: SUNXI-CODEC sndcodec-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: snddaudio [snddaudio], device 0: SUNXI-TDM0 snddaudio-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: sndhdmi [sndhdmi], device 0: SUNXI-HDMIAUDIO sndhdmi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0

my DAC  : PCM5102 DAC Decoder I2S
.................................................
mpd configuration:.................................
audio_output {
        type                "alsa"
        name                "My ALSA Device"
        device                "hw:1,0"        # optional
    format      "44100:16:2"
        mixer_type      "software"      # optional
        mixer_device        "default"        # optional
#        mixer_control        "PCM"                # optional
#        mixer_index        "0"                # optional
}

............................
forcing the use of 32 bits
................................
audio_output {

        type            "alsa"
        name            "My ALSA Device"
        device          "hw:1,0"
       format          "*:32:2"
}
..........................


und USB / DAC card works with the Armbian system :
PCM2706+ES9023 USB Portable DAC HIFI Fever External Audio Card Decoder For Amplifier AMP Mobile OTGAliexpress USB DAC
Orange Pi One & Lite as music streamers

This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

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

Points Rules

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

2019-12-11 11:34 GMT+8 , Processed in 0.027750 second(s), 20 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list