LowPowerLab Forum

Software support => Pi Gateway => Topic started by: HeneryH on May 09, 2019, 05:18:02 PM

Title: What are the minicom serial port configs so that I can check my serial port
Post by: HeneryH on May 09, 2019, 05:18:02 PM
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
Title: Re: What are the minicom serial port configs so that I can check my serial port
Post by: LukaQ on May 09, 2019, 11:27:00 PM
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
Title: Re: What are the minicom serial port configs so that I can check my serial port
Post by: Felix on May 10, 2019, 09:08:41 AM
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 ...).