Show Posts
Pages: [1] 2 3
1  Products / Arduino Yún / Re: Arduino File Write Performance on: May 22, 2014, 08:25:14 am
Is the one you posted compatible with Linux? I can't find it on the list of compatible cameras. Also, according to a number of viewers it is not an IR camera but instead uses white lights for night time...
2  Products / Arduino Yún / Re: Arduino File Write Performance on: May 22, 2014, 08:23:01 am
It is from Adafruit and is weatherproof for outdoor use. https://www.adafruit.com/products/613
3  Products / Arduino Yún / Re: Arduino File Write Performance on: May 22, 2014, 07:54:38 am
The TTL camera has several features I have not found in a USB cam. Mainly it has IR emitters and a night mode on the camera and it also has built in motion detection. It is more suitable as a security camera.
4  Products / Arduino Yún / Re: Arduino File Write Performance on: May 21, 2014, 06:14:10 am
Thanks, given the Arduino's limited memory I assumed the Bridge had to rely on a small packet size.

For USB cameras I do use the Linux side but I am not sure how to interface with this TTL camera from Linux (it comes with an Arduino library).  I did a quick search and didn't find a solution for the OpenWRT distribution. I'll keep looking and in the mean time live with the slow performance.
5  Products / Arduino Yún / Arduino File Write Performance on: May 20, 2014, 07:34:02 pm
I've hooked up a TTL camera to a Yun, reading the images using Software Serial. It takes 13-14 seconds to read a ~48Kbyte image. It seems the maximum reliable read of the camera image is 32 bytes at a time.

I want to store the image onto the SD card of the Yun. If I write each 32 byte chunk using FileIO.write() the total time to read the image and write it to the card is nearly 50 seconds. Simple commenting out the call to write() yields the 13 seconds time for basic reading of the image.

I added some buffering in the Arduino sketch so that it calls write() less often. If I chose a large buffer, performance actually got much worse. Choosing a small buffer resulted in minimal performance improvement.

Based on my image capture code that runs on Yun Linux side I know the SD card is not that slow (e.g. mjpg_streamer writes ~4 images per second to the SD card). What causes this bottle neck? Is it something in the Bridge code that implements FileIO? Is there any way to dramatically improve the performance?

Thanks for any insight or help.
6  Products / Arduino Yún / Re: How to expand the storage memory on the Yún on: May 06, 2014, 09:30:48 pm
My first Yun conversion went smoothly. But my second one failed (error detailed below). I surmised this was a issues with free space on / (of course that's why I was happy to see this extension scheme). I recalled I was at about 90% before running the conversion script. I removed a couple of packages to get to 83% full on / and re-ran the sketch. It ran correctly.

Bottom line is you may want to ensure you have about 80% free space on / before running this conversion.

Software list updated. Installing software (this will take a while)...
err. installing e2fsprogs mkdosfs fdisk
7  Products / Arduino Yún / Re: How to expand the storage memory on the Yún on: May 06, 2014, 08:08:19 pm
Does running the Yun from the microSD have any impact on performance? I.e. what is the relative performance of a typical microSD vs the onboard memory?

Thanks.
8  Products / Arduino Yún / Re: Guide to Setup Streaming Web Cam on the Yun on: May 06, 2014, 12:42:48 pm
I guess I'm not explaining it well. I am not concerned with the frame rate, that's fine.

When I start fswebcam it can take a first picture very quickly. However when I start mjpg_streamer it takes it up to 8 seconds to capture an initial image (using the output_file.so module). I'd like to optimize the time to capture the first image in mjpg_streamer.
9  Products / Arduino Yún / Re: Guide to Setup Streaming Web Cam on the Yun on: May 06, 2014, 12:05:08 pm
I understand the CPU limitations but that's not the issue I'm trying to address. E.g. mjpg_streamer takes forever to take a first photo when you have it writing to a file. fswebcam does it very quickly. So it is an issues with the mjpg_streamer could I believe.
10  Products / Arduino Yún / Re: Cyclops – Arduino Yun Security Camera Project on: May 05, 2014, 07:09:43 am
Thank you!
11  Products / Arduino Yún / Cyclops – Arduino Yun Security Camera Project on: May 04, 2014, 08:48:24 pm
I wanted to see how close I could get to duplicating the features of a commercial security camera with a Yun and started a little project I called Cyclops. Using information from this forum and other sites - plus some ingenuity - I ended up with something pretty functional for indoor use in spite of a number of limitations. It was a whole lot of nerdy fun. If you're interested in doing something similar I posted a write up (which also covers things like getting the uhttpd web server running). The post is here: http://buff.ly/Rjo9kW
12  Products / Arduino Yún / Re: Guide to Setup Streaming Web Cam on the Yun on: May 03, 2014, 10:34:37 am
I have mjpg_streamer working ok with my Yun and camera but I'm interested in customizing it for my video monitoring project. I have searched and haven't found instructions for how to do something like this on the Yun (i.e. build the package after customizing the source). Any pointers would be appreciated. The hacks I have in mind would likely be useful to others.

Alternately or in addition I'm thinking of some hacks to fswebcam that should be useful for monitoring too.

Cheers.
13  Products / Arduino Yún / Re: Running the motion library on the Yun on: May 01, 2014, 05:50:15 pm
Slightly different application than yours but the software needed would be the same.  Please do keep me/us posted! Given how many posts I see about projects like this I don't think your effort would go to waste.
14  Products / Arduino Yún / Re: Running the motion library on the Yun on: May 01, 2014, 05:27:02 pm
I have streaming working fairly well with mjpeg_streamer. There is some glitchiness but it is pretty good, and seems stable. I've had it streaming for days.

I'd like to be able to detect motion in the image and start recording or taking snapshots, which is why I've been tinkering with motion. It seems like motion tries to do too much. Unfortunately I don't have the hours it would take to create something purpose-built to what I want.
15  Products / Arduino Yún / Re: Running the motion library on the Yun on: May 01, 2014, 05:01:33 pm
On the Yun I suspect there may be a problem with the UVC driver. fswebcam also reports errors and sometimes outputs jumbled images.
Pages: [1] 2 3