What are the minicom serial port configs so that I can check my serial port

Started by HeneryH, May 09, 2019, 05:18:02 PM

HeneryH

I think I have the baud matched between my MightyHat and my Pi but no nodes are showing up in the dashboard.

I fired up minicom to check out the serial port but am getting gibberish. 

Anyone know the bits/parity settings I should have in minicom? 

It currently is
19200 8N1 
Hardware Flow Control = Yes

LukaQ

Hey,

minicom -b 19200 -o -D /dev/ttyAMA0

that's it. you only change /ttyAMA0 to USB0 or something like that
if you see gibberish, then that is what you get. If not sure, you could also setup another moteino as PiGateway or Gateway and check on you PC serial, what come over the air

Felix

use this command to list all the ports starting with /dev/tty (or /dev/serial:

ls /dev/tty*
ls /dev/ser*


Typically the GPIO port is /dev/ttyAMA0 or /dev/serial0.
A usb attached Moteino would be /dev/ttyUSB0 (USB1 ...)
and a MoteinoM0 would be /dev/ttyACM0 (ACM1 ...).