Members | Sign In
Legacy MOVI User Community Forum (readonly) > Non-Arduino MOVI
avatar

USB to Serial Adaptor

posted Apr 27, 2016 20:36:04 by Christopher Coté
I've successfully connected the MOVI to a Raspi2 Model B and am now attempting to connect it to my laptop for some testing using the adafruit USB to TTL connector https://www.adafruit.com/product/954 but I can't seem to get any response from the MOVI board.

running stty on my Ubuntu laptop, I get this.

stty -F /dev/ttyUSB0 -a speed 9600 baud; line = 0; min = 1; time = 1; ignbrk -brkint -icrnl ixoff -imaxbel -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke


Any help would be greatly appreciated!
[Last edited Apr 27, 2016 20:38:05]
page   1
4 replies
avatar
GeraldFriedland said Apr 28, 2016 02:20:56
Christopher,

So if I understand this right, you are trying to connect MOVI using D10 and D11 to your laptop and you are using Linux on your laptop?

If so, these are all the stty setting you should need:
stty -echo -F /dev/ttyUSB0 9600

I think it would be best to try a program like Minicom first. Also, I have never used the USBtoTTL connector under linux (I am using a Mac), so I am not sure which kernel modules you would have to load for this cable.

Hope that helped,
Gerald
avatar
Christopher Coté said Apr 28, 2016 20:03:49
Is there anyway the serial interface would get disabled?

I'm not able to communicate or receive any data over serial, from raspi, where I had it working originally, or from linux laptop.

The voice interface itself still works, but nothing over serial.
[Last edited Apr 28, 2016 20:08:00]
avatar
Christopher Coté said Apr 28, 2016 22:07:13
Ok, it's working. No idea what I did different.
avatar
GeraldFriedland said Apr 28, 2016 22:59:49
When you are scheduled with the doctor, symptoms immediately get better. When you ask in the forum, it suddenly works ;-) You are welcome! :-)
Login below to reply: