Search found 11 matches

by Salakhov
Mon Nov 15, 2021 3:24 am
Forum: ESP32 Arduino
Topic: Touch interrupt is not detaching.
Replies: 1
Views: 4983

Touch interrupt is not detaching.

Hello,
Touch interrupt is not detaching.

int threshold = 20;
bool touch1detected = false;

void gotTouch1() {
touch1detected = true;
}

void setup() {
Serial.begin(115200);
delay(1000);
Serial.println("ESP32 Touch Interrupt Test");

touchAttachInterrupt(T0, gotTouch1, threshold);
delay(1000 ...
by Salakhov
Thu Apr 08, 2021 6:53 am
Forum: ESP32 Arduino
Topic: External interrupts are not working when UART is disconnected.
Replies: 1
Views: 2674

Re: External interrupts are not working when UART is disconnected.

SOLVED!

I sequantionally diconnected DTR, RX, TX from board.
Surprising for me the board is continueing to work correctly.
After connecting GND to AC ground the board became
to work stabile.
by Salakhov
Wed Apr 07, 2021 12:48 am
Forum: ESP32 Arduino
Topic: External interrupts are not working when UART is disconnected.
Replies: 1
Views: 2674

External interrupts are not working when UART is disconnected.

Hi,
The scetch is working correctly when UART is connected to computer.
And does not work when UART is disconnected.
What is a reason?
Thanks.

Power is independent.
USB-TTL adapter has 4 wires (GND, RX, TX, DTR)



byte ledPin1 = 4;
byte ledPin2 = 16;
byte ledPin3 = 23;

byte interruptPin1 = 39 ...
by Salakhov
Tue Feb 25, 2020 2:57 pm
Forum: ESP32 Arduino
Topic: SD_MMC writing and reading
Replies: 4
Views: 11952

Re: SD_MMC writing and reading

Hi.

The code:


/*
* Connect the SD card to the following pins:
*
* SD Card | ESP32
* D2 12
* D3 13
* CMD 15
* VSS GND
* VDD 3.3V
* CLK 14
* VSS GND
* D0 2 (add 1K pull up after flashing)
* D1 4
*/

#include "FS.h"
#include "SD_MMC.h"

void listDir(fs::FS &fs, const char * dirname ...
by Salakhov
Sat Feb 22, 2020 8:30 am
Forum: ESP32 Arduino
Topic: SD_MMC writing and reading
Replies: 4
Views: 11952

SD_MMC writing and reading

Using ESP32 WROVER KIT and library SD_MMC
I have increased buffer size from 512 to 5120 bytes.

Results are:

Lexar 1800x 32GB HCII
11:57:17.800 -> 10485760 bytes read for 8773 ms
11:57:22.137 -> 10485760 bytes written for 4333 ms

SanDisk Ultra 32GB HCI
12:05:13.484 -> 10485760 bytes read for 6835 ...
by Salakhov
Fri Feb 14, 2020 3:52 pm
Forum: ESP32 Arduino
Topic: ESP32 WROVER DOWNLOAD TOOL ERROR
Replies: 1
Views: 4873

ESP32 WROVER DOWNLOAD TOOL ERROR

I am trying to burn firmware to new wrover module.

Starting it is showing

AP: 30AEA4C56741 STA: 30AEA4C56740
BT: 30AEA4C56742 ETHERNET: 30AEA4C56743

But after downloading is stopping (no green line) and ERROR.


test offset : 4096 0x1000
case ok
test offset : 32768 0x8000
case ok
test offset ...
by Salakhov
Sun Oct 06, 2019 2:37 pm
Forum: ESP32 Arduino
Topic: SDMMC again
Replies: 0
Views: 2221

SDMMC again

Hi,

I am trying to receive highest reading speed with ESP-WROVER-KIT.
I use micro sd Sundisk ultra, 32GB, cl.10, 533x, 80MB/s both reading and writing.

Result:

11:40:06.425 -> 1048576 bytes read for 693 ms
11:40:08.431 -> 1048576 bytes written for 1989 ms

It looks too slow.

How to increase ...
by Salakhov
Sun Sep 08, 2019 7:53 am
Forum: ESP32 Arduino
Topic: SDMMC ESP-WROVER-KIT
Replies: 0
Views: 2308

SDMMC ESP-WROVER-KIT

Hi,

I am trying to receive highest reading speed with ESP-WROVER-KIT.
I use micro sd Sundisk ultra, 32GB, cl.10, 533x, 80MB/s both reading and writing.

Result:

11:40:06.425 -> 1048576 bytes read for 693 ms
11:40:08.431 -> 1048576 bytes written for 1989 ms

It looks too slow.

How to increase ...
by Salakhov
Sat Aug 31, 2019 8:18 am
Forum: ESP32 Arduino
Topic: PSRAM
Replies: 1
Views: 3990

PSRAM

Hi,

For my POV project is necessary big memory for leds data arrays. RAM is not enough.
If to move from WROOM TO WROVER B, is it possible to use PSRAM for this purpose at Arduino IDE?
If YES, how to connect PSRAM and how slower it will be work?

Thanks!

P.S.

May I use pins for SDMMC and vspi ...
by Salakhov
Mon Aug 26, 2019 8:34 am
Forum: ESP32 Arduino
Topic: VSPI, HSPI and SDMMC together.
Replies: 3
Views: 7135

Re: VSPI, HSPI and SDMMC together.

Thank you very much for the reply.

What about speed of SDMMC and vspi if I shall not use hspi?
SDMMC
D2 12
D3 13
CMD 15
CLK 14
D0 2
D1 4.

vspi
SCLK = 18, MISO = 19, MOSI = 23, SS = 5.

P.S. Where to find description of SDMMC library? I have found only examples.

Thanks!

Go to advanced search