Navigation

    Welcome to the Pycom forum

    Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Tags
    3. uart
    Log in to post

    • B

      Adding timeout to sys.stdin.read(1)
      MicroPython • uart telnet read data select • • berni  

      3
      0
      Votes
      3
      Posts
      26
      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.
    • L

      UART over Pyscan pins
      Expansion Board • sipy uart pyscan • • Louis Henn  

      5
      0
      Votes
      5
      Posts
      33
      Views

      L

      @robert-hh took some debugging, but I did manage to make it work like you said. Thanks a lot!
    • S

      How to save Strings from UART the right way
      MicroPython • uart data strings • • SciWax  

      3
      0
      Votes
      3
      Posts
      67
      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. :)
    • T

      OSError: resource not available for UART
      FiPy • fipy micropython uart • • tttadam  

      3
      0
      Votes
      3
      Posts
      34
      Views

      T

      @robert-hh I see, that what I thought. then I will reuse UART1. Thanks :)
    • B

      5v UART Communication
      Discussion • uart voltage in • • btaillandier  

      10
      0
      Votes
      10
      Posts
      62
      Views

      robert-hh

      @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.
    • T

      sending hex via uart
      MicroPython • micropython uart hex • • tttadam  

      10
      0
      Votes
      10
      Posts
      345
      Views

      T

      @robert-hh I messed up the indexing. Thanks. :)
    • D

      UART Write
      FiPy • fipy uart • • DDA  

      1
      0
      Votes
      1
      Posts
      234
      Views

      No one has replied

    • T

      [SOLVED] UART and MH-Z16 CO2 sensor
      MicroPython • micropython uart mh-z16 • • tttadam  

      15
      0
      Votes
      15
      Posts
      909
      Views

      robert-hh

      @saman-naz This code is not made for a linux based RPI.
    • R

      L01 - Configure and program via UART. Bluetooth SPP?
      LoPy • uart l01 bluetooh bluetooh spp • • RadistORT  

      1
      0
      Votes
      1
      Posts
      279
      Views

      No one has replied

    • D

      UART READ WRITE
      WiPy 2&3 • lopy fipy uart buffer • • DDA  

      3
      0
      Votes
      3
      Posts
      612
      Views

      D

      Hi @robert-hh , Both Lopy and Fipy have firmware release='1.18.2.r1'
    • M

      Serial over bluetooth
      Discussion • uart bluetooh • • misterlisty  

      3
      0
      Votes
      3
      Posts
      508
      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.
    • S

      UART connection to Wipy3?
      WiPy 2&3 • uart wipy3.0 • • stevempotter  

      5
      0
      Votes
      5
      Posts
      611
      Views

      P

      @robert-hh thanks. ill try and sort out some VM's and give that ago.
    • T

      access TX/RX on fipy + pytrack :
      FiPy • fipy uart connectors • • testos  

      4
      0
      Votes
      4
      Posts
      624
      Views

      robert-hh

      @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.
    • M

      Serial communication using PySense
      Expansion Board • pysense uart help rpi • • Mellow  

      7
      0
      Votes
      7
      Posts
      726
      Views

      V

      HI Mellow, I would be very interested to find how you did this.
    • A

      Cannot init 2 UARTs on GPy
      GPy • gpy uart • • andrejpekarcik  

      4
      0
      Votes
      4
      Posts
      581
      Views

      robert-hh

      @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.
    • J

      Serial Sensor - 5V
      WiPy 2&3 • uart 5v tolerance • • jimmie  

      3
      0
      Votes
      3
      Posts
      527
      Views

      J

      @robert-hh Thank you, much appreciated.
    • A

      Uart Buffer too small/slow?
      LoPy • uart • • Avathar  

      3
      0
      Votes
      3
      Posts
      678
      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 ;)
    • A

      UART Pins for Pytrack with WiPy3
      WiPy 2&3 • pytrack wipy uart pin • • alexpul  

      7
      0
      Votes
      7
      Posts
      512
      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.
    • P

      UART on Lopy not recognizing non-default pins
      LoPy • lopy expansion board uart uart1 lopy 1.0 • • Paloma  

      3
      0
      Votes
      3
      Posts
      722
      Views

      P

      @eric73 This seems to have solved my problem! Thanks!
    • 1
    • 2
    • 3
    • 4
    • 1 / 4