Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H -Īnd if i do C-T C-I, I get: - Settings: /dev/ttyUSB0 115200,8,N,1 Wrote 2102800 bytes (1663942 compressed) at 0x00010000 in 100.8 seconds (effective 166.9 kbit/s).īut on the serial monitor, no trace from the code (i added a string in the println line 30 at the start of setup()): - Available filters and text transformations: colorize, debug, default, direct, esp32_exception_decoder, hexlify, log2file, nocontrol, printable, send_on_enter, time I see this at upload:įeatures: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None I see no error and the upload seems to work fine. I realize a lot of thing could go wrong in that code but i am stuck on getting a trace. Then i selected the #define CAMERA_MODEL_AI_THINKER and set the ssid/password string constants. Thanks in advance!Īrduino-esp32/libraries/ESP32/examples/Camera/CameraWebServer at master If i stick to vscode+PIO (my preference), what can i try next?Īny pointer will be very much appreciated.Or am i using the wrong tool and i should try to run the sample on the arduino IDE (which i don’t know either and would rather leave in peace) instead?.The most likely thing is that i failed to do something obvious, but what?.I did set the monitor_speed=115200 in platformio.ini and i also copied the 99.les to /etc/udev/rules.d and i verified my PID&VID (pio device list) are indeed listed in that rules file. I fiddled with the 2 buttons on the MB and the one button on the ESP32-CAM with no result on the serial monitor. Ay, caramba!īUT, i just cannot see any debug trace on the serial monitor (not to mention a new client on the DHCP list). A few hickups but eventually i could build in vscode+pio the sample cam server (arduino framework) and upload it to the device. The second shinny toy is a ESP32-CAM+MB, also purchased from the same shady online outlet. Ay caramba! That left me very impressed with PIO given my starting point. Last nite i tried and managed to run a sample (espressif framework) on a brand new ESP32-WROOM-32D and i could see trace on the serial monitor. Hence, when I need to talk to my boards, I use the Arduino IDE’s serial monitor.I am a noob on PIO, esp32, vscode and linux, all of which i used to get myself into the problem below… so you’ve been warned. ![]() I have searched for ways to put the various terminal utilities I have used into line mode, but failed. You must close the serial monitor when you need to recompile and upload your code. ![]() You may need to add some of these parameters to platforio.ini to make it work, definitely monitor_port and maybe monitor_speed: Then, once you have uploaded with PlatformIO you can open the Arduino serial monitor, set the baud rate and start typing. Open the Arduino IDE and configure the port to suit your board. Use the Arduino IDE and Serial Monitor.Type into an editor, copy the required text, paste into the terminal window - that sometimes works for shorter texts.With screen, miniterm or VSCode’s terminal, you are typing directly at the Arduino’s USART so your while loop is finding one character each time around. With it you can type a line of text, none of which is sent to the Arduino board until you click the send button. The Arduino serial monitor works differently to any of the utilities you can use with PlatfomIO.
0 Comments
Leave a Reply. |