Search found 166 matches

by idahowalker
Fri Feb 07, 2020 10:38 pm
Forum: ESP32 Arduino
Topic: Servo & I2C Timer issue
Replies: 3
Views: 7191

Re: Servo & I2C Timer issue

Author of ESP32Servo here. Take a look into the sensor and see if you can specify which timer to use. The ESP32Servo class will allocate timers in order, starting with 0. If that's not possible, before calling servo.begin(), call ``` ESP32PWM::timerCount[0]=4; ``` This should lock out timer channel...
by idahowalker
Thu Jan 09, 2020 1:58 am
Forum: ESP32 Arduino
Topic: ESP32 WROOM-32
Replies: 4
Views: 5414

Re: ESP32 WROOM-32

Which partition you select is up to you based upon your applications requirements.
by idahowalker
Wed Jan 08, 2020 4:56 pm
Forum: ESP32 Arduino
Topic: ESP32 WROOM-32
Replies: 4
Views: 5414

Re: ESP32 WROOM-32

Humm. So you had an ESP32 and you replaced it with a ESP32 WROOM and you now expect to get more memory available but a ESP32 DEV is a ESP32 WROOM. If you want more ram from an ESP32 you'd want to go with a ESP32 WROVER. Many WROVER's come with 8+ MB ram. Using the Arduino IDE with a Wrover you can a...
by idahowalker
Mon Dec 02, 2019 8:29 pm
Forum: ESP32 Arduino
Topic: SPI driver corrupted GPIO39, GPIO36, GPIO34, GPIO35
Replies: 2
Views: 3405

Re: SPI driver corrupted GPIO39, GPIO36, GPIO34, GPIO35

https://docs.espressif.com/projects/esp ... /gpio.html
GPIO34-39 can only be set as input mode and do not have software pullup or pulldown functions.
by idahowalker
Tue Nov 12, 2019 11:03 pm
Forum: ESP32 Arduino
Topic: Blocking code to Non-Blocking help.
Replies: 3
Views: 6493

Re: Blocking code to Non-Blocking help.

100% what he said^^^^^^^^^^^ I know complete waste of an ESP but that all I am using at the moment: #include "sdkconfig.h" #include "esp32/ulp.h" #include "driver/rtc_io.h" #include "esp_system.h" //This inclusion configures the peripherals in the ESP system. #include "freertos/FreeRTOS.h" #include ...
by idahowalker
Tue Nov 12, 2019 12:28 pm
Forum: ESP32 Arduino
Topic: store data in Flash (not Spiff)
Replies: 10
Views: 15518

Re: store data in Flash (not Spiff)

One can use the EEPROM library to store data in flash.
by idahowalker
Mon Nov 11, 2019 8:16 pm
Forum: ESP32 Arduino
Topic: Restart if Guru Meditation Error
Replies: 7
Views: 9218

Re: Restart if Guru Meditation Error

You might want to hunt down and install the "esp exception decoder arduino", it could provide some help with hunting down the issue.
by idahowalker
Fri Nov 08, 2019 4:52 pm
Forum: ESP32 Arduino
Topic: The Ring
Replies: 0
Views: 1933

The Ring

Buffer. My current thing do is about using a Ring Buffer. void fSendSerialToBrain( void *pvParameters ) { CAN_frame_t rx_frame; xSemaphoreGive ( sema_SendSerialToBrain ); bool PassTwo = false; for (;;) { xEventGroupWaitBits (eg, evtSendSerialToBrain, pdTRUE, pdTRUE, portMAX_DELAY); size_t item_size;...
by idahowalker
Fri Nov 08, 2019 2:17 pm
Forum: ESP32 Arduino
Topic: External ADC Question
Replies: 7
Views: 11209

Re: External ADC Question

Also, I found that by sampling the ADC regularly once a mS or so, and applying the Simple Kalman filter to the results https://github.com/denyssene/SimpleKalmanFilter , the output gets real smooth. Even if the A:D converter values are not displayed regularly, like once a second, getting several read...