LowPowerLab Forum

Hardware support => Moteino => Topic started by: Carl on June 16, 2016, 08:20:21 AM

Title: Looking for suggestions using moteinousb with Kobo mini in USB-OTG mode
Post by: Carl on June 16, 2016, 08:20:21 AM
Hi, newbie here!! Sorry for the long post.

I'm having trouble with USB output from a moteinousb to a Kobo mini using USB on the go.
Hopefully someone on the forum knows more about USB than me  :-)

I am working on a project to use Moteinousb with a GPS chip.
The sketch I'm starting with can be found in github here.

https://github.com/m000c400/OGN-Tracker

The project is pretty simple.
GPS data is received with Softserial is forwarded to Serial unchanged.
It is also converted into radio packets that are transmitted to a receiver on the ground.

I have not turned on the RFM69HW yet. I hope to start that on the weekend.

The OGN-Tracker sketch is correctly processing GPS data and writing it to Serial.
I can see it on the Arduino IDE serial monitor and running the FTDI terminal emulator on an android tablet.

I want to connect the moteinousb to a Kobo mini ereader.
The Kobo mini is running an app called XCSoar.
XCSoar uses the GPS data to help a glider (or hang glider) pilot plan and execute a soaring flight.
The Kobo mini does not receive anything from the moteinousb.

I also have a genuine Arduino UNO.
I wrote a little sketch on it that writes 'fake' GPS data to Serial.
The Kobo mini sees that data on USB.
FTDI terminal emulator can not display


I have a theory. I am running the Arduino IDE on ubuntu linux.

When the UNO is connected linux reports it as /dev/ttyACM0.
The moteinousb is reported as /deb/ttyUSB0.

The Kobo mini is also linux based (running on ARM).
The UNO is seen as /dev/ttyACM0 on it.

I tried both /dev/ttyACM0 and /dev/ttyUSB1 when connecting the moteinousb to the KOBO.
No joy.

Is it possible to reconfigure the FTDI device on a moteino USB to use ACM mode?
Title: Re: Looking for suggestions using moteinousb with Kobo mini in USB-OTG mode
Post by: Felix on June 28, 2016, 09:45:54 AM
Is the kobo some kind of tablet?
That has to be able to see the MoteinoUSB as a USB serial device, that's it.