For Q2: Here is a slap together example github.com/pcbreflux/espressif/tree/master/esp32/arduino/sketchbook/ESP32_BLE_server_UART_Thinkspeak sure you have to change ssid, pass and WEB_URL to add the Write API Key from thingspeak to fit your need. And a little more testing is needed, but all in all it should work stable. The Arduino BLE library from Neil Kolban uses bluedroid and this seams to prevent HTTPS from working, to get arround this and also to prevent the BLE server to stop, the sketch uses deepsleep to start the esp32 from time to time. The Values are stored in NVS (non volatile storage) and are send to thingspeak after a startup.
Hi, could you please make a video and explain nested interrupts, interrupt priority... with ESP32? Espacially I am looking for a good way, how to handle more then one external interrupts, when they fire at "the same time". Thank you :)
Thank you for all answers. Q5- must output pwm signal on esp32 pin . Than pwm will be handled by external schematic to create high voltage sinusoidall signal on MOSFET , inductor and capacitor. DAC and I2C approach are not suitable. Needs to be pwm. Any suggestions on this? Thanks again .
Don't test this, but at first glance if you need pwm and not a true audio quality sine-wave with true 50Hz then I would set up a timer with 50x17 Hz (your array with 17 values, would not repeat the last value) or a loop and send the values to the ledcWrite function. The LEDCSoftwareFade example would be a good starting point github.com/espressif/arduino-esp32/blob/master/libraries/ESP32/examples/AnalogOut/LEDCSoftwareFade/LEDCSoftwareFade.ino and rewrite the ledcAnalogWrite function to change to your array and tweak the 30 milliseconds delay to 1 millisecond (50x17 Hz=850Hz ~ 1,18ms).
Hi, thank you for your videos. I was late for the Ask Me Anything. Here is my question: I have mosfets which can switch 5V or higher voltage, with a 3.3V signal in the gate. But, are there mosfets that can switch 3.3V? The aim is to control small DC motors at 3.3V (or 3.7V) with a 1 cell Lipo battery. Thank you.
Yes, sure there are MOSFETs for 3.3V. Maybe this helps ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-vudSUDFWoQE.html (ESP32 MOSFET Tutorial (as a Switch)) for different scenarios.
Just a slap together example code, works but more testing needed: github.com/pcbreflux/espressif/tree/master/esp32/arduino/sketchbook/ESP32_RotaryEncoder
I also wanted to as about your day job but was afraid it might be too personal. Wow I must say came as a good surprise. I have always thought you must be head of some IoT or embedded devices at some mittelstand German engineering. Thanks for sharing :)