CHDK-UNImote: Universal remote control for CHDK compatible cameras. - Creative Uses of CHDK - CHDK Forum

CHDK-UNImote: Universal remote control for CHDK compatible cameras.

  • 14 Replies
  • 16193 Views
Advertisements
Hi everyone!

I'm new in this forum, and this is my first post ever, so... let me know if there is any mistake.

The IDEA!

After reading a lot the WIKI and the forums, i noticed that there was only a few types of remote controllers, with just one button. I also read about a couple of commercial remotes, but no so different from the DIY ones.

I first came to the CHDK Wiki and Forums finding a solution to my problem of taking photos with a lot of zoom without moving the camera. I thought in a remote shutter, but for my SX30IS wasn't supported. Only trough CHDK was able to do it.

That's how i started learning the scripting capabilities of CHDK (With some kickstarter help from waterwingz) and i got to this idea (Now is a prototype if you want to know)

First, i wanted a commercial look controller, so after searching for options, i saw a Wii Nunchuck in my old stuff and thought that was perfect.


How to use it?

My first attempt was a complete hack of the controller. That should been the easiest approach, but it lacks of the word "Universal". Way too much customization to get a good final product. Then, i started to think about the way that the controller comunicates with the WiiMote. Was some kind of encrypted i2c comunication. With that final approach i started the design. Hard programming, easy wiring.

Again...How to use it?

I like microcontrollers. They are easy to program, small, versatile and powerful. I picked a Attiny85 and that was all that i needed. This device is capable of run a "software type" serial bus, more than enough for this application.


With this little bug i can read and decode the i2c messages of the Wii Nunchuck with just a few lines of code. That makes the things easier to everyone who wants to use a wireless nunchuck in his project. Just adapt the connector and lets shoot!... But...

And the camera? Where is it?

Well, thanks to the help of waterwingz i was able to find a few examples of programming that gives the camera some kind of PWM (Pulse-Width Modulation) decoding capabilities. With this in mind, i started to make a button-to-pulse program in the Attiny and a pulse decoder in the camera (Until now, just a BAS script).

With all this, the features of my project are:

