Search found 4 matches

by Elan427
Thu Jan 06, 2022 3:35 am
Forum: ESP32 Arduino
Topic: Esp32C3 BarcodeScanner Serial blocking
Replies: 9
Views: 12367

Re: Esp32C3 BarcodeScanner Serial blocking

ESP_Sprite wrote:
Thu Jan 06, 2022 1:58 am
Where do you read that? Directly from the C3 datasheet:
c3uart.png
Yes i can read that too, but i dont see the pins. Can you please tell me where are the 2nd uart pins are defined because i literally cant find them. Thanks.
by Elan427
Thu Jan 06, 2022 3:33 am
Forum: ESP32 Arduino
Topic: Esp32C3 BarcodeScanner Serial blocking
Replies: 9
Views: 12367

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 Serial1.begin(9600, SERIAL_8N1, 19,18); This didn't work. Same results. here is the code: void setup() { // Open serial communications and wait for port to open: Serial.begin...
by Elan427
Wed Jan 05, 2022 6:54 pm
Forum: ESP32 Arduino
Topic: Esp32C3 BarcodeScanner Serial blocking
Replies: 9
Views: 12367

Re: Esp32C3 BarcodeScanner Serial blocking

Looks like your issue is that you use the serial port both for your computer connection as well as the barcode reader indeed. The ESP32C3 has two serial ports, though, so you can move your barcode reader to the other one. From the C3 datasheet, it has only 1 uart? In that case what should i do. Tha...
by Elan427
Tue Jan 04, 2022 4:53 am
Forum: ESP32 Arduino
Topic: Esp32C3 BarcodeScanner Serial blocking
Replies: 9
Views: 12367

Esp32C3 BarcodeScanner Serial blocking

**Hardware:** Esp32C3: https://jacobstoner.com/ESP32-C3/esp32-c3_datasheet_en.pdf https://jacobstoner.com/ESP32-C3/esp-c3-13-kit-v1.0_specification.pdf **Barcode sensor:** https://cdn.sparkfun.com/assets/b/5/0/e/e/DY_Scan_Setting_Manual-DE2120___19.4.6___.pdf **Connection:** **Esp32C3 == BarcodeSen...