FYP | mbed + C328 First Image

After spending some time to write mbed drivers for the C328 camera for mbed and then taking a break, it looks like someone swooped in and did a cracking job – http://mbed.org/users/shintamainjp/notebook/CameraC328/. The test program takes uncompressed snapshot (80x60px), uncompressed preview (80x60px), JPEG snapshot and JPEG preview images and stores them on the mbed filesystem which allows you to grab them via USB.

A huge issue it looks like I’m going to face is that it takes on average about 6.9 seconds (or a incredible 0.145fps) to take a 80x60px uncompressed image and around 11.6 seconds (0.08621fps) for a 640x480px JPEG image, which I think may be more down to the camera than the mbed or software. If that is the case, there may be a pretty high chance I’m going to have to switch my camera.

I’ll have to explore the code a little more tomorrow to see how this work (in the hours when it’s not so late/early) but this should be perfect since it should give me more time for vision processing..

[caption id="attachment_693" align="aligncenter" width="640" caption="mbed + C328 - JPEG Preview (640x480px)"]jpeg preview[/caption]

The list of sources could not be read – Ubuntu

E: Type ‘n’ is not known on line 2 in source list /etc/apt/sources.list.d/bean123ch-burg-lucid.list

E: The list of sources could not be read.

To fix this or similar errors open the file, for example “/etc/apt/sources.list.d/bean123ch-burg-lucid.list” and check for rouge characters. In this case there was new line with the letter ‘n’ in place, removing it solved the issue. Make sure to run “sudo apt-get update” to refresh the sources and everything should be fixed. I was also unable to see any software in the “Ubuntu Software Center” because of this.

September

[gallery columns="2" orderby="title"]