# Jetson Nano with Bar02

**URL:** <https://discuss.bluerobotics.com/t/jetson-nano-with-bar02/15786>\
**Category:** Sensors\
**Created:** [January 9, 2024, 6:37pm UTC](https://discuss.bluerobotics.com/t/jetson-nano-with-bar02/15786 "2024-01-09T18:37:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![debu](https://avatars.discourse-cdn.com/v4/letter/d/87869e/32.png) [@debu](https://discuss.bluerobotics.com/u/debu)\
**Post date:** [January 9, 2024, 6:37pm UTC](https://discuss.bluerobotics.com/t/jetson-nano-with-bar02/15786/1 "2024-01-09T18:37:50Z")

</div>

Hello,

We are working on an AUV project and we want to connect out jetson nano’s i2c pins directly with the Bar02 pressure sensor, Can anyone help regarding the same? If someone could guide us through the process it would be helpful.

Thanks

---

<div class="post-metadata">

**Author:** ![tony-white](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/tony-white/32/13297_2.png) [@tony-white](https://discuss.bluerobotics.com/u/tony-white)\
**Post date:** [January 9, 2024, 7:41pm UTC](https://discuss.bluerobotics.com/t/jetson-nano-with-bar02/15786/2 "2024-01-09T19:41:51Z")

</div>

Hi Debu -  
You’d want to connect SLC pin of the jetson to the SLC of the Bar02, as well as SDA to SDA and 3.3V & GND.  
To see if the device is communicating, run at the terminal:

apt update && apt install -y i2c-tools

To list devices connected to the bus, by address, run:

i2cdetect -y 1

If you consult your sensor’s documentation, you should find its default address listed. For example, 4 discrete devices are connected in this output:  
 ![image](https://us1.discourse-cdn.com/flex019/uploads/bluerobotics/original/2X/7/76e748dd5415532a655218333a5aa104e5dbaaa8.png)

You should then be able to follow the steps in this [guide](https://bluerobotics.com/learn/guide-to-using-the-bar02-with-a-raspberry-pi/) to run a python script and access the data.

---

<div class="post-metadata">

**Author:** ![debu](https://avatars.discourse-cdn.com/v4/letter/d/87869e/32.png) [@debu](https://discuss.bluerobotics.com/u/debu)\
**Post date:** [January 10, 2024, 5:33am UTC](https://discuss.bluerobotics.com/t/jetson-nano-with-bar02/15786/3 "2024-01-10T05:33:12Z")

</div>

Hi Anthony,  
I did run those commands but under bus 1, I’m not able to find any devices connected but in bus 2 I find 50 and 57 , I have connected the GPIO pins 1,3,5,6 of the jetson to the sensors, which according to this website( [NVIDIA Jetson Nano J41 Header Pinout - JetsonHacks](https://jetsonhacks.com/nvidia-jetson-nano-j41-header-pinout/)) corresponds to bus 1. Could please guide on what could be going wrong?

 ![image](https://us1.discourse-cdn.com/flex019/uploads/bluerobotics/original/2X/d/dddbde7d0cfa757c1ddf9994edb66ef97c798170.png)

---

<div class="post-metadata">

**Author:** ![tony-white](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/tony-white/32/13297_2.png) [@tony-white](https://discuss.bluerobotics.com/u/tony-white)\
**Post date:** [January 10, 2024, 5:19pm UTC](https://discuss.bluerobotics.com/t/jetson-nano-with-bar02/15786/4 "2024-01-10T17:19:23Z")

</div>

Can you share a picture of your wire connections? It is important to keep I2C wires as short as possible. Are you using header pins to make the connection?  
The address of the Bar02 should be 76, I believe those are other devices on the jetson - i2c bus 2 is not broken out for user connections. This [tutorial](https://jetsonhacks.com/2019/07/22/jetson-nano-using-i2c/) seems to use both bus 0 or bus 1, maybe you could try on bus 1?
