Search found 132 matches

by idahowalker
Mon Dec 02, 2019 8:29 pm
Forum: ESP32 Arduino
Topic: SPI driver corrupted GPIO39, GPIO36, GPIO34, GPIO35
Replies: 2
Views: 113

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: 250

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: 2116

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: 700

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: 148

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: 6
Views: 472

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...
by idahowalker
Fri Nov 08, 2019 2:56 am
Forum: ESP32 Arduino
Topic: ESP Now values not being received properly on receiver side.
Replies: 3
Views: 249

Re: ESP Now values not being received properly on receiver side.

This is not true // For ESP32 the GPIO pwm pins are: 0,1,2,3,4,6,7,8,9,10,11,12,14,16,17,18,19,21,22,23,25,26,27,32,33,34,35,36,39 All the GPIO pins above 32 are input only // For ESP32 the GPIO pwm pins are: 0,1,2,3,4,6,7,8,9,10,11,12,14,16,17,18,19,21,22,23,25,26,27,32 is correct. Anyway, not used...
by idahowalker
Fri Nov 08, 2019 2:49 am
Forum: ESP32 Arduino
Topic: ESP Now values not being received properly on receiver side.
Replies: 3
Views: 249

Re: ESP Now values not being received properly on receiver side.

Just courious if you expect these values to go negative uint16_t ACW = total[0] / numReadings; // AzimuthCW uint16_t ACCW = total[1] / numReadings; // AzimuthCCW uint16_t ECW = total[2] / numReadings; // ElevationCW uint16_t ECCW = total[3] / numReadings; // ElevationCCW ? A uint16_t cannot store a ...
by idahowalker
Thu Nov 07, 2019 4:17 pm
Forum: ESP32 Arduino
Topic: [SOLVED] SECOND SPI QUESTION
Replies: 3
Views: 270

Re: SECOND SPI QUESTION

I use the ESP32 SPI API to do the SPI thing. https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/peripherals/spi_master.html here is the 'main' code #include "sdkconfig.h" // for log_x #include "esp_system.h" //This inclusion configures the peripherals in the ESP system. #include "es...
by idahowalker
Thu Nov 07, 2019 4:04 pm
Forum: ESP32 Arduino
Topic: External ADC Question
Replies: 6
Views: 472

Re: External ADC Question

I get great results from the built in A:D's and an example of the way I am using the ADC. #include <driver/adc.h> setup() { // https://dl.espressif.com/doc/esp-idf/latest/api-reference/peripherals/adc.html // set up A:D channels adc1_config_width(ADC_WIDTH_12Bit); adc1_config_channel_atten(ADC1_CHAN...

Go to advanced search