ronoth / LoStik

LoRaWAN compatible USB test device
MIT License
132 stars 39 forks source link

LoStik: needs driver in raspberry PI? #11

Closed neypalma closed 5 years ago

neypalma commented 5 years ago

Hi, i want to use the lostik with my raspberry 3. The raspberry seems to recognize the lostik but i cant connect to serial port.

Mi question is if lostik needs driver installation in raspberry.

Greetings

lolsborn commented 5 years ago
    What distro are you using?

On Mon, Mar 25, 2019 at 8:49 AM -0700, "neypalma" notifications@github.com wrote:

Hi, i want to use the lostik with my raspberry 3. The raspberry seems to recognize the lostik but i cant connect to serial port.

Mi question is if lostik needs driver installation in raspberry.

Greetings

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

neypalma commented 5 years ago

What distro are you using? Im using raspbian stretch

lolsborn commented 5 years ago

So I installed rasbian-strech-full on SD card, booted it and the device mounted to /dev/ttyUSB0

Unfortunately I didn't get any further before my RPI A croaked. I'm not sure what happened, but it's no longer with us.

Are you not seeing a device at /dev/ttyUSB0

On Mon, Mar 25, 2019, at 9:14 AM, neypalma wrote:

What distro are you using? Im using rasbian stretch

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ronoth/LoStik/issues/11#issuecomment-476269270, or mute the thread https://github.com/notifications/unsubscribe-auth/AADshLC8w90V-xTv48kZnInBeb-xqJwnks5vaPX5gaJpZM4cHOdN.

neypalma commented 5 years ago

Hi, yes I see TTYUSB0, I connect to it but can interact with the board. There is no message. The device seems to be hanged after making the connection

lolsborn commented 5 years ago

What terminal program are you using to connect?

On Mon, Mar 25, 2019, at 1:20 PM, neypalma wrote:

Hi, yes I see TTYUSB0, I connect to it but can interact with the board. There is no message. The device seems to be hanged after making the connection

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ronoth/LoStik/issues/11#issuecomment-476361262, or mute the thread https://github.com/notifications/unsubscribe-auth/AADshLQsoiz6fHpuyw-gmZKWJUrlx6-kks5vaS-IgaJpZM4cHOdN.

neypalma commented 5 years ago

I try putty and minicom

lolsborn commented 5 years ago

Putty is known to have issues because the RN2903 requires \r\n endings.

I'm not really familiar with minicom. I would recommend trying the miniterm.py script in the examples directory first. There is also a gui program released by Microchip, but requires Java to run.

There is a bit more info on how to run miniterm and where to download the LoRa Development Suite Gui here. https://github.com/ronoth/LoStik

On Mon, Mar 25, 2019, at 2:02 PM, neypalma wrote:

I try putty and minicom

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ronoth/LoStik/issues/11#issuecomment-476376205, or mute the thread https://github.com/notifications/unsubscribe-auth/AADshBlG82puP1Db75PO8vWjiiwAiiZdks5vaTlqgaJpZM4cHOdN.

neypalma commented 5 years ago

@lolsborn i have had success using picocom program and running it like this

picocom --omap crcrlf,delbs --imap crcrlf,delbs -c -b 57600 -r -l /dev/ttyUSB0

Greetings