Problem with the SparkFun JetBot AI Kit v2.0

Here is the link where I bought the JetBot AI Kit for a school project: https://www.sparkfun.com/products/16390

I am running into some problem with getting the camera working after following all the steps in the tutorial. After installing all the parts following the tutorial and running the sample code, it works to control the basic movement like moving forward and backward and turning. However, it fails to recognize the camera. One of my other team members also purchased the same kit and he is able to get the camera working. From that, I double-check with him on the connection of the wire and it all seems correct. Any suggestion on what could be the problem or is it the Jetson Nano that is being faulty?

Also, there is another minor issue with the camera holder. The hole for the screw is a bit off for the holder, which unable to put a screw into it to keep the camera into the right place with the other parts. My team member who also bought the kit has the same problem.

Can you post a picture of your camera module?

Here is the picture of the camera module connecting to Nano

My apologies. Can you get a close up photo of the full camera module so I can see the whole board and components?

Please also flip the ribbon cable that is inserted into the Nano, it might be inserted backwards.

Sorry, here is a picture of the overall connection to Nano

Here is the picture of the camera module closer. Do you need me to unscrew it from the holder?

I also tried to flip it but seem like it is still not working correctly.

The camera could have been damaged from being plugged in incorrectly.

This is my friend kit with attach of the camera module, and this is how I connected in the beginning and the nano seems to be unable to see the camera. That is why I believe there maybe a problem with Nano. Is there an easy wat to test is the camera functional?

Actually, can the camera also work on raspberry pi? If it does, can I use a raspberry pi to test it?

I believe the camera is inserted into the Nano backwards. Please see our Hookup Guide for reference: https://learn.sparkfun.com/tutorials/as … in-chassis

https://cdn.sparkfun.com/r/600-600/asse … ial-08.jpg

I do not have confirmation if the camera is compatible with the Raspberry Pi. I would advise against using that as a test method.

I also face one more problem with the Nano. I can connect to Jupiter Lab when directly controlling using Nano. However, when I use other devices that connected to the same wifi as Nano, I cannot use http://<jetbot_ip_address>:8888 to view Jupiter Lab. Can anyone point out some of the possibilities and how to debug this problem?

“Attach the Leopard Imaging camera ribbon cable to the Jetson Nano Dev Kit’s front-most camera connector. Ensure that the ribbon cable contacts are pointing towards the heatsink on Jetson Nano. Please see below for a photo of a proper option to connect the ribbon cable.”

Above is the instruction of the camera module connected with Nano and the picture come with it. The picture before and after it is not consistent with it.

But the picture that my friend kit have able to get the camera working, which that is why I believe that is the right way to connect it. And I am sure my ribbon cable contacts are pointing towards the heatsink on Jetson Nano

Here is a pic I disconnect the camera ribbon cable

My apologies. There were conflicting photos in the Hookup Guide and our internal teams have been notified. I’ll PM you with more details.

I just received the new camera yesterday and plugged it into the Jetson Nano carefully. However, when I test the camera with the sample code that is in Jetson Nano, it still gives me the error. I am currently suspecting it is not the camera fault but it is the Jetson Nano hardware fault. Here I attach the error code I received. Is there any suggestion on what I can do now?


RuntimeError Traceback (most recent call last)

/usr/local/lib/python3.6/dist-packages/jetbot-0.3.0-py3.6.egg/jetbot/camera.py in init(self, *args, **kwargs)

29 if not re:

—> 30 raise RuntimeError(‘Could not read image from camera.’)

31

RuntimeError: Could not read image from camera.

During handling of the above exception, another exception occurred:

RuntimeError Traceback (most recent call last)

in

1 from jetbot import Camera

2

----> 3 camera = Camera.instance()

/usr/local/lib/python3.6/dist-packages/traitlets/config/configurable.py in instance(cls, *args, **kwargs)

508 # Create and save the instance

509 if cls._instance is None:

→ 510 inst = cls(*args, **kwargs)

511 # Now make sure that the instance will also be returned by

512 # parent classes’ _instance attribute.

/usr/local/lib/python3.6/dist-packages/jetbot-0.3.0-py3.6.egg/jetbot/camera.py in init(self, *args, **kwargs)

35 self.stop()

36 raise RuntimeError(

—> 37 ‘Could not initialize camera. Please see error trace.’)

38

39 atexit.register(self.stop)

RuntimeError: Could not initialize camera. Please see error trace.