Jetson Nano GPIO

  Рет қаралды 46,701

JetsonHacks

JetsonHacks

Күн бұрын

Пікірлер: 110
@alidollar1994
@alidollar1994 5 жыл бұрын
Really appreciate your effort, the only place i can find tutorials for Jetson Nano. Hoping to see and learn more.
@JetsonHacks
@JetsonHacks 5 жыл бұрын
I am glad you find the videos useful. Thanks for watching!
@satchelfrost6531
@satchelfrost6531 5 жыл бұрын
Hey btw, they sell acrylic cases for the jetson nano now. Just wanted to let you know in CASE you were interested.
@JetsonHacks
@JetsonHacks 5 жыл бұрын
Oh my, PUNishment. Thanks for watching!
@AltMarc
@AltMarc 5 жыл бұрын
or make your own case : kzbin.info/www/bejne/g4bPfKyIjpiojtE
@edsonlopez4134
@edsonlopez4134 5 жыл бұрын
Looking to work on a Xavier module. Great tutorial, man. I hope to see more videos coming soon because I need to learn to use it.
@robbyprust
@robbyprust 5 жыл бұрын
Very interesting, just getting my nano setup and will going through this . Been doing a lot with arduino but wanted something with a little more power and flexibility. Thanks for these videos they are being very helpfull
@Bwajster
@Bwajster 8 ай бұрын
What pins other than the two PWM pins (32 and 33) of the GPIO and the PWM pin of the J15 header be used for PWM resources on the jetson nano?
@JetsonHacks
@JetsonHacks 8 ай бұрын
I don't know. You should ask on the Jetson forums. If you need more PWM pins, you should be using a microcontroller or PWM board that can handle the real time signals required to generate the pulses. The Jetson operating system isn't great at real time control like that on the Nano.
@Bwajster
@Bwajster 8 ай бұрын
@@JetsonHacks I can connect an arduino to the nano, and use the PWM pins from the arduino right?
@JetsonHacks
@JetsonHacks 8 ай бұрын
@@Bwajster Yes.
@shubhamcyborg9218
@shubhamcyborg9218 5 жыл бұрын
Plz make servo ,stepper, dynamixel tutorial....that's we need most ....👷‍♂️😅
@JetsonHacks
@JetsonHacks 5 жыл бұрын
That's a pretty wide request, all of them are different depending on their use. Did you have a particular application in mind?
@shubhamcyborg9218
@shubhamcyborg9218 5 жыл бұрын
@@JetsonHacks thanks a lot for responding!!🤩 Yeah!! Actually I m trying to make object detection based pantilt project as u can see here m.kzbin.info/www/bejne/r37chmedgdKrb6c Now this network is processing on my PC , for robot applications we don't have board so far(affordable)....but now we have jetson nano which has computing power ...and dynamixel is super fast so that will be amazing.... It is top (head) part of my humanoid robot build project!! Again thank for responding 🤩🤩
@edithhealthcare4862
@edithhealthcare4862 5 жыл бұрын
@@shubhamcyborg9218 idea is amazing 👍👍👍but again dynamixel is not affordable 😂
@shubhamcyborg9218
@shubhamcyborg9218 5 жыл бұрын
@@edithhealthcare4862 that's right but I thing AX-12 model is affordable.....😎
@JetsonHacks
@JetsonHacks 5 жыл бұрын
The Dynamixel servos use RS-485. The easiest way to communicate with them is through a USB to RS-485 converter, such as the DYNAMIXEL U2D2. This is much different than hobby grade servos, which tend to use PWM.
@fgiraffe8751
@fgiraffe8751 5 жыл бұрын
Great video, my favorite so far thank you. Is there a C language library to access the GPIO pins like this, or would just accessing it via sysfs be the way to go?
@JetsonHacks
@JetsonHacks 5 жыл бұрын
You are welcome. Since kernel version 4.8 the sysfs interface is deprecated. You should use the character device instead. The recommended way is to use libgpiod which uses ioctl calls. Thanks for watching!
@timd7196
@timd7196 5 жыл бұрын
Excellent video, love the background and detail. Right now my project is stuck on getting UART communication between nano and emic2 (tts module) so I'm looking forward to your UART video! (Your website is super great too!)
@JetsonHacks
@JetsonHacks 5 жыл бұрын
Thank you for the kind words. UART can be a little tricky, hopefully we'll be able to figure it out. Thanks for watching!
@timd7196
@timd7196 5 жыл бұрын
@@JetsonHacks Getting UART to work on an ATMEGA controller was simple, but having to work through LinuxTegra4 on the nano makes it tricky indeed!
@JetsonHacks
@JetsonHacks 5 жыл бұрын
You do know that the emic2 is a 5V device and the Jetson Nano UART is 3.3V? Just as on a Raspberry Pi, you need some type of level converter to match them up.
@timd7196
@timd7196 5 жыл бұрын
@@JetsonHacks Ah, you're right. Looking at the data sheet again, I see that SIN is 3.3-5V but SOUT is 5V only. I have a 3V voltage regulator lying around perhaps that will do it. Thanks!
@SasteJugaad
@SasteJugaad 4 жыл бұрын
can i change any another pin to PWM pin. I want to add two l293d motor drivers with the gpio directly any solution for that. I am able to run the motors but i need pwm for speed control.
@JetsonHacks
@JetsonHacks 4 жыл бұрын
A recall that pins 32 and 33 are for PWM. For further information, please ask your question on the official NVIDIA Jetson Nano forum where a large group of developers and NVIDIA engineers share their experience.
@makersgeneration3739
@makersgeneration3739 5 жыл бұрын
Thanks for the video. That reminds me of electronics school and college, law of hom. I was eating that all day long. 😄😄😄
@JetsonHacks
@JetsonHacks 5 жыл бұрын
I think you'd be full after a single bite. But it is useful at times. Thanks for watching!
@onjofilms
@onjofilms 5 жыл бұрын
Love your intelligent videos.
@JetsonHacks
@JetsonHacks 5 жыл бұрын
Thank you for the kind words, and thanks for watching!
@Bwajster
@Bwajster 8 ай бұрын
Does the pwn pin of the j15 header on the jetson nano operate at 3.3V or 1.8V ?
@JetsonHacks
@JetsonHacks 8 ай бұрын
I believe it is 3.3V.
@boxedowl
@boxedowl 4 жыл бұрын
Awesome video! Thanks for posting.
@JetsonHacks
@JetsonHacks 4 жыл бұрын
You are welcome, thanks for watching!
@fpgamachine
@fpgamachine 4 жыл бұрын
Thank! Your videos are great!
@JetsonHacks
@JetsonHacks 4 жыл бұрын
Thank you for the kind words, and thanks for watching!
@thomascahill5963
@thomascahill5963 5 жыл бұрын
Hello, several questions: your link is to the Fluke 117 but I see you are using the 115, any reason in particular? Is the I max for the gpio 1mA? Did this info come from other Jetson devices? If you flip the E and C like for the 2N2222, will the magic smoke emerge? Well done video.
@JetsonHacks
@JetsonHacks 5 жыл бұрын
Thank you for the kind words. I think I just copied an older link from another article on the 117, I will update to the 15. NVIDIA general quotes 1mA for the pin current on the GPIO pins, but on some Jetsons that can be as little as 20 microA, depending on the wiring. I haven't gone through the schematics enough to have a full understanding. In general, you can think about these transistors as two diodes, the current only flows in one direction. However, I don't think people recommend reversing the wiring on them. It may let the magic smoke out, it may not. For inexpensive parts like this, it's hard to tell what the tolerance is for abuse. Thanks for watching!
@jesuscardona5184
@jesuscardona5184 5 жыл бұрын
You are the best. Thanks
@JetsonHacks
@JetsonHacks 5 жыл бұрын
No, YOU are the best! Thanks for watching!
@georgesmarkus
@georgesmarkus 5 жыл бұрын
Thank you, very nice intro
@JetsonHacks
@JetsonHacks 5 жыл бұрын
You are welcome, and thanks for watching!
@jerrycheng1466
@jerrycheng1466 5 жыл бұрын
great video, keep uploading !
@JetsonHacks
@JetsonHacks 5 жыл бұрын
Thank you, and thanks for watching!
@SasteJugaad
@SasteJugaad 4 жыл бұрын
I dont have jetson-io folder in my nanao. I dont want to reflash my nano again. Where can i find it. PLease help
@JetsonHacks
@JetsonHacks 4 жыл бұрын
jetson-gpio is available on Github. Thanks for watching!
@fredrichoerr6514
@fredrichoerr6514 4 жыл бұрын
you are just the best
@JetsonHacks
@JetsonHacks 4 жыл бұрын
Thank you for the kind words, and thanks for watching!
@ablasttv
@ablasttv 4 жыл бұрын
Your site is one of the main sources of this Pinout image, is it still valid for the upgraded B01 version of the Nano? Or only A02?
@JetsonHacks
@JetsonHacks 4 жыл бұрын
Both of the Jetson Nanos are the same pinout
@Bwajster
@Bwajster 6 ай бұрын
How to configure the pwn pins of the jetson nano to generate a trigger pulse with pulse width of 100mSec?
@JetsonHacks
@JetsonHacks 6 ай бұрын
Have you tried this: kzbin.info/www/bejne/m3rQdYRmhbuoaLssi=waa4G9WMbXr6nqvD
@juanpalaciosvargas7329
@juanpalaciosvargas7329 2 жыл бұрын
I'm trying to follow all the tutorial, but I couldn't put in "True" or "False" the GPIO pins. Is there any other kind of configuration I have to do before? Please, I'd like your answer. Moreover, I tried measuring voltage betwen the pins 2 and 6, but I got 0 volts with my voltimeter.
@JetsonHacks
@JetsonHacks 2 жыл бұрын
I don't know what "I couldn't put in True or False" means.
@juanpalaciosvargas7329
@juanpalaciosvargas7329 2 жыл бұрын
@@JetsonHacks I mean, I've tried to set the GPIO as digital output, but I couldn't set the GPIOs in True (1) or False (0).
@JetsonHacks
@JetsonHacks 2 жыл бұрын
@@juanpalaciosvargas7329 How are you attempting to set them? Do you have permissions set correctly? What circuit is attached to the pins?
@juanpalaciosvargas7329
@juanpalaciosvargas7329 2 жыл бұрын
@@JetsonHacks I follow this code: $ sudo su $ cat /sys/kernel/debug/gpio $ echo 79 > /sys/class/gpio/export $ cat /sys/kernel/debug/gpio $ echo out > /sys/class/gpio/gpio79/direction $ echo 1 > /sys/class/gpio/gpio79/value $ echo 0 > /sys/class/gpio/gpio79/value But, I haven't be able to activate the GPIOs. Even, I get no voltage between pins "5V" and "GND".
@gregoryM101
@gregoryM101 5 жыл бұрын
Good video, thanks. Would you consider doing an I2C video between a Jetson Nano and an Arduino? For example, a specific thing is detected in the camera feed and the coordinates of the object are sent to the Arduino for some type of action.
@Person_of_Intrest
@Person_of_Intrest 4 жыл бұрын
Hi, I have a RADAR Sensor module that goes to GPIO interface,is it similar way of connecting it like PIR?
@JetsonHacks
@JetsonHacks 4 жыл бұрын
It depends on the sensor module. Thanks for watching!
@maheshsingh2205
@maheshsingh2205 4 жыл бұрын
Thanks for the video, could you please paste the URL of the video on how to read a button input?, Thanks so much
@furkantoptan6767
@furkantoptan6767 Жыл бұрын
Hello.I am using nvidia jetson recomputer j1020.There is a Jetson nano inside. Jetson.GPIO or RPI.The GPIO does not work healthily.I'm constantly getting warnings like this, and the engine is not working.Warnings; (WARNING: Carrier board is not from a Jetson Developer Kit. WARNING: Jetson.GPIO library has not been verified with this carrier board, WARNING: and in fact is unlikely to work correctly.).Do you have any idea how I can start the engines?I would appreciate it if you could help.
@JetsonHacks
@JetsonHacks Жыл бұрын
Does the GPIO work at all? I don't know what "work healthily" means. Your best bet is to contact the manufacturer for the reComputer for help. The warnings only indicate that it is not a NVIDIA developer kit, and are not errors. You may be able to get help on the official NVIDIA Jetson Nano forum, where a large group of developers and NVIDIA engineers share their experience: forums.developer.nvidia.com/c/agx-autonomous-machines/jetson-embedded-systems/jetson-nano/76
@kdsbored
@kdsbored 4 жыл бұрын
Hey. I have a couple of dev kits. And now looking to test out nano’s production module. Will the dev kit reference carrier board work for flashing production module?
@JetsonHacks
@JetsonHacks 4 жыл бұрын
Hey. Yes. Thanks for watching.
@kdsbored
@kdsbored 4 жыл бұрын
@@JetsonHacks Wow you reply so fast. Is there any way to contact you by emails for more doubts? I am a student from india and new to jetson community. Thank you for helping.
@JetsonHacks
@JetsonHacks 4 жыл бұрын
@@kdsbored Please ask for help on the official NVIDIA Jetson forums, where a large group of developers and NVIDIA engineers share their experience. It is rare that I get to answer many of the questions asked. BTW, you will need a Jetson B01 developer kit (the one with two camera slots) to be able to flash your module.
@soumitradey8208
@soumitradey8208 5 жыл бұрын
Dear Sir Thanks so much for your knowledge sharing. I would like to learn on integrating rplidar with jetson nano and in turn controlling robot motors for a delivery robot. I followed every step shown by you on the racecar RPlidar and was successful in completing catkin make and RVIZ Am now lookinh how to make the robot move on a predefined mapping. So can you sir please guide further. I also read about the isaac SDK and carter robot. So can you have some series on autonmous robot with mapping from point A to B Once again sir you are great and thanks for teaching us. Regards
@adityajindal3813
@adityajindal3813 4 жыл бұрын
Hey Great Video!! I am trying to use mlx90614 sensor with Jetson nano. I can't detect it using sudo i2cdetect -r -y 1. I tried i2c bus0 also. Can u please help
@JetsonHacks
@JetsonHacks 4 жыл бұрын
You have not given enough information to help. Typically people would supply some type of wiring information, and the breakout board that they are using.
@AndrzejOlchawa
@AndrzejOlchawa 5 жыл бұрын
How would you connect a motion sensor or any other typical arduino sensors?
@JetsonHacks
@JetsonHacks 5 жыл бұрын
It depends on the sensor.
@robertparenton7470
@robertparenton7470 4 жыл бұрын
What would be neat is a music synthesizer on Jetson Nano.!
@robertparenton7470
@robertparenton7470 4 жыл бұрын
Thank You for all your videos!
@incharas2890
@incharas2890 5 жыл бұрын
can you share interfacing of ultrasonic sensor to jetson nano?
@rickhunt3183
@rickhunt3183 4 жыл бұрын
While this looks simple and useless to some. This one thing can open up a whole new world for physical programing. The led could easily be replaced with a relay. I'm not going to steal your thunder, but what I do for finding the led resister value is.. supply voltage - led voltage divided by the required current = the required resistor. Maybe you did the same thing. I don't know. I couldn't see the calculation very well do to a small screen..Peace out dude and keep on rock n .
@JetsonHacks
@JetsonHacks 4 жыл бұрын
That's about right. As explained in the video and the attached article, it's the forward voltage and current of the LED: (voltage - forward voltage)/forward current. This is (5-2)V/.020A = 150 ohms. Thanks for watching!
@kvnptl4400
@kvnptl4400 5 жыл бұрын
When will you post next video? It's been a long time... Waiting for your video :)
@5doublebass
@5doublebass 7 ай бұрын
Trying this on an Orin Nano i get a 'no such file or directory' error when trying to add pin 79 to the list
@JetsonHacks
@JetsonHacks 7 ай бұрын
The video is about a Jetson Nano, not Orin Nano. The pin numbers are different.
@asyuwish4309
@asyuwish4309 5 жыл бұрын
does jetson nano and raspberry pi are both the same the way they can be program using python? thanksss
@JetsonHacks
@JetsonHacks 5 жыл бұрын
Both the Jetson Nano and RPi share the same pinout. The Jetson.GPIO and RPi.GPIO Python libraries are compatible except for PWM. The RPi has PWM accessible PWM, the Nano does not. Thanks for watching!
@billfield8300
@billfield8300 4 жыл бұрын
Hi Jim. Thanks for the great videos. You (or anyone) wouldn't happen to know how much power I can draw off the USB ports would you?
@JetsonHacks
@JetsonHacks 4 жыл бұрын
I do not know, it's worth checking on the official NVIDIA Jetson Nano forum. A USB 3.0 port allows for a draw of 900mA. I don't know how they power the USB ports whether it's 4x900mA or 900mA total draw. Since the dev board can only have 5A max power, it seems unlikely that the USB ports can draw 3.6A by themselves. But I'm not absolutely certain. Thanks for watching!
@billfield8300
@billfield8300 4 жыл бұрын
@@JetsonHacks Yeah, I checked the nvidia web-page and manual but didn't find anything. I'll check the forum. Thanks.
@ombheda2124
@ombheda2124 4 жыл бұрын
what would happen if the bjt was not in the picture ?? the led wouldn't turn on???
@JetsonHacks
@JetsonHacks 4 жыл бұрын
Depends on what LED you are using. This one faintly lights up. Thanks for watching!
@ombheda2124
@ombheda2124 4 жыл бұрын
Thank you for clearing out and making it so easy to understand for beginners 👍🏼👍🏼
@JetsonHacks
@JetsonHacks 4 жыл бұрын
@@ombheda2124 You are welcome, and thanks for watching!
@bayyasag9829
@bayyasag9829 5 жыл бұрын
Hello. I want to build a fpv system with nano. i will use image processing with nano. and i want to tansmit it. How can i do that?
@JetsonHacks
@JetsonHacks 5 жыл бұрын
There are a lot of questions there. Please ask them on the official NVIDIA Jetson Nano forum where a large group of developers can help answer them. Thanks for watching!
@reynardting9648
@reynardting9648 5 жыл бұрын
Can we run buzzer using gpio pin and ig yes how? Thanks
@JetsonHacks
@JetsonHacks 5 жыл бұрын
I don't know what you mean by buzzer.
@reynardting9648
@reynardting9648 5 жыл бұрын
@@JetsonHacks means instead of using the gpio to light up the led we use the gpio to ring the buzzer. Because i tried it but the buzzer wong buzz
@JetsonHacks
@JetsonHacks 5 жыл бұрын
@UCoFFspeF0i0tyeJ28Z3-k8Q I don't know what "the buzzer" means.
@reynardting9648
@reynardting9648 5 жыл бұрын
@@JetsonHacks A buzzer or beeper is an audio signalling device, which may be mechanical, electromechanical, or piezoelectric. Typical uses of buzzers and beepers include alarm devices, timers,
@reynardting9648
@reynardting9648 5 жыл бұрын
As i wanted to make the buzzer ring when a signal from the gpio pin is given
@bondigor4519
@bondigor4519 4 жыл бұрын
Can I use BME280 on Jetson nano ?
@JetsonHacks
@JetsonHacks 4 жыл бұрын
You should be able to.
@bondigor4519
@bondigor4519 4 жыл бұрын
@@JetsonHacks Do you know how?
@JetsonHacks
@JetsonHacks 4 жыл бұрын
@@bondigor4519 You can use Adafruits CircuitPython tutorial and code.
@bondigor4519
@bondigor4519 4 жыл бұрын
@@JetsonHacks I'll try. Thank You!!
@pauladdai4392
@pauladdai4392 5 жыл бұрын
Please any C++ library?
@JetsonHacks
@JetsonHacks 5 жыл бұрын
Please ask your question on the official NVIDIA Jetson forums, where a large group of developers and NVIDIA engineers share their experience.
@sdr3059
@sdr3059 5 жыл бұрын
How to run the python script file automatically in startup
@JetsonHacks
@JetsonHacks 5 жыл бұрын
This is a general purpose question, best asked on the NVIDia Jetson Nano Developers forum. Thanks for watching!
Jetbot Neural Network Based Collision Avoidance
7:50
Zack's Lab
Рет қаралды 74 М.
Jetson Nano I2C PWM Servo Motors
13:00
JetsonHacks
Рет қаралды 43 М.
When Cucumbers Meet PVC Pipe The Results Are Wild! 🤭
00:44
Crafty Buddy
Рет қаралды 61 МЛН
А я думаю что за звук такой знакомый? 😂😂😂
00:15
Денис Кукояка
Рет қаралды 5 МЛН
How This Missing Shell Option Took Down Cloudflare
9:45
Kevin Fang
Рет қаралды 575
Real-Time Object Detection in 10 Lines of Python Code on Jetson Nano
26:18
NVIDIA JetBot: Jetson Nano Vision-Controlled AI Robot
16:44
ExplainingComputers
Рет қаралды 193 М.
UART on GPIO HEADER - Jetson Nano
13:37
JetsonHacks
Рет қаралды 28 М.
The "Impossible Torpedo" was real
16:33
Steve Mould
Рет қаралды 20 М.
Jetson Nano - Run On USB Drive
12:05
JetsonHacks
Рет қаралды 37 М.
JETSON NANO + RASPBERRY PI CAMERA
8:25
JetsonHacks
Рет қаралды 185 М.
JetsonNano - Serial Console
7:22
JetsonHacks
Рет қаралды 26 М.
When Cucumbers Meet PVC Pipe The Results Are Wild! 🤭
00:44
Crafty Buddy
Рет қаралды 61 МЛН