- Direct WiiNunchuck support (Testing Wireless  possibility)
- 4 Customizable Hardware Buttons (For those who don't want a Nunchuck)
- 7 Pre-programmed functions for WiiNunchuck (Only 5 to HW Buttons)

Fuctions:

- Shoot_Half Press
- Shoot_Half Release
- Shoot_Full Click
- Zoom-In
- Fast Zoom-In (Only Nunchuck)
- Zoom-Out
- Fast Zoom-Out (Only Nunchuck)

Zoom Description:

Zoom Control with Analog joystick for normal and fast zooming.

So.... where is the code, the schematics and the pictures?

Well... this is a work in progress. I'm testing a lot the response of the camera and the controller, and also making some improvements in the PWM routine to add maybe a few more functions. With more testing and with your feedback in the early stage, i hope can release the full project in a few weeks.
As a starting point, i want to know what you think about this, and maybe if you have some other ideas to make this a better project for all of us.

My Stats Untill Now:

i2c Comm: 95%
PWM decoding: 70%
Easy-To-Build considerations: 60% (Not everyone can program a microcontroller i think)
Shoot control: 98%
Zoom Control: 80%

Thanks for reading all this, and if you have any question, please let me know. You can also find me in the irc channel.

Bye!

PD: Look at the awesome project name... xD
« Last Edit: 20 / September / 2012, 15:16:37 by rand0m »

Re: CHDK-UNImote: Universal remote control for CHDK compatible cameras.
« Reply #1 on: 21 / September / 2012, 06:24:09 »
Look forward to seeing more about this project.

I have an ATTiny85 (I think) programmed to allow one camera to send messages to another.
As usual, the person developing the project lost interest and disappeared into cyberspace.

I am interested in other ATTiny applications.


David

Re: CHDK-UNImote: Universal remote control for CHDK compatible cameras.
« Reply #2 on: 21 / September / 2012, 07:43:27 »
I am interested in other ATTiny applications.


In fact, you can probably help me with an immediate application.
You would be able to do it very quickly, I would have to learn ATTiny programming.

I have two input signals that change state every 30 msec.

Let us say they are high (or low) for one msec every 30 msec.

I need to indicate on a number of leds (maybe bicolour ones) the phase difference between the two signals.
It can vary from zero to 30 msec.

We are especially interested in zero phase difference.

Software wise, do you know how to do this ?

Re: CHDK-UNImote: Universal remote control for CHDK compatible cameras.
« Reply #3 on: 21 / September / 2012, 10:01:48 »
I'll be glad to help you! Is this request a new addition to the original project that you mentioned before? If it is, i'll like to read some more about the application. There is a few more aspects to take notice before start programming, like the source of the pulses. As i said, if you have some more info, please let me know.

Greetings!

Re: CHDK-UNImote: Universal remote control for CHDK compatible cameras.
« Reply #4 on: 21 / September / 2012, 10:29:18 »
Is this request a new addition to the original project that you mentioned before?

No, that is almost the only requirement of the device.

I say almost because I can think of a way of continually resetting one camera to automatically zero the phase difference.

To avoid 'polluting' this thread I will contact you directly.

David

P.S. The devices I have are ATTiny84.
I also made a programmer.

Re: CHDK-UNImote: Universal remote control for CHDK compatible cameras.
« Reply #5 on: 21 / September / 2012, 22:57:43 »
I have two input signals that change state every 30 msec. Let us say they are high (or low) for one msec every 30 msec.  I need to indicate on a number of leds (maybe bicolour ones) the phase difference between the two signals.
It can vary from zero to 30 msec. We are especially interested in zero phase difference.
Cool - still trying to sync 3D video I see   8)
Ported :   A1200    SD940   G10    Powershot N    G16

Re: CHDK-UNImote: Universal remote control for CHDK compatible cameras.
« Reply #6 on: 22 / September / 2012, 00:26:31 »
I'm new in this forum, and this is my first post ever, so... let me know if there is any mistake.
Nice start on a forum thread !  Your next task (once you have a released version) will be a CHDK wiki page that captures all of this  :D

Fuctions:
- Shoot_Half Press
- Shoot_Half Release
- Shoot_Full Click
- Zoom-In
- Fast Zoom-In (Only Nunchuck)
- Zoom-Out
- Fast Zoom-Out (Only Nunchuck)
After our conversations on IRC, the only other function I can think of that would be nice to handle with a remote is being able to change from shooting to playback/review mode and back.  In playback mode,  scrolling from picture to picture (with a delete option) would be nice via the remote too.


Quote
PD: Look at the awesome project name... xD
CHDKchuck ?  CHDKmote ?
Ported :   A1200    SD940   G10    Powershot N    G16

Re: CHDK-UNImote: Universal remote control for CHDK compatible cameras.
« Reply #7 on: 22 / September / 2012, 05:37:37 »
still trying to sync 3D video I see 

It is the great unsolved problem, even with pro DSLR's.

It will only work if video synch is related to phase difference of A/V horizontal synch pulses.

Re: CHDK-UNImote: Universal remote control for CHDK compatible cameras.
« Reply #8 on: 25 / September / 2012, 19:27:19 »
Well, considering the few answers, I'm just going to release an early version of this project at the end of this week to give everyone the chance to try by themselves the possibilities of this remote. Thanx for the feedback and support that gave at the irc channel.

Re: CHDK-UNImote: Universal remote control for CHDK compatible cameras.
« Reply #9 on: 17 / October / 2012, 10:14:49 »
I'm just going to release an early version of this project at the end of this week


Time passes  ....

 

Related Topics


SimplePortal © 2008-2014, SimplePortal