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

Subscribe to ARC Pro, and your robot will become a canvas for your imagination, limited only by your creativity.

#9  

Yes the camera device skill sees the the comport.

PRO
Synthiam
#10  

Just make sure the rx is connected to tx and vice versa

#11  

Well DJ, I tried again today no luck I will reach out to EZ-Robot and see if they can help.  I have tried two different USB/TTL's both windows device manager seems to think are working and using the correct drivers.  I have ordered the JSP-PH connectors and will make a cable and try these USB/TTL's on the EZB V4 to the LattePanda maybe they are bad.

Part of the issue is I am MAC user and only use windows at work where we have no access to really do anything with windows setting and such. So some of my issues is my lack of Windows knowledge.  Also just as an FYI if you take a good look at the pictures on the link you sent me they are using the wrong pins on the camera cable based on the port pin outs on the EZB and don't have the TX/RX reversed on the TTL. https://www.ez-robot.com/learn-robotics-serial-usb-connectivity-ezb-smart-robot-controller-and-iotiny.html

PRO
Synthiam
#12   — Edited

The tx and RX need to be reversed. Transmit sends to receive. Receive receives from transmitting. That link demonstrates how to connect an EZB to a USB UART, not a camera. But it's the same idea - however, because the cable is on the opposite side, the wires will be reversed.

Check your device manager and make sure the USB UART devices don’t have yellow marks beside them. Sometimes they need a driver even though they show as com ports.

I've followed that tutorial for all of my ezb uart connections, and they work fine. Recheck the link. You need tx connected to RX. And RX connected to tx. And gnd. You always need a gnd, so the device's voltage has a reference.

PRO
Synthiam
#13  

Here, this might make more sense to you to see that they are not backward and the documentation is correct. I created this image for you using photoshop and the available photos from the links.

User-inserted image

PRO
Synthiam
#14   — Edited

Or maybe this one makes even more sense because I put the connectors on both sides.

User-inserted image

#15   — Edited

The second picture would be correct if that was how shown.  I was looking at it as the cable being plugged into the EZB which would make it backwards. Because in my case the camera was hooked to the other end already.  In these pictures the RX/TX are also not reversed even the picture they showed of the TTL does not have them reversed.  I guess my point is the connection info just was not clear on that page to me.  But then again I am not the sharpest tool in the shed.  LOL

PRO
Synthiam
#16  

Yeah i agree - the context on their page is a little misleading. If they had a diagram like i photoshopped, it would make more sense.