WIZnet Controlled Robotic Arm

Control your robotic arm from long distance using Ethernet.
introduction
If you want to communicate with a serial device then possibly maximum cable length is the main barrier. The maximum cable length for standard baud rate can be 50 ft. You can increase the cable length further by sacrificing the data rate. Moreover now a days most of the PC come without the serial port. An Ethernet to Serial converter may be an ideal solution of the above problems. You can transfer data to a serial device in a high speed through Ethernet port. Cable length can be 100 meters or more.
how to use

img_4662_WcrOAKw61k.jpg

First, I configured the WIZnet device using S2E configuration tool from WIZnet as follows (note the IP address and the port number). WIZnet device is configured as TCP server. The Baud rate of serial communication should be 115200 (ignore the rate on the image).

Then I connected a 3.3V USB FTDI converter to the WIZ750SR to check the serial communication. I used PuTTY to test the communication.

I open two PuTTY windows one as Telnet client and another as Serial client.

After successfully checking the serial communication I connected an Arduino board to the WIZ750SR using TX and RX pin.

For connecting WIZ750SR with Arduino board it is safe to use a level converter because WIZ750SR works at 3.3V where Arduino works at 5V. Here I connected a level shifter between WIZ750SR an Arduino board. High voltage side of the level shifter must be connected with Arduino and low voltage side of the level shifter must be connected with WIZ750SR.

I tested the WIZ750SR device with both Arduino NANO and Arduino UNO.

For controlling the robotic arm from my PC through Ethernet I developed an desktop application using Processing. Processing is sending data to Arduino using a virtual COM port.

A virtual COM port or a virtual serial port is an ideal solution for when a legacy software application expects a connection to a serial device port (COM port) but cannot connect, due to a physical lack of available serial ports. Instead, we reconfigure the computer to send serial port data over a local area network or the Internet as if over a true serial port. When the legacy application sends data to a serial COM port, it is actually transmitted over a TCP/IP network and back from the network to your legacy application — and presto! — we have a virtual serial or virtual COM port.

To know details about virtual COM port (how they work and how to configure) please keep a look of the link: https://www.netburner.com/learn/how-to-create-a-virtual-serial-port

To set up a virtual COM port to your PC you will be required a third party tool. You may use WIZ VSP for this purpose. I used another tool from NetBurner. I downloaded the NetBurner virtual COM port tool from here and configure it as follows:

After configuring the virtual COM port as COM20 I developed a Processing program to interact graphically to Arduino robotic arm using WIZ750SR. To run the processing code you need to add the ControlP5 GUI library for Processing. Download the library from here: http://www.sojamo.de/libraries/controlP5/. Please note the COM port number which must be the number of the virtual COM port you created using NetBurner.

The graphical output of the Processing program is as follows:

Schematics

Connection of servo motors to Arduino

Arm schematic ytlxulke1o

Graphical Interface of Desktop Application

Output buisyhmsxc

Virtual COM Port

Vcom notional1 knuho9ovxd

WIZ750SR Pinout

Wiz750sr all pinout 20160628 nzs9bne 2batdiisrh shyh4taxag
documents
Code
Md. Khairul Alam
Code for Desktop Application

COMMENTS

Please Login to comment
  Subscribe  
Notify of