„Arduino goes serial with the ESP8266“ / quick and dirty tutorial..

so, 😉
in waiting for the new Op-Amp (and looking for the right case + +-15V toroidal transformer), i´ve revived an old WeMoS D1-R2 (ESP8266)for using it with my Arduino-Cambridge-Audio-IR-Remotecontroller substitution (as wifi-/webcontrol)..
quick and dirty tutorial in the forum->http://essabre-90xx-rpi.sfb2.com/forum/showthread.php?tid=89

nothing special, only that i had great problems in using the softwareserial-library on the ESP8266 and that i used „Serial1“ instead (via „D4“ (GPIO2)-„Serial1.begin(9600)“)
the sketch for the ESP8266 is built around the wonderful, wonderful „autoconnect“-library by „Hieromon“(as posted before)->https://github.com/Hieromon/AutoConnect

more to come, greets for now !! 😉

Project 3: read out/write data (over I2C) via the onboard mcu ES9038Q2M/-ES9028Q2M

so folks 😉 ,
essabre-90xx-rpi.sfb2.com needs your help 😉
as i just want to read out some data from the mcu on these boards like data-rate (192khz,384khz and so on), data-format (PCM,DSD) and maybe the HW-Volume for just displaying it on a small 3,5″ display for example (or use it to display it via some app/tool on a raspi/web etc..) „we“ have now to find a way to solve this..

as we now have the possibility to access the I2C-bus via the new connection on an ES9038Q2M (they used it also to display/change some values via their hardware) we have to find a way to simple control/change/read-out data over it..
the normal „adresses“ on an ES9038Q2M must be/are „hidden“ due to some NDA-bla bla, and the real register-adresses are „encrypted“/are only in the mcu..

but how can i/we connect a raspberry/Arduino/ESP32 to it via I2C ?

i think we have now here to make a really long tutorial to get such „experimental setup“ to work. how to exactly connect and to which pins, which tools/commands to use (python/i2c-set and so on)..
i will make a new thread in the forum->“Project 3: controlling the onboard mcu on an ES9038Q2M/-9028Q2M
there i will make this tutorial but i first to have to gather all possible informations about it and there u come in !! ;-)
so please post all your informations/experiences concerning this topic in the forum or here in the comment-section !!

a good start for now are these (new) „VinnyLorrin„-repositories at github->https://github.com/VinnyLorrin
->“ES9028Q2M-controller“,“ES9038Q2M-Linux_Driver“,“ES9028-controller-PCB“ and so on..very good, first, informations about it…
(many many thx btw. to „eslei“ at the diyaudio-forum for getting first infos/an entry->https://www.diyaudio.com/forums/digital-line-level/314935-es9038q2m-board-322.html

thread in the forum->http://essabre-90xx-rpi.sfb2.com/forum/forumdisplay.php?fid=86
greets for now 😉

The OPA627AU arrived – very „warm“- not so much „digital-room/-soundstage“/ Volumio now at V2.502 / dimdim.gr

so 😉 ,
finally the OPA627AU (as dual on one DIP-8) arrived..
and indeed, absolutely more „analogue/tube-sound“ (in comparison to the AD797ANZ + LME47910-20s) here..
very „warm“, but with a lot of „body“, more „natural“, not so digitally „harsh“ as the AD797ANZ (or the LME47910 of course) by example..

better for high-volumes->thought first „more right/true“->more hi-fi..(but also maybe a little bit „fatiguing/boring“ due to the analogue „timbre“)
not so much „digitally room/3D“ what i liked the most on the ES Sabre-Chips; very „sweet“..
The OPA627AU and the AD797ANZ are absolutely on a very similar „level“; u absolutely dont go wrong in using the OPA627AU..
but for me, i think i stuck with the AD797ANZ; more „room/clinical“, but thats really an absolutely personal impression/affection/taste..)
i think the speciality on these Sabre-Chips is this digitally room/3D-feeling + also with the great soundstage..
so i stay, as said, with the AD797ANZ (all on this „Blue“ ES9038Q2M; the „Green“ have a slightly different characteristic as mentioned in an earlier post..)
(Update 2hrs later: i will definitively stuck with the AD797ANZ; for me absolutely the better choice !!)

