Society of Robots - Robot Forum

Software => Software => Topic started by: Shiftyx10 on December 19, 2013, 01:53:13 PM

Title: Cmucam4 to Axon2 Uart0 to Uart1 to computer
Post by: Shiftyx10 on December 19, 2013, 01:53:13 PM
I am trying to find out if its possible to run the data receive from a CMUCam4 through its serial port to the AXON2 UART0 and then output through UART1 to view it through a program such as hyperterminal on the computer.
Title: Re: Cmucam4 to Axon2 Uart0 to Uart1 to computer
Post by: Admin on December 19, 2013, 10:55:08 PM
Yeap it's possible.

In software, read each bit in one UART (bit by bit), then print it out in the USB UART (bit by bit).

You are basically converting the Axon into a serial to USB adapter by doing this.
Title: Re: Cmucam4 to Axon2 Uart0 to Uart1 to computer
Post by: Shiftyx10 on December 20, 2013, 05:59:32 AM
Thank you, one more question to the forum, the CmuCam4 has its own pan and tilt built into it. Would the Axon2 be able to read the servo position of the pan and tilt system to drive other servos to the same position or would the pan and tilt system have to be ran directly from the Axon for this to work.
Title: Re: Cmucam4 to Axon2 Uart0 to Uart1 to computer
Post by: Admin on December 20, 2013, 06:28:55 AM
It will be easier to just run the pan/tilt from the Axon itself.

Otherwise you need to reprogram the camera to send the angle data by UART. The documentation says it's fully re-programmable.