Tutorials using the Script Control

Welcome to the tutorials made by community members, just like you! With this User Tutorial section, create tutorials and share knowledge that you have learned about robotics. As you have witnessed, EZ-Robot has recognized the importance of robot education at home, classroom and workplace.

With a commitment to ensure education is shared, EZ-Robot encourages new inventions which advance our future and beyond!

All Tutorials

Filter by control:

 

Learn with The Robot Program

Learn how to build and program EZ-Robots with The Robot Program!

Detect Multiple Colors

One of the features that makes ez-robot so special is the camera that can detect faces, objects, glyphs, qr codes and multiple colors. For this tutorial, we will use the JD Humanoid. However, this process can easily be applied to any ez-robot configuration.

Last Modified on 9/15/2015

Created by ezrobot


Rgb Array Tutorial

I've added a video to the 18 RGB LED Block, Humanoid Head with Camera & RGB Eyes and 18 RGB LED PCB to explain how to use them. There have been questions in the past on how to set it up for displaying graphical animation. Here's your answer :)

Last Modified on 9/15/2015

Created by ezrobot


Myo Gesture Tutorial

The MYO is a creative controller for interacting with your ez-robot. It uses gestures and an accelerometer to trigger actions, events and move servos. This tutorial demonstrates how to add a Myo to your EZ-Robot. Here's a link to the manual page: http://www.ez-robot.com/Tutorials/Help.aspx?id=206

Last Modified on 9/15/2015

Created by ezrobot


Mobile App Developer Tutorial

So, you've built your ez-robot and now you would like to make your own mobile app. Did you know EZ-Robot has a robot appstore? And that you can easily create your own robot apps to share with the world!

Last Modified on 9/15/2015

Created by ezrobot


Randomizing Answers in Speech Recognition

Want to make your robot respond more naturally and not the same thing every time? Here's how to make it answer differently every time!

Last Modified on 9/15/2015

Created by Cardboard Hacker


Using Exec() Commands To Help Make A Game

K-9 asks "Would you like to play a game?" So from the famous(ish) line from the movie "War Games", I have taught K-9 a simple, but fun game to entertain people and wanted to showcase it here. I've had some time on my hands, and I gave scripting a game a go, the game being "Rock, Paper, Scissors" aka "Roshambo" aka "lots of other things". As K-9 doesn't have any hands I had to think of a way for him to...

Last Modified on 9/15/2015

Created by Steve G


How To Make A Wide Angle Ir Non Contact Bumper

I designed a wide angle IR (non contact) bumper for robots a while back but never used it. It may be useful to the folks here on the forum so I thought I would post it. The neat thing about this IR bumper is that it will detect most objects in front of it without any scanning like using a rotating servo plus ranger so no moving parts and its very fast. It also reports back the position of smaller objects...

Last Modified on 9/15/2015

Created by Toymaker


Lcd Display For Ezb4 - Using Arduino Mini As Controler

Hello again, I have created an LCD Display for the EZB4. This is a very cheep and easy project. You will need 1 LCD display ( my code is set up for 2 line 16 char display) 1 Arduino ( any model will work but i recomend the Pro MINI) Oh here is the wiring . again I am using the pro mini . this is...

Last Modified on 9/15/2015

Created by Luis Vazquez


Notify My Android Integration

As discussed in the Twitter topic, I have successfully integrated Notify My Android's (NMA) API in to EZ-Builder through EZ-Script. This will allow push notifications from EZ-Builder to your Android devices for instant remote warnings and information. To set it up first you must have a Notify My Android account, there are free accounts or for a flat $4.99 fee you can upgrade. Free are fine if you send less than 5 notifications per day but for $5 it's worth upgrading...

Last Modified on 9/15/2015

Created by Rich


Controlling A Kangaroo With The V4

For Dave and Richard and anyone else who is interested, here is fully working and tested code for using the Kangaroo (with bi-directional comms) via the UART on the V4 with encoder feedback. I am still quite new with EZ scripting so the code may not be as elegant as I would like, I could not find an ASCII to decimal function in EZ-Builder so I had to write a block of code to do this DJ maybe I am missing...

Last Modified on 9/17/2015

Created by Toymaker


Command Syntax For Data Retrieval

It seems a lot of people are getting a little confused over the script commands for receiving data and have noticed the syntax is incorrect. So it's tutorial time again :) Basically, the common mistake is to assume the command for receiving ADC, HTTP etc. data is like; However that will return an invalid syntax. If you think about it, that is no different to having a line of code which is; The returned data in the HTTPGet example could be 23, so what...

Last Modified on 9/17/2015

Created by Rich


If Elseif Else Goto & Return Commands

