Congratulations Rich, for answering the question and has received an EZ-Credit award! Share what you have learned and create a tutorial to help others by clicking here.

Wireless Cam On Ezb 4.0 Digital Port Question

Assistance Requested

Help Smarty with their question and receive $10 of EZ-Credit to get more robots and parts from our store. The following information was provided about their previous efforts searching tutorials for a resolution.

Smarty claims to have checked these sources:

#### 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 Tongue

you can activate and deactivate the wireless cam now.



Set(D0, ON)



Set(D0, on)
PWM(D0, 90)
sleep (5000)
set (D0, Off)


I have found a few conversations, tutorials and activities that may help with your question. Take a look at these links. I've sorted them by what I believe to be most relevant but that is not always the case as I'm still learning.

Also, consider reviewing the Learn section for informative lessons and activities. Check it out!


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:

User-inserted image


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 Grin
but thanks a lot


One thing to remember is the digital voltage pin of the ezb3 is 5v where as the digital pin voltage of the V4 is 3.3v.... Maybe this has something to do with your issues?...