Interfacing electronic components (sensors, motors, LEDs) through GPIO pins on the Jetson TK1

This might seem like a silly question but I have to ask it as I was unable to find proper answers to this online. I want to know whether it is possible to interface electronic components such as proximity sensors, servo motors, LEDs, etc. through the GPIO pins available on the Jetson TK1 board. I know how to do this with arduino. Can anyone provide me a walk-through or any relevant links for using the same components with my jetson?

Typical GPIO access is via sysfs. Keep in mind Jetson mostly uses 1.8V, so 3.3V or other needs a level shifter.

The general URL for schematics and TRM for the most current R21.4:
[url]https://developer.nvidia.com/embedded/linux-tegra[/url]

Some links related to using “echo” to enable/disable/toggle GPIO:
[url]https://devtalk.nvidia.com/default/topic/807651/?comment=4592017[/url]

[url]https://devtalk.nvidia.com/default/topic/764199/embedded-systems/jetson-tk1-no-gpio-directory/post/4269307/#4269307[/url]

[url]https://devtalk.nvidia.com/default/topic/856949/?comment=4607307[/url]

The tutorial here is pretty easy to follow and should get you started:
http://elinux.org/Jetson/Tutorials/GPIO

FYI, just added this to the sticky topic for Jetson URLs.

I have already gone through that link. What I want is to write programs (preferably in Java) for interfacing an ultrasonic sensor with the jetson. Please go through this link http://www.raspberrypi-spy.co.uk/2012/12/ultrasonic-distance-measurement-using-python-part-1/. I want the jetson equivalent of this. Ofcourse, I am not asking for the whole program but the trick for accessing the GPIO pins inside a program.

File read/write works to /sys for GPIO regardless of language. Java won’t change that, and Java can easily write “1” or “0” into files where manually echoing “1” or “0” works.

Thank you all for your answers. I found what I was looking for here-

https://github.com/derekmolloy/boneDeviceTree/tree/master/gpio

This is exactly what I was looking for; library functions for accessing GPIO pins.