by that Volumio is now at V2.502, some minor bugfixes + Pi Kernel-bump to 4.14.71; couldnt determine any differences in the overall tune..

by that i want to suggest/introduce you to http://www.dimdim.gr again..
absolutely great site; inventor of the famous „Hifiduino-project“; a lot of very interesting infos/tips there; take a look over there !!

more to come !! 😉

ESP32S + 3.5″ TFT-display (480×320) (par.) ILI9481 Bodmer/TFT_eSPI

yeah, 😉
got it finally to work !!
so, another important step in the way of (building) your own DIY-DAC !! hooray !! (and thats what this site is all about, see „Introduction“) 😉
so II,
after the ESP32S is a much more powerful thing than an Arduino (the main advantage is also the great SPiffs/Flash-Ram of about 4MB(32Mb) for storing little images/icons like DSD64 and so on) and its a little bit difficult to get normal tft-displays on an ESP32S to work (different pin-layout and so on),i´ve bought this second tft (this time 3.5″) and only for ca. 6€->Ebay (Link)

main problem on these „cheap“ 3.5″ is that some must be parallel connected (and not via SPI) so u have to find a way to solve this..
i´ve used the famous „Bodmer/TFT_eSPI“-library (works for some displays in parallel mode + on an ESP32)->https://github.com/Bodmer/TFT_eSPI
u only have to change some values in the „User_Setup.h“ + „User_Setup_Select.h“ to match your needs->other pin-definitions + the right tft-driver-selection (post maybe a link to these 2 files here or in the forum)..
here it works fine with the „ILI9481“-tft-chipset:

so III,
i can now use the ESP32S for the HW-digi-poti, for the filter-settings and so on, all with a very nice gui via wlan..(or bluetooth or via mqtt with an app par example (see all the posts before))..very nice 😉

greets for now 😉

Volumio v2.444 out / „Allo Katana“-support -> works on „chinese“-ES9038Q2M too !! / massive.. ;-)

so, 😉
a new Volumio is out->V2.444 ; its here->https://volumio.org/get-started/..
changelog says: „..Pi kernel bump to 4.14.56, Allo Katana support etc.“..
tested it here rightaway with the ES9038Q2M (2*AD797)->“massive“ 😉

but back to the Katana-overlay: at first „hear-out“ i´ve got the feel its more „massive“, more „accentuated“ (especially with the 2*AD797)..
don´t know at present if its the Katana-option, or the optimized Volumio-„footprint/improvements“ (see changelog)..
unfortunately i´ve got only 192khz/24bit with „audio resampling on“ (set it up for 384khz but got only 192/24)->

by that, there´s also a new „Volumio ESS9028QM„-option; works too (with the „Blue“ ES9038Q2M) (but didnt test if it reaches 384khz)..
but anyway there´s absolutely an improvement „sound-wise“ again !! „sounds“ again more „right“; really heavy, absolutely to recommend !! (RPI 3B-ES9038Q2M-2*AD797)

by that i´ve experimented a little bit more with „node-red“ and now with „MQTT-broker,-subscribe+publish“ and so on; really freaky, u can seamlessly connect an android app (->picture) with a pi zero as mqtt-broker and then via bluetooth (or websockets) to an arduino or esp32s..as said absolutely „whacky“ 😉

(„IoT MQTT Panel“->google/android-playstore->

(this is as said, all for (in favor) of our lovely „DIY-DAC„-project , display and usability-wise)..
(will post maybe then more..)
but as said, really a sound improvement with the new Volumio (+“Katana“-option)..
greets for now 😉

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:

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