ESP32S: combined ES9038Q2M web-/BT control / filter+source-settings + HW-volume

so, 😉
in reading my (this) own blog, its really lately almost the same/repeating 😉 ..
but anyway, its a „blog“ and so today an update of this ES9038Q2M web-/BT-control..
i included now the complete „Bluetooth-control/block“ in the ESP32s-sketch..
by that i´ve included a NTP-time server function in the sketch/on the GUI..

i´ll post the sketch also in the forum->LINK, and i´ve learned a lot about the ESP32S, the usable (and which) GPIOs, setup different hardware.serials and so on..
its still a little bit difficult to get some really useful information/sketches for the ESP32S, so i post the sketch there too and maybe someone will find something useful information in it..(+general thoughts/hints)
the web-control GUI itself is now with the HW (Digi-Poti MCP4131)-control in max/min, 10,4 and 1 steps..(max/min,+10/-10,+4/-4,+1/-1)..(the „slider“(HW-volume)-function is in progress 😉 )
also the filter control is still working..

(the layout/fonts on the Mega2560 based 3.5″ display is btw. absolutely horrible and really shitty, cause i must use the „normal“ Adadruit.gfx-library with a super shitty command-set..before (with the other 2.8″ display i could use the „UTFT„-library->much much better/absolutely more comfortable+better looking)
greets for now and more to come 😉

ES9038Q2M: HW-Volume Control MCP4131+Arduino Uno (sketch)..

so, 😉
at waiting for my 2 AD797s i just finished my long planned „ES9038Q2M-HW-volume control“ via some MCP4131+ an Arduino..
i originally wanted it to „combine/implement“ it with my „ES9038Q2M-filter-web-control“ on an ESP32S but there i have to first find out the right SPI-software/libraries and the pinouts; so not at present..
i took an Arduino Uno, one BT-Modul (HC-06), a 1602LCD and as said this MCP4131-digi-poti (1$ Ebay/Aliexpress)..

first post about it is here->http://essabre-90xx-rpi.sfb2.com/2018/02/es9038q2m-project-2-building-a-bt-controlled-hw-volume-control-digital-pot-10kohm-mcp4131/ and i used this very helpful article about controlling the MCP4131 via SPI from here:->http://www.learningaboutelectronics.com/Articles/MCP4131-digital-potentiometer-circuit.php





this mcp4131 has 128 steps and the usable „range“ on this ES9038Q2M is about 64-128; as also posted by someone else before, only after 50% you can hear any difference..
the sketch (via BT as said now) is „full-up“ (+128), „full-down“ (+85), and in 4 point steps (+4 and -4) example: 124,120 and so on and in 1 point steps(+1,-1)..
the „main“-point in the sketch is this:

int digitalPotWrite(int value)
{
digitalWrite(CS, LOW);
SPI.transfer(address);
SPI.transfer(value);
digitalWrite(CS, HIGH);
}

(its after the loop and u call the function simply with: „digitalPotWrite(i);“; where „i“ is the value (from 0-128))

Link (sketch) here + at the forum;

works here all very well and so u have another choice to adjust the volume (i use Volumio here without any software-mixer and therefore on 100% volume) than only via your amplifier and so u have some „finer“ adjustments..
nice thing (but as said, i will try to „pair“ it with my ESP32S-web-filter-control in future..),
many greets for now 😉

Moode/Volumio on a raspberry pi vs. Samsung Bluray-player (spdif-coax) Impressions..+SRC4392 (+beta „Project 2“)

hi there, 😉
long time not seen..its a little bit silent here lately but absolutely no worry/problem..
okay,
i´have here some Samsung Bluray-Player (BD-H5500); not the worst; only with some spdif-coax output..
some days ago i thought the only, true,real good sound is via some very good CD-transporter/drive/device + directly via spdif into the ES9038Q2M and go 😉 ..
but as i heard today again the ES9038Q2M with the raspberry pi (Model 3B) and some flacs i felt its really a class of its own !!
1-2 level (soundwise) higher !!
(at present btw. i think Volumio (hated it a long time) has a very good sound/tune; a bit better than Moode 4.1 (then picoreplayer and so on)..DietPi (V6.8 now) is still „in the lead“ (IMO) but usability-wise Volumio is great..)
so, back to topic: i really don´t know why the flacs on a pi (and via I2S) had a such great sound/tune in comparison to some „normal“ CD-spdif-combos (IMO)..absolutely don´t know why; but it is (and this is said by really a lot of people in the „Hifi-world“ ;-)..(maybe its because of this delta-sigma-conversion and the „required preliminaries“)..
by that i think meanwhile the spdif-„conversion“ on the ES9038Q2M could be a problem; its not soo high-class/hi-fi as expected..(spdif-receiver-side)
in my praised DIY-audio-forum->http://www.diyaudio.com/forums/digital-line-level/314935-es9038q2m-board-129.html, they are looking lately for some „SBC 4392“ asynchron frequency decoder boards for spdif/usb decoding with 144 db !! thd and ultra-low jitter too..

Link (60$-90$)
think absolutely the same here and because only of „hearing“ out the „distortion/jitter“ via the spdif-receive-unit/decoding on the ES9038Q2M..
(so to see u must use such a SRC4392 before your ES9038Q2M and then via I2S in it, bypassing the onboard-spdif..)..
so, by that i definitively want to try out some AD797 in future (have now some Muses8920 in it) and i also want to buy definitively a new, „Green“ ES9038Q2M V1.07 because i still think the „Blue“-ones (have one here) sound really not so hi-fi as they could/expected (we discussed it here a few weeks ago)..

by that i revive my „Project 2“ a little bit; means BT/Web-control for the different-filter+HW-Volume settings on an ES9038Q2M (u can meanwhile buy it as „set/package“ with display and rotary encoder/apple-remote but nevertheless)
this time i used some „Geekcreit ESP32S Devkit-V1„-board (links/first thoughts about also at the forum-> link-FORUM ) (first post)

(ESP32S connected to a PCF8754 via some 5-3.3V logic-level-converter, controlling a 4-port relay and then to the 4 jumper on the ES9038Q2M..HW-volume via some MCP4131 will come hopefully later..)

but as said earlier, i hear almost no differences between the filter settings on these ES9038Q2M, but when, i would prefer JP3+JP6=“linear phase fast roll-off

(as said, here now listening to it with this filter-setting on a pi with Moode 4.1; and so „dry„; absolutely low latencies, perfect (but as said, Volumio/DietPi sound a little bit better (IMO))
many greets for now 😉

 

Wonderful pics -> DIY-project by Terry (ES9038Q2M+Kali reclocker) + LME49720 impressions + ESP32S

first, 😉
here is some beautiful pic by „Terry“ again on his DIY-audio project (an ES9038Q2M+Kali reclocker i guess); wonderfulst !!
also the attached TFTLCD-solution->the layout of the screen and so on..
a treasure chest on ideas for other user in building their own DACs !! fabulous !! so many thx again !! (we´ll maybe get more pictures in future !)

second,
the LME49720 just arrived; i tested it here on an ES9028Q2M (DietPi-ympd, I-Sabre-k2M overlay):
for me too „thin„; it had a lot of air and liveliness/agility but absolutely, as said: „thin“..
after i put my Muses8920 back in i´ve got the feel: thats really hi-fi (with the Muses.)
but meanwhile thats all „whining“ on a high level and it really depends on your personal taste (on this high level->one wants to have more „push“, prefered more „rock“, the other one prefered more „classical“ music/tune and so on..)..
but nevertheless i would prefer the Muses8920 in comparison to the LME49720 by 15-20% 😉
(had not the possibility here right now to check it against the OPA2134/NE5532)..

third,
the Geekcreit ESP32S arrived here yesterday (Link) (5,50€); 2 cores, wlan b/g/n, bluetooth on board, 4 !! spi-s and so on..think about how to use it for the DAC-control (spi-display,source-selection,filter-settings, HW-volume etc.)..

greets for now 😉

DIY: Relay-controlled source-/filter selection ES9038Q2M (Arduino)

so, 😉
because i´m really stupid and really don´t know how to accomplish a „jumper-substitution“ and after reading in some Arduino-forums, i came to the idea of buying some relay and try to realise it via this way..

(Update:profd“ from the forum told „us“ to use digi high or low + a logic level converter instead;->LINK)
These relays are cheap, around 2€ or so, u can buy it as 1,2,4,8 and so on..they are really easy to connect/addressable..


(remark: the 3 wires on the right are for the 10k poti (and then in future for the digi-poti of course))

u connect the GND and + from JP1 on the ES9038Q2M to COM (GND) and NO (+) and thats it..(i first connected it to the NC (normally closed) but that means, if u shut the Arduino down, then the circuit is (normally-)“closed“, means jumper set..

the relay itself is easy connected; GND from the Arduino to the GND and Power (5V+) from the Arduino to the VCC-pin (the jumper JD-VCC etc.. is another story, only remove and connect it to an external power source if u want to separate the Arduino-circuit completely from the relais circuit).
IN1,IN2 etc. is connected to a pin of your choice/assignment made in the sketch like this:
//relais
#define RELAY1 8
#define RELAY2 12
#define RELAY3 6
#define RELAY4 7
(i will post the modified sketch in the forum->LINK)
so, and now i can control/set the source via the BT (via our sketch), means for example „c“ for coaxial, „o“ for optical, „i“ for I2S and so on..

if (a==’c‘)
{
BT.println(„Source: coaxial“);
digitalWrite(RELAY2,HIGH); //R2 OFF
delay(50);
digitalWrite(RELAY1,LOW); //R1 ON
..
lcd.print(„Source: coaxial“);

}

i, u, can also use this now to set the different-filter-types, as for example JP3=set and JP4=set ->“slow minimum roll off filter“)..(will also maybe make a modified sketch for this future..)..
so, and really funny/cool 😉 is that these relays really make a „clack“-noise, everytime u adress it, for example i choose „c“=coaxial it makes „clack“ and it changes to coaxial..


really „Hi-Fi“ 😉

(forum-link->LINK)

ES9038Q2M: „Project 2“->building a BT-controlled HW-Volume-control (digital pot 10kOhm) MCP4131

so, 😉
because its a little bit silent around here lately, we still don´t know if the „Blue“ ES9038Q2M has a „shitty“ pcb and the „green“-ones sounds better, i have still buffer/“lock“-problems in windows using the V4.36 Singxer-driver on the Skysong-XMOS-USB in sample rates above 16/44 i wanted to use the onboard-HW-volume control, to which u can connect a normal 10kOhm-potentiometer (see pictures) easy..

 


i tested it here, and it works far not so good as expected and i guess u have a very small range of about 20% or so (in my feel) too..
i thought i could easy use the Arduino with analogwrite () and connect one pin to the middle of the onboard-3 pin but what i´ve read so far is that the Arduino can only send out PWM-signals so u need an external digital potentiometer (thats what i´ve read so far, don´t know if its true) and control it via the (in this case) SPI-bus/protocol..
for this u can buy a cheap MCP, in this case a MCP4131 of around 0,89€ and a Dip-8 socket (0,51€) etc.,etc..(more to come..)


(very good tutorial for this right now:
http://www.learningaboutelectronics.com/Articles/MCP4131-digital-potentiometer-circuit.php)

i will post here any „improvements“ (and (maybe) a full tut) asap..!! 😉

„Project 1“->Cambridge Audio Azur 540A IR/BT-Remote DIY – *Works* !! ;-)

so, 😉
after i´ve got my „Arduino Mega 2560 R3“->on sale 11,99€ Amazon->LINK a few days ago, i just wanted to revive my „Project 1“ Cambridge Audio Azur A540 Remote via a „Bluepill“ (STM32F103C8T6) or an Arduino; original post here-> http://essabre-90xx-rpi.sfb2.com/2017/12/programming-subkurs-i-ir-receiver-raspberry-pi-project-1-cambridge-audio-azur-540a-remote/..


I´ve ordered an Arduino because this Bluepill/STM32-programming via the Arduino IDE is still very complicated at present imo, because there were nowhere really clear,simple instructions and libraries (pin assignments and so on)..(more maybe later)..
so i´ve decided to „fall back“ on this original Arduino-thing, hoped it would be easier at first for me..
long story short: (I´ve made a really long TuT over at the forum->http://essabre-90xx-rpi.sfb2.com/forum/showthread.php?tid=18)
because i didnt know how to send and receive IR-signals (simultaneously) and which pins i then i have to/use edit in the boarddefs.h (Arduino IRremote-library) i switched over to my HC-06 Bluetooth-Modul….
etc..etc 😉
Full story (as said) here->http://essabre-90xx-rpi.sfb2.com/forum/showthread.php?tid=18




and now it works here absolute fantastic !!! 😉

1 2