Society of Robots - Robot Forum

Software => Software => Topic started by: Cornelam on October 01, 2008, 04:13:49 AM

Title: Axon uart programming question
Post by: Cornelam 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!!!
Title: Re: Axon uart programming question
Post by: pomprocker on October 01, 2008, 12:52:07 PM
did you check avrlib for any developed librarys?

http://www.mil.ufl.edu/~chrisarnold/components/microcontrollerBoard/AVR/avrlib/docs/html/index.html (http://www.mil.ufl.edu/~chrisarnold/components/microcontrollerBoard/AVR/avrlib/docs/html/index.html)
Title: Re: Axon uart programming question
Post by: Cornelam 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!
Title: Re: Axon uart programming question
Post by: Admin 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
Title: Re: Axon uart programming question
Post by: Cornelam 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!