I am using Beaglebone Black. I have connected pin 1 (tx) of the arduino to the rx input of my voltage level shifter, and then the result into pin 26 (UART1_RX) of the BBB. I have wired pin 0 of the artuino (rx) in a similar manner to pin 24 of the BBB.
On Friday, June 10, 2016 at 12:44:34 PM UTC-4, Manavendra Nath Manav wrote: > > Hi James, > > Which Port Pins of Beaglebone Red you have connected to which pins of > Arduino, and the output of that port pin properties in /sys we might > be able to help. > > Thanks > Manav > > On 6/10/16, [email protected] <javascript:> <[email protected] > <javascript:>> wrote: > > > > That did not help unfortunately, thanks anyway. > > On Friday, June 10, 2016 at 10:46:44 AM UTC-4, RobertCNelson wrote: > >> > >> Hi James, > >> > >> On Fri, Jun 10, 2016 at 9:42 AM, <[email protected] > <javascript:>> > >> wrote: > >> > I am trying to get an arduino to communicate with the BeagleBone > Black > >> and > >> > send some measured sensor data over via the serial port. I am using > the > >> > > >> most > >> > recent version of node red to do this. I am running the latest > version > >> of > >> > Debian. > >> > > >> > I have confirmed using an oscilloscope that the arduino's serial port > is > >> > > >> > outputting the information when it is supposed to (it's triggered by > an > >> > > >> > interrupt sent by the BBB). I can see the serial ports that are > >> supposedly > >> > enabled in /dev and they appear as ttyO1, ttyO2, and ttyO4, and I > have > >> > confirmed the port mapping and ruled out wiring issues as well (I'm > >> using a > >> > logic level converter to go from the arduino's 5V to the BBB's 3.3V > >> level). > >> > > >> > The ports also appear to map like so: > >> > > >> > lrwxrwxrwx 1 root root 5 Jun 9 22:37 ttyO1 -> ttyS1 > >> > lrwxrwxrwx 1 root root 5 Jun 9 22:37 ttyO2 -> ttyS2 > >> > lrwxrwxrwx 1 root root 5 Jun 9 22:37 ttyO4 -> ttyS4 > >> > > >> > Node red also sees these ports and indicated that they are > 'connected' > >> which > >> > I assume means opened. > >> > > >> > When I attempt to receive data on the BBB from ANY of these ports I > am > >> > unable to see anything on the output in node red or from the command > >> prompt. > >> > > >> > I am using a baud rate of 300 to rule out timing issues. I have also > >> > confirmed that the arduino's serial settings should be matched to > what > >> the > >> > BBB is expecting. Lastly, I have even tried sending simple strings > from > >> > > >> one > >> > serial port to the other on the BBB itself. > >> > > >> > Has anyone here had this sort of issue and if so, how did you come to > a > >> > > >> > solution? > >> > >> By default, cape-universal is loaded, for BB-UART1 just do: > >> > >> config-pin P9.24 uart > >> config-pin P9.26 uart > >> > >> and then /dev/ttyO1 will now work.. > >> > >> Regards, > >> > >> -- > >> Robert Nelson > >> https://rcn-ee.com/ > >> > > > > -- > > For more options, visit http://beagleboard.org/discuss > > --- > > You received this message because you are subscribed to the Google > Groups > > "BeagleBoard" group. > > To unsubscribe from this group and stop receiving emails from it, send > an > > email to [email protected] <javascript:>. > > To view this discussion on the web visit > > > https://groups.google.com/d/msgid/beagleboard/a8e491c4-c39d-4812-bfbe-7346c5b315eb%40googlegroups.com. > > > > For more options, visit https://groups.google.com/d/optout. > > > > > -- > Manavendra Nath Manav > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/acc810d7-c4e0-4bc8-80c0-141d586d9bb2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
