Jump to content

martinayotte

Members
  • Posts

    3892
  • Joined

  • Last visited

Posts posted by martinayotte

  1. You've probably missed some steps about overlays.

    Try manually the following steps, although not the same way as described in the above post :

    mkdir /sys/kernel/config/device-tree/overlays/uart1
    cat /boot/dtb/overlay/sun8i-h3-uart1.dtbo > /sys/kernel/config/device-tree/overlays/uart1/dtbo
    python
    import serial
    port = serial.Serial("/dev/ttyS1", 115200, timeout=1)
    while True:
        while serport.inWaiting() > 0:
            c = serport.read()
            print c

     

  2. 15 hours ago, zador.blood.stained said:

    Changing the default pin and enabling the internal pull-up are the most interesting things to test.

    Since Dallas Semiconductor strongly suggest to use 4K7 Pull-Up for OneWire bus, I wouldn't rely on weak internal Pull-Ups which one some SoC are greater than 30K, especially if there are multiple sensor on the same bus or if those have long wires.

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines