Author Topic: Cmucam4 to Axon2 Uart0 to Uart1 to computer  (Read 2147 times)

0 Members and 1 Guest are viewing this topic.

Offline Shiftyx10Topic starter

  • Beginner
  • *
  • Posts: 2
  • Helpful? 0
Cmucam4 to Axon2 Uart0 to Uart1 to computer
« 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.

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: Cmucam4 to Axon2 Uart0 to Uart1 to computer
« Reply #1 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.

Offline Shiftyx10Topic starter

  • Beginner
  • *
  • Posts: 2
  • Helpful? 0
Re: Cmucam4 to Axon2 Uart0 to Uart1 to computer
« Reply #2 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.

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: Cmucam4 to Axon2 Uart0 to Uart1 to computer
« Reply #3 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.

 


Get Your Ad Here

data_list