Forum >Replies by Horan Brendan
userhead Horan Brendan
Replies (3)
  • You Reply: Doing something like :
    Code: Select all
    from machine import UART
    uart = UART(1, 9600)
    uart.init(9600, bits=8, parity=None, stop=1, rx=25, tx=26)
    
    Seems like I can read the device (pm2.5 sensor), unsure if the data it is reading is correct yet :D

    However using the UART pins as listed on the board or on the Gravity shield will still cause the ESP32 to freeze.
    So there still is some issue with the listed UART.
  • You Reply: I have not tried mapping the RX/TX pins to another mapping.
    I was using D0/D1 as the wiki lists :
    https://www.dfrobot.com/wiki/index.php/ ... U:_DFR0478

    let me give a go at mapping it to IO25/26 and see.
    thanks
  • You Reply: I have sent an email to tech support.
    l hope they can sort it out.
    Will post details here when I get them