Author Topic: Axon uart programming question  (Read 3189 times)

0 Members and 1 Guest are viewing this topic.

Offline CornelamTopic starter

  • Jr. Member
  • **
  • Posts: 24
  • Helpful? 0
  • I can smell a robot from a mile away
Axon uart programming question
« on: October 01, 2008, 04:13:49 AM »
I have a UART camera ( http://www.electronics123.com/s.nl/it.A/id.2027/.f?sc=8&category=207684 ) and i wish to transfer the video from the camera to the computer through the Axon. More exactly the camera is at Uart2 and i want to transfer the images to the computer . Is there any function so i can read data streams not only bytes? Also are there any string processing functions?
Thanks in Advance!!!

Offline pomprocker

  • Supreme Robot
  • *****
  • Posts: 1,430
  • Helpful? 16
  • Sorry miss, I was giving myself an oil-job.
Re: Axon uart programming question
« Reply #1 on: October 01, 2008, 12:52:07 PM »

Offline CornelamTopic starter

  • Jr. Member
  • **
  • Posts: 24
  • Helpful? 0
  • I can smell a robot from a mile away
Re: Axon uart programming question
« Reply #2 on: October 02, 2008, 12:09:11 AM »
But the download link is not working! I really need this functions.
Do you know any function for this?
Thanks in advance!

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,659
  • Helpful? 169
    • Society of Robots
Re: Axon uart programming question
« Reply #3 on: October 07, 2008, 10:53:26 PM »
Just very quickly skimming through those camera specs, that camera is inappropriate for the Axon:

Quote
- RS-232: 115.2K bps for transferring JPEG still pictures or 160x128 preview @8bpp with 0.75~6 fps
- JPEG CODEC with variable quality settings for different resolutions
- Built-in color conversion circuits for 4 gray/16 gray/256 gray/12-bit RGB/16-bit RGB/Pallet 256 RGB preview images.

The required memory for a single image in gray scale is 10x more than the RAM on the Axon. The Axon also doesn't have RS232, so you'd need an adapter to TTL serial.

Quote
i want to transfer the images to the computer . Is there any function so i can read data streams not only bytes?

try googling around . . . im sure you'll find something pretty quickly . . .

Quote
But the download link is not working! I really need this functions.

For some reason it was down for a few days, but its working now. I uploaded a copy a week or two ago:
http://www.societyofrobots.com/downloads/avrlib.zip
http://www.societyofrobots.com/robotforum/index.php?topic=5367.msg41706#msg41706

Offline CornelamTopic starter

  • Jr. Member
  • **
  • Posts: 24
  • Helpful? 0
  • I can smell a robot from a mile away
Re: Axon uart programming question
« Reply #4 on: October 09, 2008, 02:55:04 AM »
The camera has UART and i can select the packet size. The RAM it's not a problem!

 


Get Your Ad Here

data_list