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

Experience the transformation – subscribe to Synthiam ARC Pro and watch your robot evolve into a marvel of innovation and intelligence.

PRO
Canada
#49   — Edited

Lol, that’s what I meant. EX: I sent U and got back UU. RX and TX were jumpered

PRO
Synthiam
#50   — Edited

K that would be a remote echo - even though there's no remote host but it's going through the wire. If Local Echo is checked in the terminal program, that means just display the character that were typed back to the user. Terminals used to need that option because back in the day different services/bbs may or may not echo the character back at you. So you'd have to turn it on or off in software... or you get douubbllee kkeeyy ssttrrookkeess!!

And you saw UU because the first U was yours, cause local echo was checked. The second U would have been from the wire.

User-inserted image

PRO
Canada
#51   — Edited

Sorry man, I understand how it works I guess I used the wrong terminology.

PRO
Synthiam
#52  

Do you have the rts connected? Also - does the led flicker? I think it flickers with every packet or something. So if it's not flickering then it isn't sending. The camera won't send unless the rts is held low.

PRO
Canada
#53  

Yeah I held the camera side RTS low, and swapped TX/RX back and forth just to make sure I didn’t get it wrong. I also provided 3.3V and GND to the correct pins. I’ll look at it more tonight or tomorrow.

PRO
Synthiam
#54  

Hmmmm. Check with the camera on an ezb and see if the led blinks. That will let you know if you can see if it’s transmitting

PRO
Canada
#55  

Well, I am at a loss. I have tried the following but I can't seem to get the camera to communicate over the USB-TTL adapter:

  • Confirmed PL2303TA USB-TTL adapter is rated to a maximum 6Mbaud of communication speed
  • Confirmed that the USB-TTL adapter is working using remote echo
  • LED on the camera is on but doesn't blink, this is normal for V2 camera, I believe only the Camera v1 blinked during communication
  • I confirmed that the camera does work by connecting it directly to an EZ-Bv4, double-checked the LED was solid while working
  • Tried multiple V2 cameras with different firmware versions (Green LED versus Blue)
  • Tried swapping TX/RX in case of mislabelling
  • Tried tying RTS and CTS to GND in separate tests
  • Tried lowering the communication speed (COM4:115200) but it didn't have an effect

Here are the two errors I get depending on which way TX/RX are connected:

User-inserted image

User-inserted image

@DJ any ideas?

PRO
Synthiam
#56  

The first msg implies that the tx and rx are wired correctly. But the message appears that it’s missing the header. So either

  1. the baudrate isn’t supported and the data is unreadable and garbled

  2. there’s too many missing because the converter can’t keep up so the packets and the header can’t be found. or there’s too much noise on the line. Although you’d think at least one header would be detected