Another one which was written and hidden within a different topic and should warrant it's own tutorial post, the IF (etc.) commands. [quote]If (Value Condition Value ) IF condition can support multiple comparisons and functions. Condition tree must be closed with an ENDIF[/quote] An if command requires a condition, this is the part in brackets after it. Think of it logically, it's the same as you think when you decide IF you want to do something or not. So, for instance, you go to...

Last Modified on 9/17/2015

Created by Rich


Using ADC (Analog to Digital) Ports, Commands and Controls.

This tutorial will cover some basics on using the ADC (Analog to Digital Converter) ports on the EZ-B v4. Included will be some information about the ADC ports, mention some of the peripherals that can be used with them, the EZ-Builder ADC controls you can use, and some script examples for you to look at and try.

Last Modified on 3/23/2016

Created by Steve G


Setting Servo speeds and Initialization Script Tutorial

This tutorial will explain what an initialization script is and how to use them in your EZ-Builder projects. Initialization scripts, sometimes referred to as "Init" scripts are used to prime controls, devices, or existing scripts within your EZ-Builder projects, and sets them ready for use. Sometimes, you may see it referred to as a "Run Once" script. In the next few steps, I will go through how to set an "Init" script up, and go through some of the main uses for this function, that includes servos speeds and setting variables.

Last Modified on 10/16/2015

Created by Steve G


Display Popup Tutorial.

This tutorial will guide you through the setup and various uses for using one of the available plugins that can be found on then EZ-Robot website. The display plugin displays your robots response in a text format on a computer or tablets screen. This is a great option if you have a computer display installed on your robot, as this plugin control can be used where speech synthesis is not an option for people with hearing difficulties, and allows them to interact with your robot. This is also useful if you have a robot that does not speak, much like R2-D2, as this can act as a translator of sorts.

Last Modified on 10/16/2015

Created by Steve G


Explanation and Uses of Arrays.

This Tutorial will explain what an "Array" is, and give you some examples of how they are, or can be used within EZ-Builder and your robotics projects. This is not a "How to" tutorial, but more of a guide explaining how how arrays are used in various applications.

Last Modified on 10/16/2015

Created by Steve G


Soundboard PC & Soundbard EZ-B tutorial.

This tutorial will guide you through how to set up and use the "Soundboard" controls to give your robot the ability to have sound effects and play music without any additional hardware. This tutorial will explain the various soundboard controls, what they do, and will give a couple of examples that you can play with.

Last Modified on 10/16/2015

Created by Steve G


The EZ-Builder Script Manual.

This is an online version of the EZ-Script manual for easy reference. It is a copy of what can be found under the "EZ-Script Help" tab inside of a controls script editor inside EZ-Builder. There are two versions of the manual in this document... the full one page manual, and a broken down version arranged in alphabetical order for your convenience. Use this online manual when you want to reference it, but do not have EZ-Builder on your device.

Last Modified on 10/16/2015

Created by Steve G


Speech Recognition Say It Didn't Understand You

The speech recognition uses a confidence level to determine if it understood your verbal command. This tutorial demonstrates how to add a response to the speech recognition if it does not understand you, and asks to repeat the command.

Last Modified on 1/13/2016

Created by ezrobot


Pulse Flash LED with PWM

Pulse Width Modulation is the method of having a digital port, which is only On or Off to have a varying output voltage. Use this approach to flash and LED with a pulsing effect.

Last Modified on 1/16/2016

Created by ezrobot


Reading and Writing with Files

This tutorial is an introduction to working with text files in EZ-Builder. EZ-Builder gives you the ability to write information to text files and read information from text files. You can use this for logging data, giving your robot a memory, a way to read in data you might not want to manually enter in a script and anything else that your imagination might lead you to use text files for.

Last Modified on 11/20/2017

Created by JustinRatliff


Use Arduino for Wheel Encoder Counter

Have your Arduino count motor encoder rotations. Connect the Arduino to your EZ-B UART #0 port to send the encoder counts.

Last Modified on 5/26/2016

Created by ezrobot


Control Meccano Meccanoid

Connect a Meccanoid to your EZ-B by using an Arduino as the translator.

Last Modified on 6/5/2016

Created by ezrobot


Auto Backup of EZB Project

Using a batch file and a script in EZ-Builder you can create a scripted method to auto backup your EZB project file.

Last Modified on 7/7/2016

Created by JustinRatliff


How To: Control Windows Media Player

How To: Control Windows Media Player The question has come up a couple of time in various forum threads about how to control the Media Player. We have learned many things about how to control the Media Player through these threads, so it's time we make a tutorial. One caveat is that when we talk about the Media Player, we are referring to the Desktop Media Player version, not the "funky" Windows 8 app Media Player. ** Please Note, these PowerShell scripts may not work in Windows 10 **

Last Modified on 8/31/2016

Created by JustinRatliff