EZ-Robot EZ-B v4

EZ-Robot EZ-B v4

Connection Type
Wi-Fi / USB
Number of servos
Audio Support
Camera Support
Available for purchase from:

The v4/2 is the next generation brain of your robot or IoT device, powering over 20,000 robots worldwide! Give your custom robot or IoT project features inspired from science fiction! With the electronics protected by a stylish plastic shell, the ez-bv4 clips into your ezrobot Revolution chassis or custom robot. It is easily controlled over Wi-Fi using ez-builder software.

The ez-bv4/2 boasts two Cortex ARM processors running at 220MHz to provide servo, digital i/o, real-time audio/video streaming and more! 5 volt tolerant I/O, energy efficient digital switching power supply, Wi-Fi connectivity with security, embedded web server, telnet server, amplified digital audio with speaker, 3 I²C ports, 3 x UARTs, 24 multi-use servo/digital/serial ports, 73 servos (Dynamixel & PWM), 8 analog ports, and integrated video, all in a tiny 2.1" x 2.2" size!

Where to Buy

EZ-Robot has their products on their website store for purchase, as well as many other online and offline retail stores. Here's links to the EZ-B v4 products directly at EZ-Robot's store...


The EZ-B v4, EZ-Robot Developer Kit and IoTiny are amazing tools for building custom DIY robots, or teaching old toys new tricks. Watch Overlord DJ Sures and Professor E introduce a few robots that he has built using the IoTiny and EZ-B v4 in this The Robot Program episode. Let's begin by showing what's in the box. The Robot Overlord DJ Sures and Professor E will be your guides throughout these tutorials. Have fun!

EZ-B v4 Port Summary

The EZ-B v4 has 24 Digital Ports and 8 Analog Ports. The Digital Ports are labelled D0 through D23. The ADC Analog Ports are labelled A0 through A7.

3 PIN (GVS) Connectors

Each port has 3 pins, which are GND (Ground), VCC and Signal. The GND and VCC are for powering the device connected to the port. The Signal pin is connected to the EZ-B Microchip for reading or writing data from Digital or ADC. The GND and VCC pins are not connected to the Microchip, they are used only for powering the peripheral connected to the EZ-B v4.

For example, a servo has a 3 wire plug that connects to one of the EZ-B Digital Ports. The wires of a servo connector are GND, VCC and Signal. The GND and VCC provide power to the servo's motor and circuit. The Signal wire carries the information to tell the servo what position to move.

Connecting Camera

The EZ-Robot Camera connects to the EZ-B v4 with a 6 pin cable. Notches on the male connector match the EZ-B's female connector. This prevents the plug from connecting incorrectly. The camera connection is unique, making it easy to identify where to connect. It is impossible to connect the camera cable to the wrong connector, as it only fits in the matching plug.

Connecting Servos & I/O

Much like your home theater speakers, the cables of the EZ-B and peripherals are color coded. The BLACK cable on the peripheral (i.e. servo) will connect to match the BLACK side of the EZ-B connector.

EZ-B v4 Ports Overview

Unregulated Power I/O

As a EZ-B v4 Developer, it is important that you know how the power pins work. This is because you will be building a custom robot with custom power requirements. The EZ-B v4 does not regulate the power on the I/O pins. This means that if you provide 12v to the EZ-B v4, the I/O pins will output 12v. Of course, this will damage any +5v peripherals that you connect to the EZ-B v4 when using 12v. You must be aware of how much power is being provided to the EZ-B v4 and what you are connecting to the I/O pins. For example, the EZ-Robot Servos do not like power above 7.4 volts - which is why we recommend using Rechargeable AA batteries in the provided holder. If you are wishing to use an alternate power source, please be aware of this message and select a voltage rating that works with your application.

*Note: The only ports that have regulated power are for the Camera, i2c and UART #0 Expansion.

Learn Your Port Types


Working with digital means True (On) or False (Off). True means any voltage above 1 volt, and False means GND. There are 24 digital ports on the EZ-B v4 (D0 to D23)

Output is writing to a port: When a port has its digital value set to True, then a +3.3 voltage will be outputted on that port. If the port has its digital value set to False, then the port will be GND.

Input, is reading from a port: You can read the value of a specific port. This is how you can check for voltage, On or Off. Any voltage above GND (and below +5 volts) will be returned as True, a short to GND will be returned as False.

Example peripherals for digital ports are Switches, Servos, Ultrasonic Distant Sensors and Buttons.


ADC is short for Analog Digital Converter, and is read only (input only). This method reads voltages into the EZ-B Robot Controller. There are 8 analog input port on the EZ-B (A0 to A7).

Reading Relative Voltage: The returned value will be between 0-255 in 8 bit mode and 0-4095 in 12 bit mode. These values represent the input voltage on the specified port. The value will be relative to the input voltage that will between 0 and 5 volts. Example in 8 bit mode: Value 0 = 0 Volts, Value 127 = 2.5 Volts, Value 255 = 5 Volts.

Reading Absolute Voltage: Returns the value in actual volts on the specified port.

Example peripherals for analog input are Sharp GP2 Analog Distance Sensors, Pressure Sensors, Light Sensors, Sound Sensors, Color Sensors and reading voltages.

