No serial access over USB through Expansion Board
Posted: Fri Apr 29, 2016 9:14 am
Hi,
I received my new Wipy yesterday. I managed to connect through Wi-Fi (both telnet and ftp work fine). I also managed to connect to UART0 with a USB-to-serial converter attached to pins G1 and G2 on the expansion board.
The thing that refuses to work is serial connection thjrough a USB cable connected to the expansion board. Based on what I read on thr site I have pasted this code into boot.py and rebooted:
from machine import UART
import os
uart = UART(0, baudrate=115200)
os.dupterm(uart)
I then connect to dev/ttyUSB0 on my PC using moserial on linux with the corresponding parameters. I receive no confirmation of connection and no thing at all when I send any command.
What am I missing?
I received my new Wipy yesterday. I managed to connect through Wi-Fi (both telnet and ftp work fine). I also managed to connect to UART0 with a USB-to-serial converter attached to pins G1 and G2 on the expansion board.
The thing that refuses to work is serial connection thjrough a USB cable connected to the expansion board. Based on what I read on thr site I have pasted this code into boot.py and rebooted:
from machine import UART
import os
uart = UART(0, baudrate=115200)
os.dupterm(uart)
I then connect to dev/ttyUSB0 on my PC using moserial on linux with the corresponding parameters. I receive no confirmation of connection and no thing at all when I send any command.
What am I missing?