I believe my blog post http://blog.lemoneerlabs.com/post/Hearing-aids will solve your issue. You need to build an actual inverter (or buy an IC to do it for you).
On Tuesday, November 5, 2013 3:52:54 AM UTC-6, Gustavo Oliveira wrote: > > I guess I did some mistake answering back there =P > It is in UART_RX. > > I search the internet and found that maybe I'm getting the inverted > messages, all the 1s as 0s and the 0s as 1s. > > > On 5 November 2013 09:50, Gustavo Oliveira <[email protected]<javascript:> > > wrote: > >> 1) I'm using the 3.3V pin, so the voltage is acceptable in p9_22. >> >> 2) What do you mean by setttings, the fields when I export the pin? Or >> the pin mode? I think mine are ok, what should they be? >> >> 3) I tried many applications, python scripts, c scripts, minicom... >> >> >> On 5 November 2013 05:26, Maxim Podbereznyy <[email protected]<javascript:> >> > wrote: >> >>> 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] <javascript:>> написал: >>> >>>> 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 beagleboard...@**googlegroups.com. >>>>>> For more options, visit >>>>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out> >>>>>> . >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> LinkedIn - >>>>> http://www.linkedin.com/in/**maximpodbereznyy<http://www.linkedin.com/in/maximpodbereznyy> >>>>> Company - >>>>> http://www.linkedin.com/**company/mentorel<http://www.linkedin.com/company/mentorel> >>>>> Facebook - >>>>> https://www.facebook.com/**mentorel.company<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] <javascript:>. >>>> 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 a topic in the >>> Google Groups "BeagleBoard" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/beagleboard/gOK8R4_mRzw/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> [email protected] <javascript:>. >>> 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.
