On Wednesday 12 November 2014 10:33:31 [email protected] wrote: > http://item.taobao.com/item.htm?spm=a1z09.2.9.329.RgcLAh&id=40173284096&_u=d > jrk34rc500 > > The above link is the AM2320 that I purchased from taobao.com. > The manufacturer sent me the 8051 I2C library C source code for me and also > datasheet. It is a real I2C device. Well unless I2C means something different in Chinese every other source on the net including respected people like AdaFruit say this is not what everyone else means by I2C (and the BBB implements). > However, I 'm planned to use JAVA and no idea how to implement this... If you look on the AdaFruit site you will find an Arduino library which works, but which points out how messy the protocol (not I2C) is. You could port that but as it is very timing dependant it is unlikely to work as a user space app - you would need to write a device driver or PRU code. You can not use Java in either environment. > Is that possible to use UART port on Beaglebone Black with 4.7kohm as pull > up resistor and build a library by myself(like 8051)? No, UARTS and one wire solutions like this are totally different.
David -- 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/d/optout.
