Community Question

We are looking to find out if the EZ-Robot platform can be used to read and act on data streams from a laboratory grade light meter and a LIDAR. Basically, we expect a string of data from the light meter that would have to be parsed and acted upon.

I envision that we would need to write a routine in C or Visual basic that would poll the meter and receive the string, parse and communicate that information. I have not done this before in EZ builder. Can I run EZ-builder with specific "canned" modules running while also running a C or VB routine that would do a function that is too advanced for scripting?

Does anyone have some examples of code we could review where an external program is called and run from EZ-B?
Commented May 2015
I have an intern working on this and he is already reprogrammed the teensy controller such that the format is easier to read. It is sending back a three data points per read ..angle, distance and quality. We can actually post the Arduino code modifications and the EZ Builder project.
Robot Doc
Commented May 2015
Justin It seems that all digital ports can be used to transmit serial data but not receive data. here's a blurb from the EZB(4) pdf data sheet:

May 18
2014 EZ
Robot Inc. All rights reserved. The information in this document is believed to be accurate at the time of publication, however specifications are subject to change without prior notice.
\Rev 0.5

Digital I/O

Digital I/O ports: D0-D23

Software configurable for
transmit serial
output 3.3
PWM, and more.

Input Max 5 VDC TTL Logic
Output Max 3.3 VDC TTL Logic

Special functions:
D5 can control Dynamixel servos
D5 (TX) and D6 (RX) can be used as UART1
with 5kB Receive buffer
D18 (TX) and D19 (RX) can be used as UART2
with 5kB Receive buffer
Commented May 2015
Any digital can be set up to send serial. There are 3 that are setup to receive serial.

Had it backwards... right now.
Commented May 2015

Posting would be so useful for me and potentially others in the community who are following in your footsteps.

I like the idea of an intern working on the code - I wish I had the luxury of that!

Can you say more of your plans for how you will use the data when it comes into the EZB4?


Commented May 2015
Thanks all for the help!
Asked on Wednesday, May 20, 2015