Asked
— Edited

update 02.11.15
resolved by myself
How to programming ON/ OFF for the original EZB 3.0 2.4G Wireless Cam on EZB 4.0.
Step 1:
here ist DJ Sures video:
by the way! you don't need the usb-plug and push-button on camera. so you can remove this big parts from camera-board.
In this video DJ use the usb-plug for powering.. it's one way to do it.
Step 2:
I have fixed the scipt problem!
learning by doing
you can activate and deactivate the wireless cam now.
ON:
Set(D0, ON)
OFF:
Set(D0, on)
PWM(D0, 90)
sleep (5000)
set (D0, Off)
cheers Smarty
You can't power that camera from the ezb4's digital pins.... the signal pin can only supply 10mA of power, the camera needs way more than that... You may have blown the port attaching the camera to the digital pin. However, if you use a 5V voltage regulator you can use the power pin (red pin) to power the camera... Set (D0, ON) won't work either as it refers to the digital pin not the red power pin. You can use a relay to turn the camera on and off....
@Richard R
but it works fine for one hour ^^! I have a perfect video signal. I activate the cam with D0 but I cannot deactivate it
I am just warning you that if you are using the white digital pin to power the camera you may blow the port... As mentioned it can only supply 10ma... The camera may need 100mA or more....
on EZB 3.0 its perfect running and on EZB 4 too.. my only question is: why I cannot turn off the power from the digital port ?
here ist DJ Sures own video:
I just told you why... the digital pin (the white pin, not the red pin) can only supply 10mA of power... however the camera needs way more than that... The red pin has pretty much unlimited power (you still need to regulate however) but obviously can't be controlled using commands like set(D0,ON), etc....
The ezb3 may be able to supply more mA to the digital pins I an not sure, but even an Arduino can only supply about 40mA to it's digital pins if I recall....
Ok, in that picture the camera is being powered by the red pin... Are you using that same camera and same wiring for the ezb4? Meaning have you wired your camera the same way? Have you regulated the voltage to the camera to 5V?
****Sorry, I was under the impression you connected the camera's power to the signal pin... If you have it wired the same way as DJ did then I will have to let ez robot respond as to why it isn't responding to set(D0,ON) and set(D0,OFF) commands
I understand all of your words.. but! ON/ OFF works on EZB 4.0 with this cam.. I can change the time from 100 to 1500 ml sec ON/ OFF over 1500 mlsec the cam is always on.. but under 1500 mlsec not..
normally to activate the cam.. you have to push the "on-button" 2 seconds long.. for off - 5 secods.. I think this is the problem..
ok, Im just waiting haha
but thanks a lot