Serial (tx only)

Every digital port of the EZ-B Robot Controller can transmit serial data. Also, on the V4's, there are 3 UART ports for bi-directional buffered serial communication. Serial Communication is the process of sending data one bit at a time in a sequence. Serial communication is common with many peripherals because it allows commands to be transmitted over one wire. The transmission works similar to Morse code.

The Sender and Receiver need to be configured for the baud rate (speed) in which the data will be transmitted. Common baud rate speeds are 300bps, 4800bps, 9600bps, 19200bps, 38400bps, 57600bps and 115200.

There are also 3 high speed UART ports on the EZ-B v4 which allow transmit and receive abilities. The buffer size for input on each of the 3 high speed UART ports is 5,000 Bytes.

Example peripherals for serial communication are LCD Screens, Motor Controllers, Servo Controllers, Computer Communication, Arduino Communication, iRobot Roomba and more.

UART Serial (bi-directional)

The V4 UARTx ports are used connect to Serial TTL devices for both input and output. Contrary to the digital port Serial Output, these peripherals will also receive data into an input buffer as well. The input buffer of each UART is 5,000 Bytes. There are 3 UARTs, the first is the hardware labelled port, second and third are digital pins. These UARTs are controlled using the UARTInit(), UARTWrite(), UARTRead() and UARTAvailable() commands. The speed of these UARTs can be any integer between 1 and 3750000 bps.

UART0 TX: Expansion Connector
UART0 RX: Expansion Connector


The I2C is also referred to as the "Two Wire Interface". There are three I2C connectors on the EZ-B v4. I2C is a communication method invented by Philips that is used to communicate with peripherals. The I2C uses two wires for communication, Serial Data Line (SDL) and Serial Clock Line (SCL).

I2C devices can be chained together in a network formation. Each device is given a unique address. The EZ-B v4 has three I2C headers which provides both signal wires and +3.3v power.

Example peripherals for I2C communication are LCD Screens, I2C enabled Servos, BlinkM Multicolor LEDs, and more.

Click here for more information on understanding i2c addressing.

Related Content

Connecting to PC and EZB
Probably over thinking this but looking to connect my mini PC to my EZB and VNC into the mini PC. Do I need to set the EZB into client mode to do...
2 single motor controllers
2 single motor controllers
Omnibot 2000 Arms
Anyone successfuly hack the arms on one of these to work with servos?
Need some help /Wire Diagram to go by
Need some help /Wire Diagram to go by
Reverting servo in script or movement panel
Reverting servo in script or movement panel
InMoov Kinect Function
Hi,I'm diving into InMoov and have thus far just been printing parts with abandon while I finish researching everything else.  I have totally decided...
Strange issue with servo speed/delay/steps and Usb camera
Strange issue with servo speed/delay/steps and Usb camera
Powering Mini PC
Looking for suggestions on powering on mini PC on a battery. Trying to keep it light weight. Would a 12V lead acid battery with a buck converter work?...
Scripting Multiple Robot Actions one after another
I'm currently using Script Manager run multiple scripts in sequence. I know that ControlCommand is non-blocking by default but is there a way to wait...
Google home and EZ-B
Hi guys,Is there a way to use/integrate google home with EZ-B/Synthiam?I have been locking for a tutorial but didnt find one.Regards.
Balancing a robot on 2 wheels (EZ Boxbot)
Balancing a robot on 2 wheels (EZ Boxbot)
hitec D845WP servos can't move slow and smooth
I'm testing a new robot , using ezbv4 and hitec D845WP servos with lipo 7,4 V batteries. (I never used these servos and such high-current batteries...
use webcam with ez-b v4
use webcam with ez-b v4
Speech Delay BT Speaker
Sorry for all the questions. I try to test and research before asking. I have a issue that's bothering me and can't seem to figure it out. I'm using a...
What type of Robot Hands do others recommend
What type of Robot Hands do others recommend
Auto Connect to Router
I set my robot to Client mode yesterday for the first time and everything worked fine.Today I loaded Ez-Builder, turned on robot and the Ezb had...
Code to Turn Controller Off
Code to Turn Controller Off
#5   — Edited
The eZrobot products have their own tutorials on the ezrobot website. This is not support for ezrobot products.

It’s not a split between websites. Ezrobot has products and their products are supported on that website. Use the website for the manufacturer, which is ezrobot. 

Visit the ezrobot website and view the learn section to learn how to use the ezrobot products.
#7   — Edited
Then I am lost as ever as to what Synthiam is all about. So to clarify, Synthiam is software only? Has EzBuilder been rebranded Synthiam? All the questions here are only software related? All hardware "products" belonging to EZ Robot are "their" domain to support? Along with the EZ Robots website that will support how the hardware works/videos and manuals?

@Alan, thank you found it and got the SSID figured out.
Not A question but some info Hobbyking has EZ-B V4 WIFI ROBOT CONTROLLER $49.99 tthis is great price for a fantastic piece of equiptment.
and the camera for some 9 dollar.
United Kingdom
Looks like the controller is the version 1 controller and not the -2 version?

Although it’s a good deal!