8 SERVO 06.2015
I was certain that this could not be the true
performance of the uCAM II camera, so I dug deeper and
discussed my problems with the quite responsive tech
support team at 4D Systems. After testing wires,
interference, and various baud rates, it became apparent
that the problem was with baud rate error compatibilities
between the PIC32/MPIDE
compiler environment and the
I do not have the final
confirmed “perfect” baud table
for this PIC32 environment yet
(I am working on it), but have
confirmed that the uCAM II
camera is ideally tweaked to
work at a number of baud
rates (some over 3 Mbps)
when used with the
USB/VCOM converter cable.
However, not so much with the
PIC32 UART divider registers.
Meticulous (and boring)
experimentation found that the
highest reliable baud rate I can
get to automatically be
detected by the uCAM II is
908500 bps. That is nearly a
megabit per second.
I get a decent 16-bit color
image at 1.3 frames per
second using a 128x128
image, and 3. 6 frames per
second using an 80x60 image.
The 1.3 fps rate is unusable in a robot for any
reasonable navigation or (ahem) targeting system, but the
3. 6 fps rate can be used in some projects. I tried using the
eight-bit gray scale format ( 4. 3 fps) as well, but was unable
to reasonably convert the Cr YCb Y format to my graphics
by Dennis Clark
Our resident expert on all things robotic is merely an email away.
Tap into the sum of allhumanknowledge and get your questions answered
here! From software algorithms to material selection, Mr. Roboto strives
to meet you where you are — and what more would you expect from a
complex service droid?
Ask Mr. Roboto
n spite of my ADHD tendencies, I do on occasion fixate on a project until it is
perfected. This month marks the third article I am going to do on the 4D
Systems’ uCAM II video/picture camera. In the first article, I showed code to run
this camera on a Digilent MAX32 board with a (obsolete) NCK Electronics 1.8"
color LCD display. (I still say it’s a pity he doesn't make that shield anymore.) I
complained about the poor image quality, and wondered if it was the display or the
camera. In my second article, I used a 4D Systems Picadillo, which used the Digilent
bootloader and MPIDE "Arduino-ish" system syntax. Again, I complained about image quality
and surmised that it must be the camera since two different graphics platforms had the