Navigation

    Welcome to the Pycom forum

    Forum

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

    • L

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

      5
      0
      Votes
      5
      Posts
      21
      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
      28
      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
      26
      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
      40
      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
      329
      Views

      T

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

      UART Write
      FiPy • fipy uart • • DDA  

      1
      0
      Votes
      1
      Posts
      228
      Views

      No one has replied

    • T

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

      13
      0
      Votes
      13
      Posts
      889
      Views

      T

      @tttadam I think I find the issue. If I shut the pycom down by pluging it out (like the 99,9% of the cases) the sensor wont work. But if I reboot it after I pluged-in then it does work. So my "solution"/workaround is that I check in the boot.py if the checksum is false, if it is, then I do a machine.reset() . Any more elegant solution is welcomed :D
    • R

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

      1
      0
      Votes
      1
      Posts
      274
      Views

      No one has replied

    • D

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

      3
      0
      Votes
      3
      Posts
      595
      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
      498
      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
      607
      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
      608
      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
      713
      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
      573
      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
      522
      Views

      J

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

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

      3
      0
      Votes
      3
      Posts
      654
      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
      498
      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
      709
      Views

      P

      @eric73 This seems to have solved my problem! Thanks!
    • A

      UART: I cannot get any reading from GPS
      GPy • gpy expansion board uart gps • • andrejpekarcik  

      4
      0
      Votes
      4
      Posts
      719
      Views

      A

      @robert-hh Hooray! I've got it! Signal wire was broken between pin and GPS. Thanks.
    • 1
    • 2
    • 3
    • 4
    • 1 / 4