posted 20 Oct 2009 13:32 by Chris Shucksmith
[
updated 18 Jul 2011 05:28
]
I've just got the first command acknowledged from the DS2480B Serial 1-wire line driver! This is great news as it confirms the following: - The SOIC chip survived being soldered to it's DIP adapter
- Serial port access from Java is working (thanks to RXTX)
- USB to UART cable is working (TTL-232R-3.3V)
- It's possible to interface 3.3V logic levels to the DS2480B - was unsure about this as the absolute typical output voltage of the FTDI chip is only 0.1v higher than the logic-high threshold on the DS2480B datasheet.
Java code output: Opening /dev/ttyUSB0 << sent 11000001 enumerating bus devices << sent 11000001 >> recv 11000000 finished
To control the serial port using Java under Fedora Linux I did the following: - Add current user to lock and dialout groups (as root)
gpasswd --add chris dialout gpasswd --add chris lock
- Install RXTX binaries
yum install rxtx
- Setup an eclipse 'library' for RXTX (jar and native code)
|
|