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 !! 😉
nothing particular new; „audio“-wise its a little bit on „hold“ (had first to buy some +-15V toroidal transformer and so on) but i made a little progress/effort „usability-wise“..
i´m now able to get something in the spiffs-fs (ESP32), read it out 😉 and display it via „drawJpeg“ from the famous Bodmer TFT-eSPI-library->Link
(!! sorry for the still absolutely „shitty“ layout, but i was only happy to get something on the display at all 😉 !! (will change/edit it then; only some „ideas“ (for not doing it in this way 😉 ) for u maybe)
was a little bit difficult because u (i) really need the absolutely newest libraries (jpegdecoder.h for example too) from the bodmer-github-repository (some older example jpgs are unreadable by their own decoder-library and so on..)..
have still some problems/the first third of a decoded jpeg is corrupt, but i can now upload some jpegs in the spiffs, list and display them..(and understood how)
the whole sketch (web-gui for filter-selection, HW-volume control via digi-poti, display jpgs etc..) is here->Link and i maybe make a post in the forum->Link..(could be very interesting for some who also want to understand the ESP32 „better“)..
by that it was all build on top of the absolutely fabulous „Autoconnect-library“ by Hieromon -> https://github.com/Hieromon/AutoConnect; absolutely super great webserver/wlan access library->absolutely to recommend !!
Picoreplayer is now at V4.1.0 (24.Nov 2018)->https://www.picoreplayer.org/main_downloads.shtml(Pi-Kernel-bump to 4.14.81, squeezelite-update, support for Rpi 3B+ and so on->Link
Dietpi is now also at V6.18 (26/11/18)(some bugfixes+improvements)->https://github.com/Fourdee/DietPi/blob/master/CHANGELOG.txt
that was it for now, more to come, stay tuned, greets 😉
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 😉
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“) 😉
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:
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 😉
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 😉
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)
(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 😉
came by chance about this „new feature“; had read about it but forgot it; its from this forum->http://audiodiyers.hu/viewtopic.php?f=48&t=3615&sid=3d4bd2f2c89af6709dfbbe53ec0a9ee3&start=50#p74779
means we can expect a „panel“ (over I2C !!) for it->“..the backpanel was developed by the end of february..“(VR1.06)
and there were several panel/options via I2C->not only 16*2, also 128*64, 320*240 and so on !! 😉
try at present to test out some libraries for this..