With the option to use the EZB in serial to USB you lose the option for the camera since the connections use the camera port. Is it possible to add another EZB like the IO Tiny to connect the camera too, then hard wire both EZBs together? I can't use Wi-Fi on either EZB.
There is a very specific reason I want to use the EZB camera and not a usb webcam, but i still need the EZB wired to the computer.
Edit: Please visit post #37 for the update on the usb/serial cable I used, new wiring diagram and notes
Asked
— Edited
Please connect TX to RX
Please connect RX to TX
I would recommend trying your camera with the ez-b to ensure it still works after providing it 5v. It may be damaged.
Next, you can specify the baud rate of 3,333,333 in the Serial Terminal (PC) to verify that data is indeed being transmitted to the computer over the USB UART cable.
Terminal shows a connection at 3,333,333. I changed computers and cameras to make sure com ports working and camera working. I'm now on com 3:
On New computer and camera I get this error:
Camera Initialized: COM3 @ 320x240
UART Camera Error: System.UnauthorizedAccessException: Access to the port 'com3' is denied.
at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)
at System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)
at System.IO.Ports.SerialPort.Open()
at EZ_B.UARTVideo.MjorDt1ipt(Int32 , Object )
Camera Disabled
Thank you for hanging in there with me.
Please not DO NOT cross the TX and the RX, the wiring diagram from China is incorrect. Please connect TX to TX and RX to RX.
Do not use the 5 volts from the cable but rather connect 3.3v and ground from the EZB using the regulated 3.3v on the Analog ports. also connect a ground from the EZB to RTC.
Link to PL2303HXD from amazon: PL2303HXD
Maybe not enough buffer after all?!?
So I’m guessing it’s noise on the signal line
I finally tried going back to the old ez double board cameras and I get less full frame glitches. But still glitchy.
Finally I noticed the pop up from below as I had not checked always show and here are constant error messages I am getting.
I believe yours is a little higher end so I assume it's probably good. You followed DJ's suggestions which were good ones to rule out the most common hardware interference.
Aiming for less common now, I'd probably want to check the solder joints of the UART cable to the camera and maybe try a different cable or different wires to rule out a bad wire/connections.
Software side what helped my Omron UART latency also was a tip (Omron) had for going into the Windows Device Manager for the virtual COM port of the UART and then Advanced settings and then under Latency Timer, setting the value to less than 16 because it might improve performance. But adjusting it lower is an incremental playing game, because going too low can disrupt other things. Think of it like tuning in an old radio station, starting at 16, then 15, then 14, etc to see if the interference goes away.