Author Topic: Taking Photos with Blackfin and WebbotLib  (Read 1659 times)

0 Members and 1 Guest are viewing this topic.

Offline awally88Topic starter

  • Robot Overlord
  • ****
  • Posts: 212
  • Helpful? 0
Taking Photos with Blackfin and WebbotLib
« on: September 28, 2010, 08:02:55 AM »
Hey guys,

I was just wondering if anyone knows of a good way to take photos on a Blackfin with WebbotLib and transmit them to a computer. I'm using a ATmega640 on a custom board I have the camera on UART0 and the Serial Comm Port on UART3.

I'm pretty sure the Blackfin has onboard JPG compression but it wasn't mentioned anywhere in API for WebbotLib and for some reason I can't get onto the Surveyor website.

Any help would be great

Offline Webbot

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 2,165
  • Helpful? 111
    • Webbot stuff
Re: Taking Photos with Blackfin and WebbotLib
« Reply #1 on: September 29, 2010, 01:00:51 PM »
Its not mentioned in WebbotLib since the compression method used by the Blackfin is to do with the Blackfin and not WebbotLib.

Due to the high memory requirements for an image then WebbotLib doesn't directly support downloading an image (most AVR chips don't have enough RAM to store one).

If you are interested in working directly with the Blackfin from your PC then check out my Blackfin console at http://webbot.org.uk/iPoint/31.page
Webbot Home: http://webbot.org.uk/
WebbotLib online docs: http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood: http://www.hovinghamspa.co.uk

Offline awally88Topic starter

  • Robot Overlord
  • ****
  • Posts: 212
  • Helpful? 0
Re: Taking Photos with Blackfin and WebbotLib
« Reply #2 on: September 30, 2010, 04:18:00 AM »
I need to send an image via a wireless transceiver so I'll basicallly be streaming it and using the Micro as a buffer. Thanks anyway, I'm just writing the stuff myself since I was having some trouble with the clock speed with my board for some reason. On that, do you know why a ATmega640 would be running at 2MHz rather than 16MHz even though I have a 16MHz crystal hooked up?

Offline Webbot

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 2,165
  • Helpful? 111
    • Webbot stuff
Re: Taking Photos with Blackfin and WebbotLib
« Reply #3 on: September 30, 2010, 05:36:22 AM »
Out of the box it runs at 1MHz using the internal oscillator.
If you have added a 16MHz crystal then you will need to change the fuse settings to let it know.
Webbot Home: http://webbot.org.uk/
WebbotLib online docs: http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood: http://www.hovinghamspa.co.uk

 


data_list