Navigation

    Welcome to the Pycom forum

    Forum

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

    • H

      Access LoPy mac address without using atom.
      LoPy • lopy serial mac address • • HobbyPy  

      4
      0
      Votes
      4
      Posts
      528
      Views

      P

      @hobbypy any programming language with a serial library should work. simply open a serial connect to the board via your preffered language / framework. and send the code as a string over it. The response will come back over serial just like the REPL does.
    • M

      Lopy freezes after 6 - 12 hours
      LoPy • lopy serial freeze • • morpheus  

      7
      0
      Votes
      7
      Posts
      738
      Views

      P

      @crumble said in Lopy freezes after 6 - 12 hours: I do not understand why pycom does not declare the 1.20 branch as stable. It fixed so many errors for me that I like to see it as the stable branch. Maybe they want to deploy it together with some cloud changes. But 23 will be the better number for this ;) Features are still being worked on and improved. Even more stability cant hurt :D
    • N

      Make the WIPY to work in access point connecting serially with Wireless Sensor
      WiPy 2&3 • wipy wipy 3.0 serial • • noboz32  

      1
      0
      Votes
      1
      Posts
      294
      Views

      No one has replied

    • J

      Always the same problem of file upload flash !!!!
      LoPy • lopy firmware update serial flash firmware upgrad • • james  

      20
      0
      Votes
      20
      Posts
      3027
      Views

      nespressif

      Hi, I tried via ftp and it works perfectly. Regards
    • F

      Serial over bluetooth implementation
      Discussion • bluetooth serial documentation bluetoorh bl • • francoisMorillon  

      1
      2
      Votes
      1
      Posts
      559
      Views

      No one has replied

    • P

      Pytrack: no serial communication
      Expansion Board • lopy pytrack serial com • • pjoerke  

      1
      0
      Votes
      1
      Posts
      485
      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)
    • R

      Lopy4 serial connection troubleshooting
      LoPy • lopy4 serial linux • • Re  

      3
      1
      Votes
      3
      Posts
      795
      Views

      R

      I found out what was the problem: not the cable, not the up to date expansion board3, but simply the out-of-date lopy4 firmware. Updating it fixed it!
    • R

      Transmitting a file from a PC to Pycom
      Projects • pycom serial transceiver • • Ricardo85  

      2
      0
      Votes
      2
      Posts
      952
      Views

      jmarcelino

      @ricardo85 I think you’ll need to use the C API and ESP-IDF directly for that, see https://github.com/MrBuddyCasino/ESP32_MP3_Decoder. That should run on the Pycom boards
    • pierrot10

      Can not connect to my Extension Board/Lopy4
      LoPy • expansion board serial port serialport.node • • pierrot10  

      2
      0
      Votes
      2
      Posts
      809
      Views

      robert-hh

      @pierrot10 which model of the expansion board arte you using. Version 2 (one push button) or version 3 (two push buttons). Version 2 is more simple. If you cannot see the serial port, it is a problem of the physical connection (cable, jumpers on the board) or the OS X driver. Version 3 adds to the list of trouble sources the firmware in the PIC controller on the board. I assume that you also do not get a REPL prompt.
    • Charly86

      Pytrack and.or Deep Sleep break terminal output ?
      Expansion Board • pytrack serial sleep terminal output • • Charly86  

      9
      0
      Votes
      9
      Posts
      1878
      Views

      Charly86

      @jcaron I think I got it The calibrate_rtc() in library pycoproc break the console output, if I comment this call from get_sleep_remaining() No problem Connecting on COM24... # OK! starting, Reset= 0 stage 1 stage 2 Wakeup reason: 4 ; Aproximate sleep remaining: calibrate_rtc 0 sec stage 4 Wait for update ............. may be the deal is out there def calibrate_rtc(self): # the 1.024 factor is because the PIC LF operates at 31 KHz # WDT has a frequency divider to generate 1 ms # and then there is a binary prescaler, e.g., 1, 2, 4 ... 512, 1024 ms # hence the need for the constant self._write(bytes([CMD_CALIBRATE]), wait=False) self.i2c.deinit() Pin('P21', mode=Pin.IN) pulses = pycom.pulses_get('P21', 100) self.i2c.init(mode=I2C.MASTER, pins=(self.sda, self.scl)) idx = 0
    • M

      LORA and 2 lopys problem
      MicroPython • lopy lora serial loramac • • monersss  

      5
      0
      Votes
      5
      Posts
      1330
      Views

      J

      @monersss Raw LoRa is a best effort medium with absolutely no acknowledgements or retransmissions. If you want to be sure that data has been received, you will need to implement such a strategy. That involves adding frame counters (not absolutely needed in the most basic case, but it’s usually a good idea), sending back ACKs when you have received data, and resending data if you don’t get the ACK. Note that if your target scenario is not point to point but multiple senders to one receiver, LoRAWAN may be a simpler option as this can be handled by LoRaWAN. However be aware of the limitations on the band.
    • M

      LoRa on 2 LOPYs plus serial
      LoPy • lopy lora serial loramac • • monersss  

      5
      0
      Votes
      5
      Posts
      1073
      Views

      seb

      @monersss Can you post a sample of the file stored on the SD card? I programmed the first lopy to constantly send hello, and this was my result: Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello ...
    • P

      [Solved] issues w/ serial connection: Atom + LoPy
      Discussion • lopy serial • • pynew  

      3
      0
      Votes
      3
      Posts
      1032
      Views

      P

      @seb Yup, that solved it
    • 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

      lopy to raspberry pi 3 serial connection
      LoPy • lopy serial raspberry pi urgent • • thomand1000  

      28
      0
      Votes
      28
      Posts
      7729
      Views

      robert-hh

      @testos As long as you do not use SPI this does not matter. And the SPI pins can be reassigned too. And P11 (External IO 8) seems not to be connected on pytrack. Using I diode tester, I cannot detect any connection. At P10 (external IO 7) seems to be used. At least is show something like a ESD diode behavior of an active chip pin.
    • 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
    • J

      Serial communication on GPIO pin
      MicroPython • serial gpio sdi-12 • • jmpratt  

      6
      0
      Votes
      6
      Posts
      1532
      Views

      J

      @jmpratt Would you mind providing me a link for the hardware you used? I was thinking of using the RS485 library and a 485 to uart breakout board.
    • A

      WiPy 3.0 getting started issues
      WiPy 2&3 • pymakr wipy 3.0 serial boot.py • • Artiom  

      11
      0
      Votes
      11
      Posts
      2799
      Views

      A

      Thank you. Everything works now. I hope that pymakr will be fixed as well.
    • 1
    • 2
    • 3
    • 1 / 3