Navigation

    Welcome to the Pycom forum

    Forum

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

    • A

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

      4
      0
      Votes
      4
      Posts
      730
      Views

      A

      @robert-hh Hooray! I've got it! Signal wire was broken between pin and GPS. Thanks.
    • B

      Using Lopy1 for just LoRa
      LoPy • lopy lora uart lora lopy lora gateway • • Burgeh  

      11
      0
      Votes
      11
      Posts
      1555
      Views

      B

      @robert-hh So a remote raw lora receiver with a lot of nodes sending it is just inevitable that collisions happen? My current "solution" is to send and wait for it to send back an acknowledge, if not just wait a random period of time.
    • H

      UART communication between Lopy and Arduino
      LoPy • uart arduino lopy • • hadjidgr  

      1
      0
      Votes
      1
      Posts
      568
      Views

      No one has replied

    • T

      UART, Deepsleep, Wakeup
      MicroPython • deepsleep uart wakeup • • Tschili  

      2
      0
      Votes
      2
      Posts
      613
      Views

      J

      @tschili Imho, if you trigger the wake-up just when the transmission starts, you'll have the issue that the GPY needs to little bit of time to wake-up and initialise, and you will most certainly lose and data received during that time. So you would need the SIM800L to wait until the GPY is ready to receive before it start sending the data, and some other way to wake up the GPY.
    • J

      UART Creation Problem
      WiPy 2&3 • wipy uart • • jmpratt  

      4
      0
      Votes
      4
      Posts
      908
      Views

      robert-hh

      @jmpratt I cannot believe that you have the same code on both WiPy's. Please reload the code to both devices, reset them and try.
    • M

      UART timeout_chars not working
      WiPy 2&3 • uart timeoutchars • • Martinnn  

      1
      0
      Votes
      1
      Posts
      488
      Views

      No one has replied

    • H

      Correct UART pins and problems
      LoPy • lopy4 expansion board uart serial honeywell • • hopkapi  

      3
      0
      Votes
      3
      Posts
      1029
      Views

      robert-hh

      @hopkapi If you connect G24 aka P3 -> 7 G11 aka P4 -> 6 GND -> 8 GND Vin -> 2 (5V) and run the LoPy from USB. then the electrical conditions shoul be OK, and the device shoudl be accessible via UART 1. SOmetimes the definition of Tx and Rx are reversed, so you may swap P3 and P4. That should not cause any harm to the devices. The UART setting according to the data sheet is baud rate: 9600, databits: 8, stopbits: 1, parity: no Some test code would be like: from machine import UART uart = UART(1, 9600) # init with given baudrate uart.init(9600, bits=8, parity=None, stop=1) # init with given parameters while True: data = uart.readall() if data is not None: print(data)
    • N

      Object with buffer protocol required.
      WiPy 2&3 • uart • • nick9995  

      5
      0
      Votes
      5
      Posts
      5839
      Views

      N

      @livius Thank you so much!!! That works for me! Not sure how long it would have taken me to properly use brackets [ ].
    • S

      Clearing UART buffers
      Discussion • uart gps • • sprasad  

      14
      0
      Votes
      14
      Posts
      2006
      Views

      robert-hh

      @bitvijays the default rx buffer size us 512. But you can set it when instantiating the uart object with the parameter rx_buffer_size=nnn Whether that can be set to a value like 40000 has to be tested.
    • D

      [Solved :]UART read
      MicroPython • lopy uart uart print • • DDA  

      6
      0
      Votes
      6
      Posts
      1969
      Views

      D

      Per comments from @robert-hh & @timh , I used a MAX3232, RS232 to TTL converter chip to resolve the issue.
    • J

      Sensor JSON Post stops after a few hours
      Expansion Board • uart json post • • jimpower  

      14
      0
      Votes
      14
      Posts
      2441
      Views

      T

      @jimpower ok, so why do you get no module found when you call urequests.post now when you didn't before. I can't see all your code, just snippets. The vaious sample bits of code are being changed. Oh I see now what the problem is, when you import urequests you are importing as requests hence the module not found error. You will need to change the sample to requests.post Also as an aside why do you execfile('/flash/Wi-Fi/Wi-Fi.py') rather than importing. This seems odd thing to do.
    • F

      Read from USB (debug QI Charger odd influence on board behaviour)
      Discussion • uart usb debug qi charger • • fsergeys  

      7
      0
      Votes
      7
      Posts
      1634
      Views

      J

      @fsergeys I'm not familiar with Qi chargers, but isn't there a chance the electromagnetic field generated when you transmit data may "trigger" the charger somehow? Since those chargers are designed to be inserted into phones it shouldn't be an issue, but you never know...
    • Smeedy

      UART Rx buffer event callback?
      MicroPython • uart • • Smeedy  

      1
      0
      Votes
      1
      Posts
      661
      Views

      No one has replied

    • M

      Lopy with VC0706
      LoPy • lopy uart camera vc0706 • • matamune  

      10
      0
      Votes
      10
      Posts
      2111
      Views

      livius

      @matamune you can turn automatic gc on gc.enable() and also you can do manual gc.collect()
    • H

      LOPY with Raspberry pi 3
      LoPy • lopy uart raspberry pi • • hsn548  

      3
      0
      Votes
      3
      Posts
      1341
      Views

      H

      @livius i did already.. still the same problem.. Now i connected my lopy to raspberry pi through usb0 and putty.. the data bieng sent by raspberry pi is showing on the terminal instead of in uart.readall()...
    • N

      How to reset a serial/uart connection?
      MicroPython • fipy uart serial reset machine.reset • • nathanh  

      9
      0
      Votes
      9
      Posts
      3575
      Views

      D

      Hello guys, The issue fixed in the IDF is definitely affecting us. We will merge that patch and will be available for our next release this week. Cheers, Daniel
    • T

      UART IRQ
      LoPy • lopy uart • • tushar44  

      6
      0
      Votes
      6
      Posts
      1423
      Views

      Z

      Any News?
    • J

      USB or UART
      MicroPython • uart serial usb • • jmpratt  

      6
      0
      Votes
      6
      Posts
      1846
      Views

      S

      @livius It features a MAX3421E USB host controller chip and USB-A port. We created this board to communicate with existing serial-over-USB (CDC, or communications device class) devices. Adding support for other USB "drivers" is a matter of understanding the USB endpoints and writing the implementation in MicroPython. Update: Check out the First look: USB Host Expansion Board by Semireg
    • G

      UART with nanogateway?
      LoPy • uart nano gateway • • gas  

      3
      0
      Votes
      3
      Posts
      955
      Views

      G

      thanks but i was looking for how you can use it instead of Wifi forwarding he messages that normally are forwarded through Wifi to loraserver using Uart i think i'll need to design also a process on the other side to read uart and push it to loraserver I'll try to do it and see
    • L

      FiPy and WiPy communication - best practise? SPI, I2C, UART, Bluetooth, Wifi?
      FiPy • fipy wipy uart spi ic2 • • Leo_Sol  

      9
      0
      Votes
      9
      Posts
      2351
      Views

      robert-hh

      @leo_sol Looking at your initial post it seems that UART1 may still available on both units. the default config collides with the SD card pins, but you can assign UART1 to other pins.
    • 1
    • 2
    • 3
    • 4
    • 2 / 4