Asked
Resolved Resolved by DJ Sures!

USB Connection To EZB V4

OK guys I have another question for everyone can you use the UART on the EZB V4 to connect to a USB rather than the camera port?

I want to hardwire my EZB's to my onboard PC but I also want to use my ez-robot camera with one of my EZB V4.


Related Hardware EZ-B v4

ARC Pro

Upgrade to ARC Pro

Discover the limitless potential of robot programming with Synthiam ARC Pro – where innovation and creativity meet seamlessly.

PRO
Synthiam
#25  

I can't find a video connecting a camera to the IoTiny, but here's a picture of where it connects (labeled Camera). The EZ-Robot EZB v4 also has a similar camera port, which I believe you know because you're using that for USB PC connectivity. The IoTiny camera port doesn't do USB connectivity because of some hardware limitations.

User-inserted image

#27  

Quote:

You can connect any of the EZ-Robot cameras to the iotiny. There's a camera port on the IoTiny to connect their cameras. If that's all you need, connect the camera to the IoTiny. The information I provided above is to help identify the RTS lines to ensure that isn't trouble during your and Jeremie's hack attempts with the EZ-Robot camera.

But you're also asking about connecting the camera to UART on a PC. To clarify... Do you want the camera connected to the IoTiny or the PC directly? Because EZ-Robot cameras were made to directly connect to their EZBs (IoTiny and EZB v4). If that's all that is needed, then it's good to go.

If the camera needs to be connected to the PC USB and not the IoTiny, the information I provided above will help. Realistically, since the challenge is not being able to hack something outside of its intended purpose, I'd buy a $10 USB camera from Amazon and call it a day, lol.:)

OK I am sorry I was not making myself clear.   I know how to connect the camera to the IoTiny and that works ok with the IoTiny connected by wifi.  To improve performance I want to a wired connection to my LattePanda's USB2 port using a TTL and EZB Camera rather then purchasing another USB camera.  I hope that clears things up.  Thank you for the link to the USB camera!

PRO
Synthiam
#28  

Ah, okay - so back on the EZ-Robot camera to USB. So if that's the case, then the information I had provided was about the RTS pin because the camera will not transmit unless the RTS is low.

But as Jeremie pointed out, while the EZ-Robot camera is UART and will work with a USB adapter, it is 3,333,333 bps. Most USB UART adapters might not support that speed. The thing is, with the massive number of USB cameras, the EZ-Robot camera was never designed to be connected by USB. It's a camera UART intended for the EZ-Robot EZB v4 and IoTiny. Your hack "might" get it to work if you can find a UART USB adapter that supports 3,333,333 bps.

But I think you'll be better off with that USB camera.:D

#29  

OK DJ another question if it was you would you use the IoTiny and camera over a wifi connection to ARC or a USB camera connected to the LattePanda?

PRO
Synthiam
#30   — Edited

Usb all the way. I’m not one to hack something when there’s a perfectly good component meant for the job. I value my time to be building and programming.

I wouldn’t use an iotiny either. Because it doesn’t have usb capability.

id just use the ezb v4s. And if I needed a small controller for the head, I’d probably use an ardunio or maestro from polulu now that there’s a skill for it.

you can get a polulu maestro that does 6 8 12 or 24 servos etc.

oh ps, I shouldn’t add that another reason to use usb camera. It means one less thing to diagnose. If something goes wrong, it’s nice to know you won’t have to worry about the hack job on the camera. All the little things add up when stuff doesn’t go right haha

#31  

Ok DJ I here you I will be ordering a USB camera and I will save the IOTiny for another build.

I am going to use the LattePanda in the head and the EZB4 for the rest of the build.  I may use something else.  For the hands but I need to get to that point in the build.   I really would like to develop a better hand for my build if I can that may require more servos then the current design.

DJ I also really appreciate all your feedback and wanted to make sure I thanked you.

PRO
Synthiam
#32  

Anytime. I am curious with Jeremie’s findings. I remember him and I did it before with our inmoov and an ezrobot camera. He had to find a uart usb that worked for high speed.

although you could make your own with an stm32 lol

actually an arduino could do it if it has hardware uart. An esp32 for sure cause it’s based on stm32