Serial console

From Qi-Hardware
Revision as of 14:59, 17 October 2009 by Kzjeef (Talk | contribs)
Jump to: navigation, search

At the back of the Ben NanoNote, there are GND, TXD, and RXD pins, which you can use for a serial console to the device.

To get output from those pins you need a TTL <-> RS232 converter (such as the FTDI TTL-232R-3V3 USB-to-TTL cable) as the Ben NanoNote serial console is TTL.

Pinout

See also here.

Connection

  • Connect GND on the NanoNote to GND on your TTL-to-RS232 converter.
  • Connect TXD the NanoNote to RXD on your TTL-to-RS232 converter.
  • Connect RXD the NanoNote to TXD on your TTL-to-RS232 converter.

Software

  • The default BAUD rate is 57600, 8n1, no hardware or software flow control.
  • You can use any terminal program on the PC side, such as minicom. You can use minicom with the following sample config file:
$ cat /etc/minicom/minirc.qi
pu port             /dev/ttyUSB0
pu baudrate         57600
pu rtscts           No
$ minicom -o qi
Personal tools
Namespaces
Variants
Actions
Navigation
interactive
Toolbox
Print/export