Are there any other alternatives, for example via the USB port?
http://lmgtfy.com/?q=arduino+usb+ptp
I would like to control an external device (Motor Slider, Plant Lamp) in a time-lapse script via Arduino. Since that seems to me to be an elegant solution with the HDMI 5V output. If I understood correctly then the 5V voltage can also switch in recording mode.
Does it work even if the camera is in half-pressed shutter?
Could you also generate pulses (3 * 50ms with 50ms break)?
If you want to experiment with this, you can find EnableHDMIPower and DisableHDMIPower in the funcs_by_*.csv for your camera, and call them with call_func_ptr(0xwhatever)
--[[@title HDMI Test@chdk_version 1.4#delay=1000 "Delay"#runs=10 "Runs"--]]print('HDMI Test')z=0repeat z=z+1 print("Nr :",z) --EnableHDMIPower() call_func_ptr(0xff055850) sleep(delay) --DisableHDMIPower() call_func_ptr(0xff055858) sleep(delay) until z==runs
Unfortunately, the output does not change ...I only have one cut-through cable. I'm assuming that the red and black wire are the power supply. At these wires I measure in recording and playback mode 4,5V.
on my S100 the HDMI 5V was always on, so there is no need to turn it on, maybe there is even no such function.
if (bi.platform=="g1x") and (bi.platsub=="100e") then --0xff0557d8,ChangePowerState_FW call_func_ptr(0xff0557d8,1) --EnableHDMIPower() --call_func_ptr(0xff055850) sleep(delay) --0xff0557d8,ChangePowerState_FW call_func_ptr(0xff0557d8,0) --DisableHDMIPower() --call_func_ptr(0xff055858) sleep(delay) elseif (bi.platform=="s110") and (bi.platsub=="103a") then --0xf807a3d8,ChangePowerState_FW call_func_ptr(0xf807a3d8,1) --EnableHDMIPower() --call_func_ptr(0xf807a450) sleep(delay) --0xf807a3d8,ChangePowerState_FW call_func_ptr(0xf807a3d8,0) --DisableHDMIPower() --call_func_ptr(0xf807a458) sleep(delay)end
The voltage being 4.5 rather than 5 seems a little surprising.
What is HdmiHpd5VOutput doing?
I tried also ChangePowerState with no effect. But code looks OK?
On SX160IS (the only pre-digic 6 camera I have with HDMI), Enable and Disable work as expected in both playback and rec, 4.95V when on.
Minimal HDMI remote for testing 1 micro or mini HDMI to standard HDMI adapter1 HDMI standard to DVI female adapter1 paper clip
It is interesting in the G1x: If I put the hotplug detect with a 1K ohm to the 4.5V, then the voltage goes to 5V.
I don’t not know if what that means:My cameras have 8 bytes (?) Between the addresses of EnableHDMIPower and DiableHDMIPower. With your SX160IS 24 bytes.
; EnableHDMIPower 0xff055850 mov r0, #1 b loc_ff0557d8 ; ChangePowerState_FW
; EnableHDMIPower 0xff86498c push {r4, lr} mov r0, #1 bl sub_ff937f48 ; HdmiHpd5VOutput_FW pop {r4, lr} mov r0, #1 b loc_ff864914 ; ChangePowerState_FW
To be quite sure, I will order once the proposed HDMI adapter…Quote from: reyalp on 25 / June / 2018, 02:33:06Minimal HDMI remote for testing 1 micro or mini HDMI to standard HDMI adapter1 HDMI standard to DVI female adapter1 paper clipIf I watch to the picture, I looks like you measure between pin 14 and 16 (+5V and Hot plug detect)