Received: by 10.204.129.9 with SMTP id m9mr490630bks.1.1349394334495; Thu, 04 Oct 2012 16:45:34 -0700 (PDT) X-BeenThere: nycresistormicrocontrollers@googlegroups.com Received: by 10.204.129.197 with SMTP id p5ls4116385bks.9.gmail; Thu, 04 Oct 2012 16:45:25 -0700 (PDT) Received: by 10.204.6.19 with SMTP id 19mr489343bkx.8.1349394325642; Thu, 04 Oct 2012 16:45:25 -0700 (PDT) Received: by 10.204.6.19 with SMTP id 19mr489342bkx.8.1349394325614; Thu, 04 Oct 2012 16:45:25 -0700 (PDT) Return-Path: Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com [209.85.217.180]) by gmr-mx.google.com with ESMTPS id 27si822795bks.3.2012.10.04.16.45.25 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 04 Oct 2012 16:45:25 -0700 (PDT) Received-SPF: pass (google.com: domain of playas...@gmail.com designates 209.85.217.180 as permitted sender) client-ip=209.85.217.180; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of playas...@gmail.com designates 209.85.217.180 as permitted sender) smtp.mail=playas...@gmail.com; dkim=pass header...@gmail.com Received: by mail-lb0-f180.google.com with SMTP id ge1so803023lbb.11 for ; Thu, 04 Oct 2012 16:45:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=hIIKUiE2hNehNoizJuvMCnzfHlg84cI6gP0/jBmjXmM=; b=e4Zt9cBnYn+BDchGNvsQCmkbxj2ERokXpD2Ra0d36514zQ7SfHZkz3X/PHKWyKbPMv VYqlnfPk5zrwNwDqzmnGsI6twVEfqOoe7/zdc2HDSWsrxx8bEolaV+TqxFjx5Uf6PV8j SlwmWeyjtPuPrz9WsWsV7z9JCknR4hwqv5qZ1ca994R0OsIDt9rPQrIzkxCsEbu4oeff DcLa6QsMrsSA/cTxsY3R0Fga4tEYDtluQF1kzG+MOJ3cFJ6C6eq+RtH4GzWBUi8MuTWS GB553ErGTYO0z2Hf8V8YhJ4ySJ/xmBpDIK6H/3SX3yvhDNrrzO9y8SCdKoNQtZhMBEcx 8CKg== MIME-Version: 1.0 Received: by 10.112.83.196 with SMTP id s4mr3231700lby.29.1349394325194; Thu, 04 Oct 2012 16:45:25 -0700 (PDT) Received: by 10.112.42.198 with HTTP; Thu, 4 Oct 2012 16:45:25 -0700 (PDT) In-Reply-To: References: Date: Thu, 4 Oct 2012 19:45:25 -0400 Message-ID: Subject: Re: [NYCR:Microcontrollers] zigbee + UART jpeg cam From: Glen Duncan To: nycresistormicrocontrollers@googlegroups.com Content-Type: multipart/alternative; boundary=f46d040167f36a4a2704cb445953 --f46d040167f36a4a2704cb445953 Content-Type: text/plain; charset=ISO-8859-1 On Thu, Oct 4, 2012 at 4:59 PM, Michael Cooper wrote: > Greetings Resistors, > > I am scoping out a small project and I am in need of a reality-check on > basic framework. The project is a remote camera transmitting over zigbee > to a pc-based receiver. After some research, I think this is what I need: > > 2 x zigbee units, one wired to the cam, 1 wired to the PC > 1 x camera with UART interface > > Steps: > > - wire up the cam to the zigbee -- this is simply a matter of connecting > the UART out of the cam into the UART input on the zigbee, correct? > > - Connect the other zigbee to USB port on the pc (easy) > > - make the zigbees talk to each other (per zigbee unit documentation) > > - use Processing's "Serial" library to parse the info from the camera > coming based on the camera's specs for the data structure for its visual > frame output (the camera I am looking at outputs jpeg-encoded frames) > > I would have to write a custom parsing script for this in Processing, > correct? > > - theoretically, the result from that should be an image in jpeg format, > so at that point I am thinking that I could output the parsed data from > Processing as a file, slap a "jpg" extension on it, and then I am in known > territory. > > Is this generally the right way to think about this? > I've looked at just about every type of consumer, security, and machine vision camera out there, and don't recall seeing any that have a serial interface. Firewire, ethernet, USB, or cameralink are your available options. Also, zigbee tops out at 256Kbps. A single raw 640x480 truecolor frame will tale 3.6 seconds to transfer. With JPEG compression expect 1/10 of that. You won't be pushing any meaningful video over zigbee any time soon. I'd say your best bet would be to find an inexpensive network security camera and a wireless bridge/client, and focus on the application side. -spec --f46d040167f36a4a2704cb445953 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Thu, Oct 4, 2012 at 4:59 PM, Michael = Cooper <mbcoope...@gmail.com> wrote:
Greetings Resistors,

I am scoping out a small project an= d I am in need of a reality-check on basic framework. =A0The project is a r= emote camera transmitting over zigbee to a pc-based receiver. =A0After some= research, I think this is what I need:

2 x zigbee units, one wired to the cam, 1 wired to the = PC=A0
1 x camera with UART interface=A0

= Steps:

- wire up the cam to the zigbee -- this is = simply a matter of connecting the UART out of the cam into the UART input o= n the zigbee, correct?

- Connect the other zigbee to USB port on the pc (easy)=

- make the zigbees talk to each other (per zi= gbee unit documentation)

- use Processing's &q= uot;Serial" library to parse the info from the camera coming based on = the camera's specs for the data structure for its visual frame output (= the camera I am looking at outputs jpeg-encoded frames)

I would have to write a custom parsing script for this = in Processing, correct?

- theoretically, the r= esult from that should be an image in jpeg format, so at that point I am th= inking that I could output the parsed data from Processing as a file, slap = a "jpg" extension on it, and then I am in known territory.

Is this generally the right way to think about this? = =A0

I've looked at just about eve= ry type of consumer, security, and machine vision camera out there, and don= 't recall seeing any that have a serial interface. Firewire, ethernet, = USB, or cameralink are your available options.

Also, zigbee tops out at 256Kbps. A single raw 640x480 = truecolor frame will tale 3.6 seconds to transfer. With JPEG compression ex= pect 1/10 of that. You won't be pushing any meaningful video over zigbe= e any time soon.

I'd say your best bet would be to find an inexpensi= ve network security camera and a wireless bridge/client, and focus on the= =A0application=A0side.

-spec
--f46d040167f36a4a2704cb445953--