I am using Arduino IDE 2.3.3 and when I run dmesg | grep tty
in linux, I get a list of of serial ports which have ttyS0, ttyS4 and ttyUSB0.
The IDE only sees ttyS0 and ttyS4 when I connect a esp32-12F board as DOIT ESP32 DEVKIT V1, and doe not recognise the board on either S0 or S4
the IDE does however see ttyUSB0 when I connect an Arduino Uno to the same usb port
Link or picture please .
Same USB cable ?
Run lsusb without the board connected and with the board connected. Check the difference. The additional port that shows is your board.
Please provide the last output here (using code tags) and tell us which entry is the new board.
Run dmesg -w with the board disconnected; the application will not close. I usually press <enter> a few times to get some empty lines. Next connect the board and observe changes changes. Press <ctrl>C to close the application.
Please post the additional output that you got here (using code tags).
I've moved your topic to a category that is more suitable for board detection problems.
This is a picture of an ESP8266, not ESP32.
@ZX80
Well it says: Model ESP32???MOD 12-F
So decipher those question marks Can you post a link to what you bought?
If your lsusb output does not show a new device (see post #4), make sure that you're using a data/sync cable and not a charge-only cable.
This is the last 3 lines without the board connected
Bus 001 Device 002: ID 046a:0023 Cherry GmbH Keyboard
Bus 001 Device 005: ID 0bda:5411 Realtek Semiconductor Corp. RTS5411 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
This is the last 3 lines with the board connected:
Bus 001 Device 021: ID 1a86:7523 QinHeng Electronics CH340 serial converter
Bus 001 Device 005: ID 0bda:5411 Realtek Semiconductor Corp. RTS5411 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
The following lines seem to extra or different with the board connected
156465.470339] usb 1-10.1: usbfs: interface 0 claimed by ch341 while 'brltty' sets config #1
[156465.470973] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[156465.471023] ch341 1-10.1:1.0: device disconnected
[156950.924560] usb 1-10.1: USB disconnect, device number 21
[157078.370452] usb 1-10.1: new full-speed USB device number 22 using xhci_hcd
[157078.459293] usb 1-10.1: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.54
[157078.459300] usb 1-10.1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[157078.459302] usb 1-10.1: Product: USB2.0-Ser!
[157078.466917] ch341 1-10.1:1.0: ch341-uart converter detected
[157078.467438] ch341-uart ttyUSB0: break control not supported, using simulated break
[157078.467570] usb 1-10.1: ch341-uart converter now attached to ttyUSB0
[157079.053113] input: BRLTTY 6.4 Linux Screen Driver Keyboard as /devices/virtual/input/input26
[157079.062496] usb 1-10.1: usbfs: interface 0 claimed by ch341 while 'brltty' sets config #1
[157079.062945] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[157079.062975] ch341 1-10.1:1.0: device disconnected
^C
Thanks
I bought the said board from Amazon last year, and it hasn't been used yet. I used ?? because the characters cannot be read as they are barely 1mm in size . It's either ESP3286 or ESP3266, it's difficult to sure. Then again it may well say ESP8266
I am using a data/sync cable and not a charge only cable, as I disposed of them.
Uninstall or disable BRLTTY. You will have to do a little research how to do that.
Ah, found the uninstall (assuming a debian based distro like ubuntu and derivates)
sudo apt-get remove brltty
Now removed, and now the Arduino sees ttyUSB0 !! Now when I run dmesg-w, the ch341-uart converter now attached to ttyUSB0
So if the board is an ESP8266 which board do I select in the esp8266 listing
In boards.txt I found the following:
NodeMCU 0.9 (ESP-12 Module)
NodeMCU 1.0 (ESP-12E Module)
ESPino (ESP-12 Module)
Since its a 12-F and its not an Espino which looks very different, then the second one is the closest. The 12E and 12-F are the same except for the antenna.
Alternatively, you could also try the "Generic ESP8266 Module", except that you may then have to refer to the pins by their GPIO numbers.
Thanks all for your help with my problem and now I have just uploaded a sketch to the said board.
Thanks again.