Search found 7 matches

by al1fch
Thu Jan 06, 2022 10:57 am
Forum: ESP32 Arduino
Topic: Esp32C3 BarcodeScanner Serial blocking
Replies: 9
Views: 12292

Re: Esp32C3 BarcodeScanner Serial blocking

I think Arduino by default assigns two GPIOs Here is pins_arduino.h file for esp32c3 variant in 2.0.2 core (maybe spécific assignements for specific -C3 boards) #ifndef Pins_Arduino_h #define Pins_Arduino_h #include <stdint.h> #define EXTERNAL_NUM_INTERRUPTS 22 #define NUM_DIGITAL_PINS 22 #define N...
by al1fch
Thu Jan 06, 2022 9:14 am
Forum: ESP32 Arduino
Topic: Esp32C3 BarcodeScanner Serial blocking
Replies: 9
Views: 12292

Re: Esp32C3 BarcodeScanner Serial blocking

TWO Uarts ... and their RxTx nearly anywhere

on my last -C3 boards I found Uart0 on GPIO20 and GPIO21 pins (routed to CH340 chip)

I choosed 18 and 19 for Uart1. just beside ..... ;-)

Image
by al1fch
Wed Jan 05, 2022 11:56 am
Forum: ESP32 Arduino
Topic: Esp32C3 BarcodeScanner Serial blocking
Replies: 9
Views: 12292

Re: Esp32C3 BarcodeScanner Serial blocking

Use UART1 (= Serial1) for your barcode reader,
UART0 (= Serial) is for UART/USB chip through GPIOs 20 and 21 on DEVKIT Board

Code: Select all

Serial1.begin(9600, SERIAL_8N1, 19,18);
by al1fch
Sun Jan 02, 2022 4:19 pm
Forum: ESP32 Arduino
Topic: Official esp32 repo source? Github or dl.espressif?
Replies: 2
Views: 6481

Re: Official esp32 repo source? Github or dl.espressif?

Hi

No difference, same json file on two links pointing to :
"name": "esp32",
"maintainer": "Espressif Systems",
"websiteURL": "https://github.com/espressif/arduino-esp32",
by al1fch
Sat Jul 31, 2021 5:24 pm
Forum: Hardware
Topic: ESP32CAM board "AI Thinker" available pins
Replies: 2
Views: 4046

Re: ESP32CAM board "AI Thinker" available pins

Hi !

According to the following schematic GPIO16 serves as Chip Select pin for the on board PSRAM
https://i1.wp.com/randomnerdtutorials.c ... ttachment]
by al1fch
Sat Jul 03, 2021 2:24 pm
Forum: ESP32 Arduino
Topic: Cannot get a Lolin32 to low-power upon deep sleep.
Replies: 8
Views: 10904

Re: Cannot get a Lolin32 to low-power upon deep sleep.

Hi Il your Lolin32 a Lolin32 Lite one ? I solved such problem with adding a pull up up resistor on SPI Flash CS (pin 1) During deep-sleep scope show floating Flash SPI CS pin (driven from GPIO11) without this resistor and then SPI Flash continue to consume some current. Lolin32Lite schematic attached
by al1fch
Sat Mar 28, 2020 7:04 pm
Forum: ESP32 Arduino
Topic: Deep sleep takes way too much power (no LDO/LED etc. involved)
Replies: 2
Views: 4966

Re: Deep sleep takes way too much power (no LDO/LED etc. involved)

Hi

On 2 LOLIN32 Lite board I had to solder au pull up resitor between 25Q32 /CS and Vcc pins (pins 1 and 8)
/CS was floating during deep-sleep (seen on scope) and current excessive just as you desctribe.

No metal case on Lolin32 Lite , easy job !!