Jump to content

UART Pinapple to control Pololu Board


gantarone

Recommended Posts

Hi ,

I would like to use the UART port of my pinapple to interface a Pololu board.

1) is it possible use the UART for other purposes that are not only firmware updates?

2)I have installed pySerial and I made a small program to check the communication to Pulolu board

but I do not understand witch is the right UART:
ttyATH0 or ttyS0.
Here my sample code:
###########################
import serial
import sys
ser = serial.Serial(port = "/dev/ttyATH0 ", baudrate=9600)
ser.open()
if ser.isOpen():
print "Serial is open!"
ser.write("Hello World!")
serial.close()
###########################
I've put a terminal with RX and TX inverted but trought the UART does not seem to transmit anything.....()

Any response or help is greatly appreciated!!!

:rolleyes: :D :D :D

PS.

Plololu use 5V TTL

Pinapple use 3,3V TTL only

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...