The camera is connected to an Arduino board and so I just sending a +5V or 0V to the USB port, not serial data streaming.Thank you for the link but I prefer just receive a 5+V or 0V instead of a real data streaming... it's easier to handle this with the arduino board.I tried to use the script without the USB triggering and the timing is perfect.I just need to receive on the USB a pulse to obtain the sync with the board.
The USB connector has a data line, and a power line (red wire). Normally, the power line is always 5 volts. The power comes from the external computer, not the camera. The camera, and CHDK, can sense if the power is on, without any data being transmitted. I suspect that you're leaving the power on, and sending pulses over the data line. My original script looks for changes in the power line, not the data line, so it wouldn't be triggered. I think there's a way to shut the USB power off and on with the board, but I'm not sure how.
Another strange behavior is this: the camera is on (remote triggering OFF), I don't start the script, I connect the cable and the shutter start to open/close (without capture pictures).
Maybe we can try using the USB +5V just to start to take pictures every x second (without waiting for USB) and sending a byte of garbage on the data out after every shot. I'll try to read that signal from the Arduino.
Quote from: lukeiron on 11 / September / 2013, 04:21:01Another strange behavior is this: the camera is on (remote triggering OFF), I don't start the script, I connect the cable and the shutter start to open/close (without capture pictures).Many Canon P&S cameras will switch to playback mode when USB power is applied if CHDK remote mode is disabled. The lens will also retract if and extended retract delay has not been selected in the Canon menus. Could this be what you are seeing?
I tried the new script, it works with the keys but not with USB.Maybe we can try using the USB +5V just to start to take pictures every x second (without waiting for USB) and sending a byte of garbage on the data out after every shot. I'll try to read that signal from the Arduino.
I might be wrong but I suspect the CHDK USB commands for sending data messages will only work if a valid host / slave relationship has been negotiated between the camera and PC.
The camera doesn't retract the lens but can be something of similar... the screen switch continuously between black and the live view.
@lapser: I also have a SX210 IS (100c). Could you attach a build for that camera, so I can try if I run into the same problems like with my G1 X?That would be great. Thanks!
Sorry, very stupid question... I figured it out. It's just the setting in the canon menu But it's interesting: I've always shot time lapses in single shot mode. Now I tested in the continuous mode and it works perfectly.So what is actually the difference between these two modes (except that you loose all pictures when you run out of power in continuous mode)?
Started by Lilien
General Help and Assistance on using CHDK stable releases
Started by acorrias
RAW Shooting and Processing
Started by PS
Started by fma
Hello, I'm a NEWBIE - HELP!! (Newbies assistance, User Guides and thank you notes)
Started by yair