🖱

Accessing the Serial Console

Serial Console Options


Nearly any terminal program can communicate with the PyCubed board.

(baud=112500, data=8 bit, parity=None, flow control=None).

For example...

⭐ Browser (cross-platform)

Must use Chrome or Edge for this to work.

  1. Visit this demo: https://googlechromelabs.github.io/serial-terminal/

    make sure you open it in the correct browser (chrome or edge)!
  1. With your board plugged into your computer, click Connect at the top of the page
    • settings prior to clicking Connect
  1. Select the appropriate port and click the blue connect button
    • settings after clicking Connect
  1. You should see the following message in the terminal
  1. You now have access to the REPL:

    Press Ctrl+C to halt any programming currently running, then press any key to enter the REPL or hit Ctrl+D to reload the main.py file

  1. Work through the Hands-On Quick Start pages for more details on using the REPL

MacOS

  1. In terminal type: ls /dev/tty.*. The board will likely be listed as /dev/tty.usbmodem_____
  1. Now enter: screen /dev/tty.YOURBOARDNAMEHERE 115200
  1. You may or may not see a prompt, press Ctrl+C
  1. You can now enter the REPL by pressing any key, or hit Ctrl+D to reload the main.py file
  1. Exit screen at any time by pressing Ctrl+A + \
  1. Work through the Hands-On Quick Start pages for more details on using the REPL

Windows

  1. Windows doesn't have a built-in terminal program like MacOS. Personally, I like PuTTY. You can also use the arduino serial monitor if you'd like!
  1. For something like PuTTY, set the Connection Type to Serial
  1. Press the Windows Key and type device manager (select it)
  1. In device manager, scroll down to "Ports (COM & LPT)" and expand it
  1. Plug in, then unplug the board and notice the impacted "COM" port.
  1. Return to PuTTY and enter "COM___" in the "Serial Line" field, and then click "Open"
  1. Work through the Hands-On Quick Start pages for more details on using the REPL