Connecting CMUCam3 to the bot board 2

Hi all, I have another question.

I have a CMUcam 3 and I need to connect it to my bot board (mostly for the numerous serial ports I also have access to other boards if anyone knows about them**).

I have read:
lynxmotion.com/images/html/build160.htm
and:
viewtopic.php?f=4&t=3718
and:
seattlerobotics.com/CMUcam3_datasheet.pdf

extensivly, but I cannot find my problem.

I have connected pin 15 on the bot board to Logic in on the CMUcam per its data sheet (page 6).
I have connected pin 14 on the bot board to Logic out on the CMUcam.
I have connected ground pin 15 on the bot board to ground on the CMUcam (next to Logic In).

I have none of the Vs-5V jumpers in place on the bot board. I have the VS-VL jumper on the bot board.

And for some reason the bot board turns on when the camera is powered! The camera is plugged into the wall with the power pack that came included with it.

I am going to upload some pictures tonight that may be able to help clarify. The problem

The overall problem isn’t that the camera is able to power the bb2 (should it?) But that I can’t get any communication from the bot board to the cmucam2, when I run the xrover01.bas (after converting it to cmucam3 commands (HR 1)) I don’t get the 2nd jingle.

Thanks for any help. This is quite a mess.

** I can use any of the following, they are nice boards, but I need 5 serial ports that afaik only the bot board has.
analog.com/static/imported-f … _final.pdf
kanecomputing.co.uk/spectrum … er_kit.htm
ti davinci board

Have you removed the serial jumper on the CMU board?
And yes pics would be good.
Also on the bot board do you have the wires from the Cam connected to the inner most pins on P15 and P14 of the bot board.
Ground being the outside pins.

Hi, here are the files. I’m not at the lab right now so I’ll get back to you on those questions in an hour or two.




Yes I have removed the serial jumper, but I’ve tried it both ways, and it doesn’t work.

And yes the pins on p15 and p14 are on the inner most. I have one on ground p15 (outermost) and none on the middle ones.

Yes I see that now on your pics…what I don’t understand is why your ABB is powering up unless your getting some kind of power loop back through the serial port from the PC and then in turn would go through the CMU TTL serial and of course this would mess things up. Just another question why do you have the power in to the ABB going through an LED?

For process of elimination I would remove the VL/VS jumper on the Bot Board ( your not using any servo’s just now ) and apply 9 Volt battery to the VL input for the ABB, You should get a green power light. Also your program for the ABB should set the in/out serial for pin 14/15 on the bot board.

Is that a 4 pin connector with 3 wires to the CMU, the pics are a bit fuzzy.

for the first question on the power, I think I may have an answer. I know it isn’t getting power from the PC, because it turns on without being connected with that serial port. But look at this:

cmucam.org/wiki/hardware-serial

differs from:

seattlerobotics.com/CMUcam3_datasheet.pdf (page 6)

I was using the datasheet and it looks like I was connecting power because according to the first schematic the pins are all swapped around… :neutral_face:
Do you know which ones are right??

As for the other questions:

The reason I am powering through an LED is because the battery voltage isn’t the 6V exactly that the botboard wants so to make it closer I put the led in there.

I am sure that the xrover01.bas does put input/output on pins 14-15.

the wire to the CMU is a little bit hacked together. It is a 3 pin wire (and connector). But they have been swapped around to fit the different configurations as per the datasheet (which appears to be wrong now…).

If the cam you have is a CMU-3 then I would stick with the second link for that board.

Like I mentioned remove the led, remove the jumper VS/VL apply up to 9Volts on the ABB VL connector ( it will automaticly regulate the 5 Volts required for the ABB )

As for the xrover01.bas it can’t just set them up for in/out it must set them up as serial in/out there is a big difference.

Double check the serial in/out be sure that CMU out is connected to ABB serial in and CMU in is connected to ABB serial out.

Also ground wire from ABB pin to CMU3 pin

Test with a volt meter and see if the +3.3 volts is present on the CMU3 board you can see which pin on the diagram.

I did test it and it turns out that the datasheet is wrong!

I’ll do some tests with the other schematic. I can’t believe their datasheet is wrong…

That’s why I suggested checking the voltage, one data sheet shows that the voltage will be +3.3volts and the other show’s it at +5volts when you know this you will know which data sheet to follow and if you have a CMU3 or a CMU2 or 1.

Ok I think that the incorrect wiring was causing my problem. I’ll post more solution later after I have done more testing, but now I have a new problem with my bluesmirf.

Let me know what your wiring issue was, I’m interested in the CMU3 but have not purchased one yet.

I have a Blue SMiRF so I may be able to help.

And it would be good to document a “FIX” here for others as well. (I almost bought one).

Alan KM6VV