Hi!
First check analog input with potentiometer.
sample https://randomnerdtutorials.com/esp32-a ... duino-ide/
Search found 56 matches
- Mon Dec 21, 2020 11:37 pm
- Forum: ESP32 Arduino
- Topic: Thermistor connecting to esp32 and coding through Arduino IDE
- Replies: 3
- Views: 9363
- Tue Oct 06, 2020 3:37 pm
- Forum: ESP32 Arduino
- Topic: Saving preferences doesn't work
- Replies: 8
- Views: 10434
Re: Saving preferences doesn't work
Use another variable to check valid NVS content.
read this, if variable != 0x5A (or any fix value) then write this variable to 0x5A in NVS, and set all variable to default.
The NVS content don't guarantee the default empty value 0x0!
read this, if variable != 0x5A (or any fix value) then write this variable to 0x5A in NVS, and set all variable to default.
The NVS content don't guarantee the default empty value 0x0!
- Tue Jun 02, 2020 11:25 am
- Forum: ESP32 Arduino
- Topic: ESP32 unable to execute uploaded program
- Replies: 10
- Views: 10181
Re: ESP32 unable to execute uploaded program
This not a blink.
try, and check serial console:
void loop() {
Serial.print(".");
digitalWrite(ONBOARD_LED,HIGH);
delay (1000);
digitalWrite(ONBOARD_LED,LOW);
delay (1000);
}
try, and check serial console:
void loop() {
Serial.print(".");
digitalWrite(ONBOARD_LED,HIGH);
delay (1000);
digitalWrite(ONBOARD_LED,LOW);
delay (1000);
}
- Mon Apr 13, 2020 11:30 pm
- Forum: ESP32 Arduino
- Topic: ESP32 SD card info
- Replies: 8
- Views: 14915
Re: ESP32 SD card info
sorry, i view sd, don"t sdfat.
Connect this pinout
CLK18, Miso19, Mosi23, CS15
and remove SPI.begin....
Connect this pinout
CLK18, Miso19, Mosi23, CS15
and remove SPI.begin....
- Mon Apr 13, 2020 10:11 pm
- Forum: ESP32 Arduino
- Topic: ESP32 SD card info
- Replies: 8
- Views: 14915
Re: ESP32 SD card info
The pinout change in your source:
SPI.begin( 14, 2, 15, 13); // The bultin SD card SPI for WROVER
void begin (int8_t sck=-1, int8_t miso=-1, int8_t mosi=-1, int8_t ss=-1);// this SPI.begin defined in spi.h
SPI.begin( 14, 2, 15, 13); // The bultin SD card SPI for WROVER
void begin (int8_t sck=-1, int8_t miso=-1, int8_t mosi=-1, int8_t ss=-1);// this SPI.begin defined in spi.h
- Tue Apr 07, 2020 6:17 pm
- Forum: ESP32 Arduino
- Topic: SD filename as date?
- Replies: 11
- Views: 13305
- Tue Apr 07, 2020 11:54 am
- Forum: ESP32 Arduino
- Topic: SD filename as date?
- Replies: 11
- Views: 13305
Re: SD filename as date?
origin: Writing file:/2020-4-19.txt
your without slash:
this where?: Writing file: 2020-04-07
where dayStamp?
your without slash:
this where?: Writing file: 2020-04-07
where dayStamp?
- Mon Apr 06, 2020 9:31 pm
- Forum: ESP32 Arduino
- Topic: SD filename as date?
- Replies: 11
- Views: 13305
Re: SD filename as date?
I check https://github.com/espressif/arduino-esp32/tree/master/libraries/SD_MMC/examples/SDMMC_Test change hello.txt to 2020-4-19.txt results ok: ... Writing file: /2020-4-19.txt File written Appending to file: /2020-4-19.txt Message appended Reading file: /2020-4-19.txt Read from file: 2020-4-19 Wo...
- Mon Apr 06, 2020 6:17 pm
- Forum: ESP32 Arduino
- Topic: SD filename as date?
- Replies: 11
- Views: 13305
Re: SD filename as date?
try underscore?
- Wed Mar 18, 2020 1:42 pm
- Forum: ESP32 Arduino
- Topic: 2.8 TFT SPI with Touch
- Replies: 3
- Views: 5559
Re: 2.8 TFT SPI with Touch
Code: Select all
GPIO19 | MISO | T_DO |
GPIO23 | MOSI | T_DIN |
GPIO18 | SCK | T_CLK |
check your photo...