I am working on Jetson TX2, very new to it, and I wanted to build a product which demands to interface with Analog sensors to TX2 board, I tried all the resources available but couldn't get any useful information, so I would be thankful for showing me a path.
Thank you,
BestRegards,
Surendra Allam.
Embedded Developer,
Safepro Video Security Research Labs,
India.
Do you have a URL to their spec sheets? Knowing if they are USB, serial UART, CANbus, i2c, or something else would be needed. It is the interface which is more important (versus the actual device using the interface). USB or anything which is hot-plug might be a simple driver addition.
It looks like the sensor-RG 11 uses a special protocol device. The tcw220 logger mentioned when following the URL specifically says to see this chip for interface information on the data side:
[url]Application Notes
The information I did see on this was from looking at the tcw220…there does not seem to be a data sheet for the sensor. The above URL is perhaps the best reference since it is the chip designed to read a 1-wire. There does not seem to be a simple way to use this interface without using something designed for 1-wire, e.g., the tcw220 has 10/100 ethernet which could talk to the TX2 over ethernet. It appears there is some sort of signal generated at the controller and delays from wires at different lengths might be what determines how to separate one device from another…I don’t know. A single device on a 1-wire would be simpler, but there is a protocol involved here which is not a simple GPIO or A/D-D/A converter chain. All I can suggest is that you need a device such as the tcw220 to convert the signal…it doesn’t have to be the tcw220, it could be something which just encodes to some serial protocol, but I have no suggestion on this.
The CO2 sensor has several options. Both i2c and serial are supported. Serial is usually the easiest, and if you use the 3.3V switch position, then it would directly connect to the dev board’s J17 connector. Setting the port setting for things like speed and parity should be about the only thing needed on a UART port…but then you need to have a program which talks to the port and is designed to work with the sensor. i2c is more complicated, but allows more than one device on the bus (but only if you have more than one i2c device…the rain sensor would not be one of those unless you got a conversion board of some sort with i2c output).
Which brings up the adafuit humidity sensor. This uses i2c, which the Jetson supports. It might be a reason to use the CO2 sensor in i2c mode, but the learning curve becomes steeper.
The vibration sensor looks like it needs some sort of A/D converter similar to what a condenser microphone might use (a capacitor modulating a high impedance voltage source).
With the exception of i2c or serial port it looks like none of these will work without some sort of interface hardware.
Thanks for your reply, I am not sure about what you have elaborated above, but then we are more interested in interfacing Sensors with TX2 only using ADC, and we don’t want any other hardware, is there any possibility for to do so, if yes please let me know how.
According to the specs I saw the sensors were not all designed to use only ADC (anything “1-wire” needs custom hardware beyond ADC), so I don’t think it will be possible. You might consider different sensors. i2c is something already supported, and i2c won’t require ADC, so you might want to replace the non-i2c components with i2c.
Someone else may have an idea of sensors more compatible (without extra hardware) with a TX2 for: