Це відео не доступне.
Перепрошуємо.

#73 Serial Monitoring your Arduino or ESP8266 with Putty (Tutorial)

Поділитися
Вставка
  • Опубліковано 21 сер 2016
  • In this video I show how you can monitor two or more serial lines in your projects. This can be necessary if you connect a GPS or GSM module to your board. I use Putty for this purpose
    Putty Download: www.putty.org
    USB-Serial Adapter with 3.3V: www.aliexpress....
    Supporting Material and Blog Page: www.sensorsiot.org
    Github: www.github.com...
    If you want to support the channel and buy from Banggood use this link to start your shopping: bit.ly/2jAQEf4 (no additional charges for you)
    Official Wemos Store: s.click.aliexpr...
    / sensorsiot
    / spiessa

КОМЕНТАРІ • 91

  • @HariWiguna
    @HariWiguna 8 років тому +3

    Interesting AND useful! Thanks for sharing that Andreas!

    • @AndreasSpiess
      @AndreasSpiess  8 років тому

      Nothing special. But I thought, I can later reference to it if somebody asks...

  • @CharudattUplap
    @CharudattUplap 8 років тому +2

    Can you show us how to test a ESP8266 TCP/UDP connection using Putty. That would be really interesting. Thank you for your lovely videos.

    • @AndreasSpiess
      @AndreasSpiess  8 років тому +2

      What you will see in the upcoming video is a telnet connection from the ESP82566 to Putty (for debugging).

  • @gnc2001
    @gnc2001 10 місяців тому

    uhuu... Good leson!! THANKS Very Much. From Brazil.

  • @OldCurmudgeon3DP
    @OldCurmudgeon3DP 5 років тому

    The new Nextion libraries have hardcoded a baud rate for the nexSerial interface in NexHardware.cpp. This makes it ignore/reset anything you specify before nexInit(). I just now tracked down this 'problem' after finding this video. I've since changed the default baud in the library to 115200 and no longer use Serial2.begin in my esp32 code. Glad that neither of my devices have a hardware failure.

    • @OldCurmudgeon3DP
      @OldCurmudgeon3DP 5 років тому

      Oh, when using PuTTY, set the translation to ISO-8859-1. That's what is used in the Nextion editor program.

  • @shvideo1
    @shvideo1 2 роки тому

    Great video. To summarize then, if using an Arduino Uno, are all these true?
    1. Connect the Arduino to the PC using the USB cable and then use Putty on the PC to send and receive characters to and from Arduino?
    2. Connect the Arduino through TX0 and RX0 pins to a USB serial adapter, connect the USB serial adapter through a USB cable to PC and connect putty on the PC to send and receive characters to and from Arduino?
    3. Cannot do both because there is only one serial device.
    Thank you in advance.

    • @AndreasSpiess
      @AndreasSpiess  2 роки тому +1

      You can use Putty instead of Serial monitor. With an Arduino Mega you have more than one Serial connections and you can connect the 2nd or 3rd through a USB to serial connector.

  • @jamesmaxwell381
    @jamesmaxwell381 6 років тому

    And 2- Wouldn't using multiple TX/RX lines on a single UART connection cause loading effects or introduce noise depending on the circuits of the modules?

    • @AndreasSpiess
      @AndreasSpiess  6 років тому

      These are low-frequency lines, I would not care too much.

  • @ronkloiber
    @ronkloiber 3 роки тому

    I am looking for something to capture data between 2 serial devices and be able to access/monitor that data through a webserver over wifi. Wondering if you or anyone has something like this, maybe using an ESP8266? Serial devices are standard RS232 (+/- 12v I think). I'm only interested in capturing the data, and don't need control line status. I know I would probably need to level shift to 3.3 or 5v, but maybe some model Arduino can handle it without? Thank you.

    • @AndreasSpiess
      @AndreasSpiess  3 роки тому

      Maybe you divide your project in different parts. Then you find solutions for each part and finally, you can answer the question.

  • @leop8037
    @leop8037 6 років тому

    Hi Andreas, I don't know if the question is consistent with this video, however: I'm using an FTDI adapter, a WROOM-02 and an Arduino IDE. My question is if I can and how, via my pc, I can send and receive AT commands via Putty while in WROOM-02 is running a sketch
    Thank you

    • @AndreasSpiess
      @AndreasSpiess  6 років тому

      You need a sketch on the WROOM which is capable to handle AT commands. So far, I only saw such sketches on the small ESP8266 boards

  • @underwoodblog
    @underwoodblog 8 років тому

    I suggest not to use USB to TTL converters with FTDI chips, because there are so many fake ones and you get trouble with the drivers. Instead use the CP2104 that are recommended by lady ada to!
    Again a very good video!

    • @AndreasSpiess
      @AndreasSpiess  8 років тому

      Do you know of one which also has 3.3v on all pins (also on TX)? Then, I put the link into the comment. I use the one in the link since a few month without problems.
      The driver/fake issue was about two years ago and I did not hear anything since then.

    • @underwoodblog
      @underwoodblog 8 років тому

      Maby FTDI has stopped shutting down fake ones with their drivers, because lots of commercial devices use them to, wtihout knowing they where fake.
      I have a bunch of these FTDI converters here and some look the same like yours. Never have tryed them. I'll try them in my next project.
      I haven't used the CP2104 yet but I can test the outputs of mine. Haven't fryed any 3V3 devices with the different PL2303, CP2102 and CH340G I use. Maby it was only luck.

    • @AndreasSpiess
      @AndreasSpiess  8 років тому +1

      The one in my video has 5V on TX even if I select 3.3V. The others do not offer the option. The only one I own which is ok is the one in the link.

  • @Fifury161
    @Fifury161 4 роки тому

    No I just have to figure out how to redirect the output to an excel spreadsheet or web page over a WiFi connection on an ESP8266!

    • @AndreasSpiess
      @AndreasSpiess  4 роки тому

      Not easy. You need a board which can create a USB host. The ESP8266 cannot do that.

    • @Fifury161
      @Fifury161 4 роки тому

      @@AndreasSpiess I watched another of your videos - looks like you figured out how to send the monitor to PuTTY via WiFi, I can work with that!

  • @jamesmaxwell381
    @jamesmaxwell381 6 років тому

    Thanks for the videos. Two questions though, 1- Is PuTTY the best available software for serial monitoring? I've used RealTerm for a while and it's nice but its terminal showing the serial data is quite lacking and frustrating.

    • @AndreasSpiess
      @AndreasSpiess  6 років тому

      I like putty more. But that is jus me.

  • @eracer91
    @eracer91 7 років тому

    Again, nice video from the guy with the swiss accent. :-) ave you ever tried using Linux? In my experience, developing is much easier there, handling serial ports is less complicated and no additional drivers are ever needed.

    • @AndreasSpiess
      @AndreasSpiess  7 років тому

      Just first steps with the Raspberry. I am quite familiar with windows and therefore, quite productive. So, I have no need to change, I just will "append" a little Linux to my skills set. Maybe that will change in the future. You never know...

  • @danljohnston
    @danljohnston 8 років тому

    Thanks for all your videos.

  • @tablatronix
    @tablatronix 8 років тому

    Great thing about a terminal app is you can use ansi for colors and bell, and cursor control

    • @AndreasSpiess
      @AndreasSpiess  8 років тому

      Didn't know that!

    • @tablatronix
      @tablatronix 8 років тому

      instagram.com/p/BERnO6sEiLE/?taken-by=tablatronix

    • @AndreasSpiess
      @AndreasSpiess  8 років тому

      How did you do that? Seems to go via Wi-Fi?

    • @tablatronix
      @tablatronix 8 років тому

      telnet server running on esp, makes it easy to debug ota, until esp has ssh serial support. But it IS slow.

    • @AndreasSpiess
      @AndreasSpiess  8 років тому

      I have to give it a try. Thanks

  • @floridian080
    @floridian080 2 роки тому

    I greatly enjoy your tutorials including this one on adding a serial monitor. Would appreciate your thoughts on this application: I am passing serial data from Arduino to Python. This prohibits me from watching the arduino serial monitor or plotter (since Arduino would then be unable to communicate with Python). Would any of your suggestions in this tutorial allow me to visualize data on a second serial monitor/plotter while at the same time sending data from Arduino to python on the 1st serial monitor? Also, it appears to me that Putty allows serial monitor but not serial plotter. Is there a way of using a second serial connection as a serial plotter? Thanks, Mike

    • @AndreasSpiess
      @AndreasSpiess  2 роки тому

      You can use Serial2 for communication, too. Some boards like the ESP32 support this with hardware. For other boards like the UNO you need to use the softSerial library.

  • @TechnicalHeavenSM
    @TechnicalHeavenSM 3 роки тому

    Can we make USB rubber ducky with nodemcu esp8266?

  • @yorickhunt3371
    @yorickhunt3371 8 років тому

    Good ol' PuTTY... Is there anything it can't connect to? I originally got it for SSH, but almost any communication task I come up against, I find PuTTY will effortlessly fill the bill.

    • @AndreasSpiess
      @AndreasSpiess  8 років тому

      Stay tuned, then. You will see it in another role in one of my next videos...

  • @noufel3
    @noufel3 4 роки тому

    thanks for you videos ,i have question,is there a possibility to make nextion display like a serial monitor of arduino?

    • @AndreasSpiess
      @AndreasSpiess  4 роки тому

      This is not easy, because the whole content of the display has to change rapidly.

  • @ionloopi4166
    @ionloopi4166 6 років тому

    Hi Andreas ! There is a book in witch I can read what you say ? I have difficulties to understand the English spoken but I like it very much ? I want to made for myself a wifi meteo station with ESP 8266 and it is perfect . Thank you , Ion

    • @AndreasSpiess
      @AndreasSpiess  6 років тому

      There is no book. Maybe it helps if you enable automatic subtitles on UA-cam?

  • @martym2464
    @martym2464 2 роки тому

    Thanks for the great video. Any idea why Arduino send different ascii characters? I send the same "hello world" but Putty shows different characters... baud rate and everything is checked and it all seems good. Any help from anyone is appreciated

    • @AndreasSpiess
      @AndreasSpiess  2 роки тому

      This is very strange and never happened to me (Hello world does not contain any special characters).

    • @martym2464
      @martym2464 2 роки тому

      @@AndreasSpiess Thanks for the response Sir. I made it even simple and instead of "hello world" I'm now sending "m1", a delay then "m2" and another delay. In putty instead of those I see "I3", "Ig". Isn't that funny?! It seems like ascii code being interpreted differently between Ard. and putty

  • @bgable7707
    @bgable7707 4 роки тому

    Issues with the Wemos esp8266(clone ) This was easy with my Nano. Realy nice debug workaround when wanting to use the hw serial pins. Though, I'm having issues getting my Wemos esp8266 to output anything to the serial console by way of the SW serial assigned pins. I've tried SoftwareSerial mySerial(13, 15) for GIOP (D7, D8) Silkscreen on the board. both compile. Thoughts, suggestions?

    • @AndreasSpiess
      @AndreasSpiess  4 роки тому +1

      Reverse RX with TX? This is a common error.

    • @bgable7707
      @bgable7707 4 роки тому

      For the ESP8266, I found the following additional two lines are required for the ESP, but, not the Nano
      // In setup()
      // define mode for software serial pins rx, tx
      pinMode(rxPin, INPUT);
      pinMode(txPin, OUTPUT);

    • @bgable7707
      @bgable7707 4 роки тому

      @@AndreasSpiess Thanks, Please keep supplying us with the great video!

  • @jon_raymond
    @jon_raymond 8 років тому

    Great video! I'm curious if you have verified that the 3.3v switch selection on the CH340G UART module actually level shifts the TX line to 3.3v. I have seen some adapters that the Vcc output line lowers to 3.3v but the TX line is still at 5v.

    • @AndreasSpiess
      @AndreasSpiess  8 років тому +1

      +Jon Raymond You are right. I will put the link to the adaptor which is ok in the comments

    • @AndreasSpiess
      @AndreasSpiess  8 років тому

      +Jon Raymond You are right. I will put the link to the adaptor which is ok in the comments

  • @hadjhammouboussada8173
    @hadjhammouboussada8173 5 років тому

    hello mr andreas thanks for this vedio
    please i have a question for you if you can help me and a appreciate your pleasure ?
    how i can read that value and use it
    for exemple im using gps module for detecting the speed of device so i need to read that vitesse and use it for exaple to store it or do some function with it
    and thanks mr andreas spiess

    • @AndreasSpiess
      @AndreasSpiess  5 років тому

      Unfortunately, I cannot help you, I have no time. But I am sure, Dr. Google is able to help.

  • @pcbreflux
    @pcbreflux 8 років тому

    Hi Andreas, just uploading my video about nRF51822 with UART and putty. Could not believe it. Sorry but don't watched you video yet.

    • @AndreasSpiess
      @AndreasSpiess  8 років тому

      Coincidence. I think, the focus of your video is different to mine. So, both can be watched and in both a viewer can learn something if he wants...

    • @pcbreflux
      @pcbreflux 8 років тому

      Andreas Spiess
      Sometimes the universe have an arbitrary humor of synchronicity. And i don`t mentioned that you have to connect the lines crosswised (maybe to obvious for me), so thanks for make it clear.

  • @ZiraUwU
    @ZiraUwU 8 років тому +1

    is there a way to debug a esp8266 through the network, using PuTTy?

    • @AndreasSpiess
      @AndreasSpiess  8 років тому

      +rcostasarmento Maybe, but I do not know it.

    • @xennelul
      @xennelul 8 років тому

      it depends what you understand under 'debug', it is possible to send messages using telnet, which PuTTy can handle. It would require to run a telnet server on the ESP8266

    • @ZiraUwU
      @ZiraUwU 8 років тому

      Yes, I mean sending/receiving messages from/to the PC. I would like to test my project on the Field, as well as to do OTA updates.
      Is it required that the ESP was in AP mode, in order to run a telnet server?

  • @utkarshpatil2251
    @utkarshpatil2251 7 років тому

    when i am connecting FTDI in my device manager i am not able to recognize COM port number as the page refreshes when i connect or disconnect the FTDI but it doenst shows any new connection on port with number so how do i deal with it

    • @AndreasSpiess
      @AndreasSpiess  7 років тому

      Maybe your computer does not have the driver for the FTDI device. Then, you would see an "unknown device" in your device manager

    • @utkarshpatil2251
      @utkarshpatil2251 7 років тому

      Yes i am able to see a device named as "FT232R USB UART" under other device so how can i demonstrate the exercise should i download any drivers if so can you please me with any link and i am using
      "FT232RL 3.3V 5.5V FTDI USB to TTL Serial Adapter Module" with Windows 7 OS on PC

    • @AndreasSpiess
      @AndreasSpiess  7 років тому

      I am not a Windows specialist. So, please google. I am sure, you will find a solution

  • @ljay0778
    @ljay0778 7 місяців тому +1

    WILD!

  • @thorbennielsen3845
    @thorbennielsen3845 8 років тому

    Great video. Thanks

  • @Graham1904
    @Graham1904 8 років тому

    There is a huge audio level difference between your intro and your explanatory recording, it is also less clear but this might be the level....

    • @AndreasSpiess
      @AndreasSpiess  8 років тому

      +Graham Gillett Sorry for that. The recording was done as always, but the mixing was not correct.

  • @norberthartmann5075
    @norberthartmann5075 8 років тому

    simpel - auf die idee muss man erst kommen !!
    hut ab vor deinen filmen!!!

    • @AndreasSpiess
      @AndreasSpiess  8 років тому +1

      +Norbert Hartmann War nur ein kleines "Zwischendurch", damit ich bei der nächsten Gelegenheit nur einen Verweis machen muss.

    • @AndreasSpiess
      @AndreasSpiess  8 років тому +1

      +Norbert Hartmann War nur ein kleines "Zwischendurch", damit ich bei der nächsten Gelegenheit nur einen Verweis machen muss.

  • @vspadrver
    @vspadrver 7 років тому +1

    Sehr schönes Video, ich wusste gar nicht das Putty auch sowas kann.
    Als Tip: www.der-hammer.info/terminal/
    H-Therm ist mein Lieblings-Terminal Programm wenn ein einfaches nicht mehr ausreicht.
    Man hat bei h-term sogar einen Timestamp wann was gesendet wurde und kann damit messen wie schnell eine Antwort kommt
    Very nice video. My favorite terminal program is h-term www.der-hammer.info/terminal/
    if a simple terminal is not enough

  • @jumadhaheri
    @jumadhaheri 8 років тому

    thank you this a great

  • @RichardT2112
    @RichardT2112 8 років тому

    Nice overview! I know it has been said before, but no need to wear gloves - coming from someone who has worked with his hands most of his life, let me say there is NOTHING you need to cover up!

    • @AndreasSpiess
      @AndreasSpiess  8 років тому

      Thanks for your comment!

    • @RichardT2112
      @RichardT2112 8 років тому

      +Andreas Spiess ...and motorcycles can leave some nasty love bites ;)

    • @AndreasSpiess
      @AndreasSpiess  8 років тому

      I know!

  • @Marc_Wolfe
    @Marc_Wolfe Рік тому

    Presses open... windows sounds... sick waste of time