• 0 Votes
    3 Posts
    1k Views
    megabyteM
    @robert-hh Thanks for the detailed reply and clarifying that it's DTR and RTS!
  • 0 Votes
    6 Posts
    3k Views
    D
    @alg cool, glad to hear that your problem is solved :-)
  • SDI-12

    LoPy sdi-12 lopy interface uart
    12
    0 Votes
    12 Posts
    4k Views
    N
    Sorry to grave dig, but had I known this earlier it would have been helpful. This post is about the Decagon 5TM, which has two protocols, SDI-12 and DDI. The DDI is typical UART at 1200 baud, which you can read from any UART reader. I've tested it with an FTDI cable and know it works with a LoPy. You do however have to power cycle the sensor to get a new reading. Note: This may not work on new Decagon 5TM sensors if you have changed the SDI-12 address to anything other than 0. Factory default is 0. If you have not used SDI-12 to communicate with the sensor then it should work as expected. We used a mosfet to turn the power on and off for the sensor, controlled by GPIO. Reading the UART within 10s of milliseconds from turning the power on will give you your readings. Its all explained in the integration guide. http://publications.metergroup.com/Integration Guides/18237 5TM Integrators Guide.pdf I know this doesn't help with SDI-12, but jubbs is using the 5TM specifically, which has this dual protocol stack. The sensor was also just powered from 5 volts (same supply source as for the LoPy), the 5TM supports 3.6V-15V, check datasheet for more information including current draw.
  • 0 Votes
    18 Posts
    5k Views
    robert-hhR
    @spookyrufus It depends whthter you have a 736x or 738x model. When you operate the device from 3.3V, you shoul dbe able to connect the Serial out from the sensor directly to the Uart RX. If it is a 736x model, you'll need a Inverter, like you can do with a 2N7000: gate -> Sensor, Source -> GND, Drain -> RX, 10k Pullup-Resistor between RX and Vcc. You may also use an inverter chip, like 74hc04 ....
  • 0 Votes
    1 Posts
    740 Views
    No one has replied
  • Upgrade

    WiPy 2&3 cp2102 upgrade mac wipy uart
    3
    0 Votes
    3 Posts
    1k Views
    D
    @robert-hh Hi Robert, You gave the point I was not using the reset button but powering off and on. After using the reset button I had the ready to upload and now is upgrading. Thank you!
  • Reading data through Uart

    MicroPython sipy uart micropython
    3
    1
    0 Votes
    3 Posts
    1k Views
    C
    Good pickup, I will try and use P10 and P11 unless you recommend anything else? Edit, it works now thanks for the help
  • Deep sleep shield conflicts with UART

    Issues & Bugs deep sleep uart
    3
    0 Votes
    3 Posts
    1k Views
    R
    Hi @bucknall, My code does this: uart = UART(1, baudrate=9600) The deepsleep.py library does this: self.uart = UART(1, baudrate=10000, pins=(COMM_PIN, )) I did not expect the deepsleep library to use UART, hence the initial confusion. The docs state there are two UARTs on the LoPy but i did not find out how to differentiate the two yet (I'm still new to micropython). My current workaround is to re-initialise the UART every time it is used. I will revisit this issue when the following blocking issue is solved: https://forum.pycom.io/topic/1685/lopy-with-deep-sleep-shield-hangs-after-x-go_to_sleep-commands
  • Pytrack, usb serial communication and REPL

    Getting Started uart repl usb pytrack
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Using Ethernet with a pycom device

    Discussion lopy wipy 2.0 uart ethernet
    6
    0 Votes
    6 Posts
    3k Views
    B
    @jmarcelino got that ;) i prefer the sparkfun then because I can plug a standard cat5e cable which is widely available. Thanks for your help!
  • Uart Interrupt Wipy 2.0

    Discussion wipy2.0 uart interrupt
    6
    0 Votes
    6 Posts
    2k Views
    M
    @bucknall said in Uart Interrupt Wipy 2.0: We currently do not support interrupts in the ESP32 MicroPython branch for the UART bus. I know this is on the roadmap of things to do, so I'll check with Daniel to see where we are with this! Thanks for your patience! Hi Guys, there are updates that concern UART interrupt? This aspect is very important! Thanks
  • SiPy UART read with RS485 communication

    SiPy sipy uart communication arduino
    2
    0 Votes
    2 Posts
    1k Views
    B
    To enable reception you need to put your p_out to FALSE.
  • 0 Votes
    5 Posts
    2k Views
    N
    @jmarcelino Yes, my problem is the same as what you highlight, thanks for solving the mystery. As an temp solution (for lazy ppl) I can suggest : # hard reset if last was a soft reset if reset_cause() == 4: reset() if not 'sigfox' in locals(): sigfox = Sigfox(mode=Sigfox.SIGFOX, rcz=Sigfox.RCZ4) Regarding the UART1 activity causing Sigfox instability, I will do more tests later. Maybe update the SiPy pinout PDF to include the UART1 pins (like LoPy) as @livius mentioned?
  • 1 Votes
    8 Posts
    4k Views
    S
    @Eric24 The debug messages at startup, before the micropython interpreter starts, are not stopped, but this is not a problem for me. No further debug messages are output once the python interpreter is started, unless the system throws an error. The startup debug messages are output at 115kbs. To stop the debug messages, my understanding is that one can compile a custom image with debug messages disabled, but I have not attempted this as they are not hampering my application.
  • Max UART baud rate?

    Discussion uart serial
    2
    0 Votes
    2 Posts
    2k Views
    L
    @lcgeldenhuys 5000000 https://www.esp32.com/viewtopic.php?t=1285
  • LoPy + GPS receiver on The Things Networks

    Projects gps lopy uart
    9
    1
    0 Votes
    9 Posts
    5k Views
    L
    @jmarcelino I think that we can create something more accurate - on that link all is mixed up Adding not one topic only new menu group e.g.: ->Where to buy: --------->Sensors ------------------>I2C ------------------>analog --------->switches --------->Bateries --------->antennas --------->simple electronics --------->box or only limit it to interesting sensors. But as always on such topic we can end with spam with adverts not real used items by users :(
  • List of supported pins for various interfaces

    LoPy pins documentation i2c spi uart
    9
    0 Votes
    9 Posts
    3k Views
    J
    @RobTuDelft said in List of supported pins for various interfaces: TSL2591 The Adafruit board (or a clone)? https://www.adafruit.com/product/1980 If so then yes Adafruit added pull-up resistors which you don't really need on the Pycom boards.
  • 0 Votes
    23 Posts
    8k Views
    D
    @jmarcelino [Solved ] Resolved, used a different power supply unit and it worked. I guess even though I was getting enough juice of 3.3VDC out of the Expansion board with a LoPy current was not enough. Thanks much!