• Adding timeout to sys.stdin.read(1)

    MicroPython uart read data telnet select
    3
    0 Votes
    3 Posts
    51 Views
    B
    @jcaron unfortunately, there is any method with the stdin and I haven't found any way to interact directly with the telnet server. My previous implementation used the UART, but then I realized that I was able to read from Telnet, but no way to type anything. Also, the telnet connection was quite slow and unreliable for some reason (time out when login/password). With stdin it works much better, but not typing anything will block the application forever.
  • UART over Pyscan pins

    Expansion Board uart pyscan sipy
    5
    0 Votes
    5 Posts
    59 Views
    L
    @robert-hh took some debugging, but I did manage to make it work like you said. Thanks a lot!
  • How to save Strings from UART the right way

    MicroPython uart data strings
    3
    0 Votes
    3 Posts
    82 Views
    S
    @robert-hh Thank you so much for that input! I'm really new to Python in regards of MCU's, so there is still alot to learn for me. Now I'm less afraid, that something could go wrong. :)
  • OSError: resource not available for UART

    FiPy uart micropython fipy
    3
    0 Votes
    3 Posts
    72 Views
    T
    @robert-hh I see, that what I thought. then I will reuse UART1. Thanks :)
  • 5v UART Communication

    Discussion uart voltage in
    10
    0 Votes
    10 Posts
    75 Views
    robert-hhR
    @btaillandier The tarball is at https://github.com/robert-hh/Shared-Stuff.git. It's name is: LoPy4-1.20.2.rc11_invert.tar.gz You call the inversion with e.g. from machine import UART uart=UART(1, 1200, invert=UART.INV_RX) there is also UART.INV_TX, UART.INV_CTS and UART.INV_RTS, to be or'ed if required.
  • sending hex via uart

    MicroPython micropython uart hex
    10
    0 Votes
    10 Posts
    363 Views
    T
    @robert-hh I messed up the indexing. Thanks. :)
  • UART Write

    FiPy fipy uart
    1
    0 Votes
    1 Posts
    243 Views
    No one has replied
  • [SOLVED] UART and MH-Z16 CO2 sensor

    MicroPython uart micropython mh-z16
    15
    0 Votes
    15 Posts
    958 Views
    robert-hhR
    @saman-naz This code is not made for a linux based RPI.
  • 0 Votes
    1 Posts
    298 Views
    No one has replied
  • UART READ WRITE

    WiPy 2&3 uart buffer lopy fipy
    3
    0 Votes
    3 Posts
    643 Views
    D
    Hi @robert-hh , Both Lopy and Fipy have firmware release='1.18.2.r1'
  • Serial over bluetooth

    Discussion bluetooh uart
    3
    0 Votes
    3 Posts
    537 Views
    E
    @misterlisty Pycom bluetooth stack is currently BLE (Bluetooth Low Energy) . And, in BLE there is no SPP equivalent (Simple Port Protocol) as in Standard Bluetooth stack. The BLE normalization is as is, only nordic semi (a ble chip manufacturer) provide a non-standard SPP-like library for it's chip. BUT you can exchange data in BLE, you just have to do it by your self with specific software you write, take a look at how service/characteristics work in ble.
  • UART connection to Wipy3?

    WiPy 2&3 uart wipy3.0
    5
    0 Votes
    5 Posts
    643 Views
    P
    @robert-hh thanks. ill try and sort out some VM's and give that ago.
  • access TX/RX on fipy + pytrack :

    FiPy fipy connectors uart
    4
    0 Votes
    4 Posts
    638 Views
    robert-hhR
    @testos Yes, you need to connect to the external IO header below the fipy. And you have to specify these Pins, when you open the UART, most likely UART1. On a Fipy, two of the three UARTs are already used by the firmware UART0 and maybe UART2. You have to try.
  • Serial communication using PySense

    Expansion Board pysense uart rpi help
    7
    0 Votes
    7 Posts
    740 Views
    V
    HI Mellow, I would be very interested to find how you did this.
  • Cannot init 2 UARTs on GPy

    GPy gpy uart
    4
    0 Votes
    4 Posts
    637 Views
    robert-hhR
    @andrejpekarcik UART0 is used for the REPL over USB. The regular speed is 115200. SO if you want to use that, you have to deinit REPL on UART, using uos.dupterm(None), and use Telnet for the REPL.
  • Serial Sensor - 5V

    WiPy 2&3 5v tolerance uart
    3
    0 Votes
    3 Posts
    546 Views
    J
    @robert-hh Thank you, much appreciated.
  • Uart Buffer too small/slow?

    LoPy uart
    3
    0 Votes
    3 Posts
    691 Views
    A
    Big Thanks for the hint! I compiled the firmware with a buffer_len of 4096 instead of 512 and it seems to be working now. At least it says it reads the correct number of bytes. I still have to verify the data ;)
  • UART Pins for Pytrack with WiPy3

    WiPy 2&3 uart wipy pytrack pin
    7
    0 Votes
    7 Posts
    525 Views
    E
    @soopieng said in UART Pins for Pytrack with WiPy3: @Erick-Falcon Hi, I am looking for similar solution as well. May I know what do you mean on making a shield on your solution? I am planning to use FiPy on Pytrack, and i need I2C and UART features from FiPy as well. There is a external IO header on Pytrack board, with some GPIO pins and power signal available. Can we configure one pair of the GPIO as UART for my purpose? or the external IO header is used for other application? hi, I new using these devices. I´ve been work with this around three months. when I said "make a shied" I mean make a pcb what allow you to use fipy, pytrack and sensors, without need to solder extra pins on pytrack. I am testing to see how viable and efficient this solution is.
  • 0 Votes
    3 Posts
    729 Views
    P
    @eric73 This seems to have solved my problem! Thanks!