Search found 102 matches

by rin67630
Fri May 01, 2020 3:27 am
Forum: ESP32 Arduino
Topic: That is a somewhat curious forum here...
Replies: 8
Views: 8988

Re: That is a somewhat curious forum here...

Thank you, but what can I do with this information? esp_err_t esp_wifi_set_ps(WIFI_PS_MAX_MODEM); returns an error from the library: 'WIFI_PS_MAX_MODEM' was not declared in this scope. Does that mean that the library under ...\Arduino\Hardware\espressif\esp32\libraries\WiFi just makes no use of the ...
by rin67630
Thu Apr 30, 2020 10:05 pm
Forum: ESP32 Arduino
Topic: SimpleTime ...and then?
Replies: 3
Views: 4446

Re: SimpleTime ...and then?

Thank you for replying I have currently 2 routines: I have slightly modified the routines; void reConnect() { WiFi.mode(WIFI_STA); WiFi.begin(); while (WiFi.status() != WL_CONNECTED) { delay(10); } } void disConnect() { // WiFi.disconnect(); //temporarily disconnect WiFi as it's no longer needed Wi...
by rin67630
Thu Apr 30, 2020 8:45 pm
Forum: ESP32 Arduino
Topic: That is a somewhat curious forum here...
Replies: 8
Views: 8988

Re: That is a somewhat curious forum here...

Most questions in here can be answered by using a simple Google search... Most questions, maybe... But I could not find anything useful about the concrete syntax to enter into modem sleep, NOT light sleep, NOT deep sleep that are documented here https://docs.espressif.com/projects/esp-idf/en/latest...
by rin67630
Thu Apr 30, 2020 7:07 pm
Forum: ESP32 Arduino
Topic: SimpleTime ...and then?
Replies: 3
Views: 4446

Re: SimpleTime ...and then?

Thank you for replying I have currently 2 routines: void disConnect() { // WiFi.disconnect(); //disconnect WiFi as it's no longer needed (this appear to remove the credentials) WiFi.mode(WIFI_OFF); btStop(); } void reConnect() { WiFi.mode(WIFI_AP); WiFi.begin(); delay(15); } When I run disConnect();...
by rin67630
Wed Apr 29, 2020 9:22 pm
Forum: ESP32 Arduino
Topic: That is a somewhat curious forum here...
Replies: 8
Views: 8988

That is a somewhat curious forum here...

The ratio views / answers is less than 1%.
by rin67630
Tue Apr 28, 2020 9:53 pm
Forum: Sample Code
Topic: Sinus Signal Generator from 18Hz to 250kHz
Replies: 9
Views: 67273

Re: Sinus Signal Generator from 18Hz to 250kHz

You want to get a blazing fast sinus & cosinus generation without a lot of code?

Try that:
void setup() {
int X=0;
int Y=1000;
}

void loop() {
y1 = y1 - x1 / 16;
x1 = x1 + y1 / 16;
}

Unbelievable, but it generates a very nice and blazing fast sinus and cosinus on x and y!

Enjoy!
by rin67630
Tue Apr 28, 2020 9:35 pm
Forum: ESP32 Arduino
Topic: Arduino IDE code to enter and exit Modem sleep.
Replies: 0
Views: 3159

Arduino IDE code to enter and exit Modem sleep.

Hi, sorry to bother you, but I need some help. Call me stupid, but I just could not find any clear instructions on how to do that simple thing: enter and exit modem sleep for less than 1 second? I have been searching for hundreds of sites which all mainly go directly into light sleep or digressing p...
by rin67630
Tue Apr 28, 2020 2:23 am
Forum: ESP32 Arduino
Topic: SimpleTime ...and then?
Replies: 3
Views: 4446

SimpleTime ...and then?

The setup routine of SimpleTime ends with: //disconnect WiFi as it's no longer needed WiFi.disconnect(true); WiFi.mode(WIFI_OFF); Well. And then? Wouldn't it have been helpful to give at least the required code to reconnect as a comment? I am losing hours to "try and error" seeking a way to do that!
by rin67630
Sat Jun 09, 2018 7:54 am
Forum: ESP32 Arduino
Topic: ESP32 DAC1 and DAC2 not synchronous on Arduino IDE
Replies: 5
Views: 8636

Re: ESP32 DAC1 and DAC2 not synchronous on Arduino IDE

How about dual core?? While I'm waiting for the MCP4802 I was playng with the dual core!!! The idea is to synchronize the call of dac_output_voltage(DAC_CHANNEL_x, a-b), one for each core. Mauro Remember: the second core is not idling uselessly, it provides WiFi+Bluettoth and needs some prime time ...
by rin67630
Wed Jun 06, 2018 1:07 pm
Forum: Hardware
Topic: RTC clock too fast by 2 Min in 10 hours?
Replies: 6
Views: 18445

Re: RTC clock too fast by 2 Min in 10 hours?

My problem is very similar to yours. I'm also doing light sleep and seeing very large and unpredictable time drifts (around +3-10ms/s). I'm also using a WROOM 32 rev1. Were you able to get better results from RTC by adding the 32kHz crystal to GPIO32 and 33? Thanks! That was too much fiddling. I ha...