Jump to content

RobG

Members
  • Posts

    8
  • Joined

  • Last visited

  1. Don't have the pin out in front of me but yes, unfortunately shared with other comms protocols spi & i2c. Never explored the other header, think it's a 10way. But wonder if they could be used as well for comms.
  2. No probs. You can use all three actually, I'm pretty sure ttys0 is the debug port. But in my instance I'm using the two ports on the 26way connector s1&s2 for general comms. Via pyserial And debugging via the three pin debug port which is s0.
  3. Sorry missed the part on pyserial. Yep works fine, seen as /dev/ttyS1 and /dev/ttS2
  4. Hi, Not sure about those speeds, I'm running "slighly" slower @19200 🙂 Here's what inside armbianEnv.txt: Used verbosity=1 bootlogo=false console=both disp_mode=1920x1080p60 overlay_prefix=sun50i-h616 rootdev=UUID=f7af041d-782e-4204-ac39-37060a9a922b rootfstype=ext4 overlays=uart2-ph uart5-ph usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u
  5. Yes I did thanks with no luck, I've since moved away from using the GPIOs. Have an embedded PIC micro for this project hence I've moved all GPIO functions to this and used serial comms from the orange to this micro to kick off the GPIO stuff. But the good part that I did pick up was that the orange has TWO serial ports which the original doc. only said it had one. Hence that came in super handy!! Rob.
  6. Hi, Running on Armbian_community 24.8.0-trunk.529 Bookworm with Linux 6.6.43-current-sunxi64 onthe orangepi zero3 And need to use the GPIO pins with python, not an expert here but have tried a few recommandations with no luck. Can anyone suggest method that works with the above OS/build please? Thanks! Rob.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines