Hi,
I am not experienced at all regarding programming so please bare with me.
The project I want to do is controlling a dsp using the esp.
So far I managed to write a sketch which maps potis, leds and knobs connected to the esp to certain functions which cause the ESP to send certain things to a DSP (Adau 1701 or Adau 1401) to change parameters within the DSP.
Using Potis, Knobs etc the whole thing works okish but I am running into problems when cableing everything in a case due to interference between the wires of the portis etc to the esp.
Now there are two possible ways to deal with it.
1. Using a TFT plus encoder. Unfortunately I can't find an example which I can modify to my needs. I don't really understand the connection between a certain point within the menu and the changes I want to make within the function (i.e. changing an eq frequency) as I dont really get how to "map" menuentries to certain variables.
The second problem I am having is that the whole code of the dsp gets sent from the esp to the dsp's eeprom. So in theory every time I am restarting the unit I would have to dial in the values for the parameters again.
My questions to this type of solution are:
A. Could anyone point me to an easy understandable menututorial which ideally is using an encoder and a tft or oled already so that modifying is not that difficult? I was hoping for something (I know it doesn't work like that) "if menuentry 1 button pressed - rotary encoder edits the value of variable x - if pressed again rotary encoder scrolls through menu parameters
B. If I ever manage to get a menu going is there any way to make "snapshots" of the values dialed in for certain variables so that when the unit is booting I can write those with selecting "snapshot1" all in one go into the dsp, preferred automatically after startup
2. Using a webinterface.
Not sure if I am thinking completely wrong but would it be possible to have a loop running that just contains commands like "eq frequency = a, lowpass frequency = b etc. and use a webinterface that lets me dial in values which are mapped to those variables a, b etc?
If so, could anyone point me to an easy example?
If this would work, would it be possible to make snapshots within my computer, mobile or whatever it is I am using to controll the esp?
I also have some other questions.
Is it possible to use the pins on the ESP as a kind of relay? for the dsp to run I have to have 2 wires on ground, then take them off ground and put them to ground again before the dsp switches to slave on ic2 and accepts input from the esp? I know I could control relays with the gpio pins of the esp but I cant find any small relays for that. all i find are like 220 v ones and big and bulky whereas the currents I am switching are 3,3 v and dont need those heavy isolated relays
How do I reset the Esp (dev board) without having to touch the reset button?
I hope those questions make sense.
Thanks for helping
Jens
ESP to control DSP. Wifi or TFT + encoder
Who is online
Users browsing this forum: No registered users and 97 guests