Implementing an additional, high-priority thread for monitoring serial data - page 4 - General Discussion and Assistance - CHDK Forum

Implementing an additional, high-priority thread for monitoring serial data

  • 42 Replies
  • 22702 Views
Re: Implementing an additional, high-priority thread for monitoring serial data
« Reply #30 on: 15 / December / 2007, 02:33:36 »
Advertisements
Currently, the only way is to emulate shutter button press. But you can try to find appropriate function.

Find within source files or by using some kind of reverse engineering (logic analyzers, etc...)?

*

Offline kwf

  • **
  • 72
This serial reading sounds promising. Anyone thought of attaching a TSOP1736 to allow receiving of RC5 infrared commands from just any remote control.

One small question to the experts, reading this threads it sounds as the highest precision of the clock is 10ms. So it is not possible to have a task executed more often than every 10ms and busy waiting is necessary?

*

Offline jetzt

  • ****
  • 316
  • [A710IS,(SD200)]
Re: Implementing an additional, high-priority thread for monitoring serial data
« Reply #32 on: 09 / February / 2008, 04:38:06 »
Is there any further develpment, I'm very interested into these data receiving things?

Re: Implementing an additional, high-priority thread for monitoring serial data
« Reply #33 on: 12 / February / 2008, 12:38:29 »
No further development - it works. It's one way only (ie the camera receives serial data) and the time window in which the camera is listening to the serial port is very short, but the throughput is good enough for sending simple commands to the camera. When I finally get the other components of my project done, I'll be sending aperture / shutter speed commands to two cameras to synchronize their settings and then be firing them in loose sync (Microfunguy is working on accurate [<10ms] sync of multiple cameras, I believe). That fairly simple brief is actually all I was hoping to do with this project.

I would be glad to help anyone else who wants to try and create anything that uses serial receiving. At some stage I'll do the civil thing and create a webpage with a sample schematic and code.

Re: Implementing an additional, high-priority thread for monitoring serial data
« Reply #34 on: 12 / February / 2008, 13:18:36 »
Microfunguy is working on accurate [<10ms] sync of multiple cameras

Less than 10 msec, that is terrible  !    :)

Current results are :-

A570          0.5 msec
ixus800       0.36 msec
A620/A640  0.12 msec
A630           0.05 msec !!

We should have A720 and G7 results soon and someone will be marketing PCB's for attaching multiple cameras.


David

*

Offline jetzt

  • ****
  • 316
  • [A710IS,(SD200)]
Re: Implementing an additional, high-priority thread for monitoring serial data
« Reply #35 on: 13 / February / 2008, 09:25:07 »
I would be glad to help anyone else who wants to try and create anything that uses serial receiving. At some stage I'll do the civil thing and create a webpage with a sample schematic and code.

Well, really great, that's exactly what I'm interested in!
I saw that one:
YouTube - CHDK Serial Comms Prototype
and wanted to to something like that: hand (or glove) remote

*

Offline kwf

  • **
  • 72
Re: Implementing an additional, high-priority thread for monitoring serial data
« Reply #36 on: 13 / February / 2008, 10:40:27 »
Microfunguy is working on accurate [<10ms] sync of multiple cameras

Less than 10 msec, that is terrible  !    :)

Current results are :-

A570          0.5 msec
ixus800       0.36 msec
A620/A640  0.12 msec
A630           0.05 msec !!

We should have A720 and G7 results soon and someone will be marketing PCB's for attaching multiple cameras.


David

How do achieve this fantastic timing? I tried to insert some funcs into the keyboard task and this is only called every 10-30ms, depending on mode. Do you use some some ISR?

I couldn't find the source of SDM-CHDK to see myself, is it somewhere in the svn?

I would be glad to help anyone else who wants to try and create anything that uses serial receiving. At some stage I'll do the civil thing and create a webpage with a sample schematic and code.

Is your code published somewhere? svn? http? I'm searching on any information about camera acting as a host resiver.

I couldn't find the source of SDM-CHDK to see myself


SDM 1.40 code is here in the download section :  StereoData Maker

SDM 1.40 code is here in the download section :  StereoData Maker

Where is the source of the current version? This source is three month old!  ???

 

Related Topics


SimplePortal © 2008-2014, SimplePortal