I've been messing with different terminal programs tonight, but there's not much to it.
Steady state, it's litterally just 0xBE (190) coming out repeatedly once it gets into its data mode. This is with the sensor in free air (I have this running off a lab power supply right now) which makes sense per the example they gave me since it should be pegged at the default AFR max value of 19.0 (can be set).
There's also a burst of other data that comes out at start up, followed by a small time (several seconds) and then the stream of what will be output data. I'm not sure that data means anything and nobody probably cares about that for logging purposes. They also sell a small LED display that would use this serial data, so there may be special characters or formatting for the display; as far as logging goes, the site only says "9600 8n1 serial" and I had to ask to find out a bit more about the format.
Here's a sample of the startup info (after power is turned on) I just got in case it helps anyone. This is raw byte data, displayed as unsigned integers by RealTerm:
Code:
17 28 35 3 17 28 35 3 17 28 35 3 17 28 36 140 17 28 37 150 17 28 38 90 17 28 39
190 190 190 190 190 190
The 190 will repeat periodically as it sends output data. I believe the format is really as simple as that.
I did also run RomRaider and try to instantiate an AEM UEGO log and record the following in the rr_system.log:
Code:
47173 TRACE [AWT-EventQueue-0] - Connect count [AEM UEGO AFR [9600 baud]]: 1
47174 INFO [Thread-9] - AEM UEGO AFR [9600 baud]: connecting...
47175 DEBUG [AWT-EventQueue-0] - Adding logger: [X_AEM_UEGO_Wideband_[9600_baud]] AEM UEGO Wideband [9600 baud]
47177 INFO [Thread-9] - Connection closed.
47177 ERROR [Thread-9] - AEM UEGO AFR [9600 baud]: connect error
com.romraider.logger.ecu.exception.NotConnectedException: com.romraider.logger.ecu.exception.SerialCommunicationException: Port is currently in use: COM7
at com.romraider.io.serial.connection.SerialConnectionImpl.<init>(SerialConnectionImpl.java:67)
at com.romraider.logger.external.aem.io.AemRunner.<init>(AemRunner.java:38)
at com.romraider.logger.external.aem.plugin.AemDataSource.connect(AemDataSource.java:76)
at com.romraider.logger.external.core.GenericDataSourceConnector.run(GenericDataSourceConnector.java:41)
at java.lang.Thread.run(Unknown Source)
Caused by: com.romraider.logger.ecu.exception.SerialCommunicationException: Port is currently in use: COM7
at com.romraider.io.serial.connection.SerialConnectionImpl.openPort(SerialConnectionImpl.java:193)
at com.romraider.io.serial.connection.SerialConnectionImpl.connect(SerialConnectionImpl.java:181)
at com.romraider.io.serial.connection.SerialConnectionImpl.<init>(SerialConnectionImpl.java:60)
... 4 more
48178 INFO [Thread-9] - Connection closed.
Not being familiar with RR log format, that looks to me like the kind of message you get when a port is opened by another application, but I cycled things time and again to make sure it wasn't opened by anything else. Maybe a timeout issue upon not seeing expected data?
From some other things I've read it looks like the AEM format is an ASCII-formatted output delimited as "1.770\tReady\tNo-errors\r".
Hope this is helpful. Thanks for helping, dshultz. As I've been doing research on the different wideband serial protocols I've come across a number of threads here where you've been able to help different people with logging issues and I just wanted to say as a some-time lurker/first-time poster that people like me are out there reading and really do appreciate the time that people like you are putting into this.
gullet89,
If you look at
http://wide-band.com/techinfo and go to the D1 page (it's not in the D2 users guide for some reason; I think the PDF guides aren't updated as well as they should be) there's a diagram that shows a hookup to a DB9 (serial) connector - I've hooked it up like that with the green wire to pin 2 (RXD) and the black ground attached to both my power ground and pin 5. It's a standard D-SUB serial connection, although I imagine the protocol of the D2 will be exactly the same as the D1 and you'll need to find the same solution I'm looking for to get the serial data logged from it.
Some electrical-level tech info that may help someone else looking at this (might have saved me some time):
One thing to keep in mind is that the levels aren't true RS-232 levels (which I believe will be common among most of these type of devices) but is the same thing output as 0-5V TTL levels. This is only of note in that it differs from a standard UART connection on a microcontroller in that it's basically inverted:
UART right off a microcontroller will look like this:

whereas what I saw on the scope is inverted from that to look like a pseudo-RS-232:

with levels of 0V and 5V for a 1 and 0, respecively (not -3 to -15 and +3 to +15).
That was important for me because I initially tried to use it with a Sparkfun FT232 breakout module that was expecting a UART signal and it needed to be inverted to work correctly and I only knew it because I happen to have an oscilloscope handy. I've since picked up a USB-to-Serial (DB-9) converter that seems to interpret the levels correctly even though it's not true RS-232. Again, I wouldn't be surprised if most of these kind of devices do that, although I haven't actually looked at anything else like this on a scope.
-Matt