![]() |
Serial Port Not Finding Pixy Camera
We are trying to use the Pixy camera for vision targeting. We have it hooked up to the USB Port on the RoboRio. However we keep on getting the same error when we create the Serial Port object.
Code:
java.lang.RuntimeException: Code: -1123. HAL: The specified serial port device was not found |
Re: Serial Port Not Finding Pixy Camera
Quote:
|
Re: Serial Port Not Finding Pixy Camera
The web dashboard shows three other things on the list:
1. CAN Interface 2.Pixy 3.Pixy |
Re: Serial Port Not Finding Pixy Camera
Quote:
|
Re: Serial Port Not Finding Pixy Camera
So doing some research, and the Pixy is not a USB serial device. It's USB connection uses a custom app to talk to the device. So that is why it is not working. However, you should be able to hook up the uart on the expansion connector to the roborio uart on the MXP, then use the MXP setting for the wpilib serial port. Note do not try to hook up to the RS-232 port on the roboRIO, as this will break the Pixy.
|
Re: Serial Port Not Finding Pixy Camera
Ok! I will try that later when we have our meeting. Thank you!
|
Re: Serial Port Not Finding Pixy Camera
Ok, I talked to the team today and We have two questions:
1: What cable would we use to hook it up to the MXP Port? 2: Could we use the NVIDIA Jetson? |
Re: Serial Port Not Finding Pixy Camera
Quote:
|
Re: Serial Port Not Finding Pixy Camera
Please share !!! i will be the next one asking as soon as my dev environemnt is setup....
|
Re: Serial Port Not Finding Pixy Camera
I'm guessing this might be code Xanawatt is referring to?
https://github.com/Xanawatt/PixyI2C Just a guess.. :) I'd like to see more info how you or anyone else actually connected the pixy to the hw. Wiring info and/or pics of what you did would be really helpful. We are trying to figure out which method to use to connect pixy to roborio. I think our choices are(in order of preference) i2c, uart serial, or plain ol analog/digital. Related, i also found a few repos that contained what looks like uart serial code. This is just one example: https://github.com/Zero2848/PixyCamTest |
| All times are GMT -5. The time now is 12:33. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi