NVIDIA-AI-IOT / jetbot

An educational AI robot based on NVIDIA Jetson Nano.
MIT License
3k stars 1.02k forks source link

TimeoutError: [Errno 110] Connection timed out" error using Adafruit Jetbot #486

Closed Taitan2010 closed 2 years ago

Taitan2010 commented 2 years ago

What I want to solve:

I want to initialize a Robot class instance with Jetbot.I want to initialize a Robot class instance with Jetbot.

I'm making a Jetbot with NVIDIA's Jetson Nano. I created the hardware and installed the software according to the GitHub manual. The motor driver is "DC Motor + Stepper Featherwin GA: 2927" of Adaftuit. The following error occurs when handling a Basic Motion program with Collision Avoidance in Jupyter Notebook. Please let me know the solution.

Problems / errors that are occurring

無題

What I have already checked

  1. Jetbot appli.: No problem. Collision Avoidance Train Model was completed.
  2. Motion of the motor itself. : Work when connecting battery directly.
  3. Power supply to motor driver: Always Green lights
  4. Camera (other kernel): No problem. Data Collection of Collision Avoidance is completed
  5. The PiOLED display: Did not show anything. So I removed this display and connected the Jetson Nano with the Motor Driver directly.
  6. i2cdetect command: The result is as follows. There seems to be something wrong with i2c communication but camera is working. jetbot@jetson-4-3:~$ sudo i2cdetect -y -r 1 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --
santaimpersonator commented 2 years ago

You probably have a wiring issue with the I2C connection, since the OLED and motor driver don't show up; make sure you don't have your SDA and SCL lines mixed up. Also, (from what I can recall) the camera doesn't show up on that I2C bus.

Usimian commented 2 years ago

You can try hooking up the pioled to the other I2c port. I have a Nano that has a bad I2c bus 0 but everything else including bus 1 works fine. They’re sensitive to mis-wiring.