1) I would place a voltage translator or a simple voltage divider based on two resistors to reduce 5 volts to the acceptable 3.3V.
2) check the pinmux settings for that pin 3) what terminal application do you use to read data? Check the serial port parameters and don't forget to disable the hardware flow control if any 05 нояб. 2013 г. 3:55 пользователь "Gustavo Oliveira" < [email protected]> написал: > Hi, thank you for quick reply, > I'm using a BeagleBone and Ubuntu 12.04. > > I have the TX connected to p9_22, which is uart2 RX. > > On Monday, November 4, 2013 7:38:06 PM UTC, lisarden wrote: >> >> hi! >> >> what board do you use and what OS? >> >> your datasheet says that VCC is +5V and the TX pin also work in 0-VCC >> range. If you use beaglebone it accepts only 3.3V, however there can be >> options >> >> >> 2013/11/4 Gustavo Oliveira <[email protected]> >> >>> Hello, >>> I'm trying to read from a LV-Maxsonar-EZ0 using the serial interface. >>> >>> I have connected the wires correctly and I have placed an overlay in >>> uart2. >>> The problem is the data I'm reading from the sensor. I can only get >>> garbage, but its not completely wrong because the data changes according to >>> the distance to obstacle. >>> >>> The datasheet for the sensor can be found here: >>> datasheet<http://www.maxbotix.com/documents/MB1000_Datasheet.pdf> >>> . >>> >>> I searched google for a day and couldn't find anything... >>> Someone posted in a raspberry pi forum that the problem is the meaning >>> of 1s and 0s, but I changed active_low to 1 and I got the same. >>> >>> I'm not very proficient with electronics, so I might take some time >>> following instructions. >>> Nonetheless all the help will be welcome. >>> >>> -- >>> 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]. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> >> >> >> -- >> LinkedIn - http://www.linkedin.com/in/maximpodbereznyy >> Company - http://www.linkedin.com/company/mentorel >> Facebook - https://www.facebook.com/mentorel.company >> > -- > 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]. > For more options, visit https://groups.google.com/groups/opt_out. > -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
