Plugins / ptp / Serial Toolbox

Serial Toolbox

Provides two different features: An EZB Uart Serial Parser, SerialTcpBridge (Connect EZ-Robot Camera via USB)

Register   Download Plugin

This plugin is version 2, was last modified on 11/20/2017, and is 33,941 Bytes. The author is ptp.

Requirements

This plugin requires EZ-Builder for Microsoft Windows PC.

  Get EZ-Builder for Windows

Plugin Details

Version 2
========================
New Feature: EZB Uart Serial Parser

User-inserted image

Results:
User-inserted image

//TODO: Improve details



This plugin requires:
========================
1) Extra hardware

1.1) Teensy 3.2 Micro-controller

https://www.pjrc.com/store/teensy32.html

http://www.robotshop.com/en/teensy-32-usb-microcontroller-development-board.html

1.2) JST 2.0 PH 6-Pin Male Connector

https://www.digikey.com/product-detail/en/jst-sales-america-inc/B6B-PH-K-S(LF)(SN)/455-1708-ND/926615

1.3 ) JST 2.0 PH 6-Pin Female Connector with cable (Optional)

2) Extra Knowledge: One time only, needed to program the micro-controller

2.1) Arduino IDE 1.6 or higher

https://www.arduino.cc/en/Main/Software

2.2) Teensy (Micro-Controller) driver & add-on for Arduino IDE

https://www.pjrc.com/teensy/loader_win10.html

3) Target Audience

DIY users with hardware experience.

Teensy Setup (One time only)
========================

Firmware code:

Code:


void setup() {
Serial.begin(3333333);

Serial1.begin(3333333);
Serial1.attachRts(2);
Serial1.attachCts(18);
}

void loop() {
if (Serial1.available() > 0) {
byte b = Serial1.read();
Serial.write(b);
}

while (Serial.available() > 0)
{
byte b = Serial.read();
Serial1.write(b);
}
}



Wiring:
User-inserted image

How to use
========================
1) Download and Install this plugin

2) Connect Teensy usb port (MicroB) to your Desktop/Mini PC usb port

3) Start EZ-Builder

add the plugin to your project:
User-inserted image

configure the usb serial port (teensy):
User-inserted image

connect/disconnect:
User-inserted image

setup the camera url:
User-inserted image
Notes:
2424 is the default TCP Port
The url port must be equal to the plugin Configuration's Local port.

Ez-Script:
connects the usb camera and then starts the camera control.
User-inserted image


Disclaimer
========================
The information contained here is for general information purposes only.
The information is provided by PTP (Forum Member) and while I try to keep the information up to date and correct, I make no representations or warranties of any kind, express or implied, about the completeness, accuracy, reliability, suitability or availability with respect to the website or the information, products, services, or related graphics contained here for any purpose. Any reliance you place on such information is therefore strictly at your own risk.
In no event will we be liable for any loss or damage including without limitation, indirect or consequential loss or damage.