This is an example application demonstrating building an EtherCAT system using Esmacat

Dependencies:   EsmacatShield X_NUCLEO_IHM01A1

Basic Information of Esmacat

Information about Esmacat and EASE is provided in the link below. https://os.mbed.com/users/pratima_hb/code/EASE_Example/wiki/Homepage

Information about the hardware needs and setup is provided in the link below. https://os.mbed.com/users/pratima_hb/code/EASE_Example/wiki/Hardware-Setup

Information about the structure of the system and it's software is provided in the link below. https://os.mbed.com/users/pratima_hb/code/EASE_Example/wiki/Software

About this example

This is an example application to demonstrate the ease with which a system, which communicates over EtherCAT, can be build. It measures the RPM of a motor using a proximity sensor.

Following lists the hardware required

  • 2 x Mbed boards with Arduino UNO form factor (NUCLEO-F103RB)
  • 2 x EASE boards
  • 1 x proximity sensor shield (X_NUCLEO_6180XA1)
  • 1 x Motor shield (X-NUCLEO-IHM01A1)
  • 1 x stepper motor
  • 1 x Ethernet POE injector with a 24VDC power supply
  • 2 x Ethernet cables
  • Keyboard, mouse, and monitor
  • PC with Linux/Windows OS installed
  • DC power supply for motor

https://os.mbed.com/media/uploads/pratima_hb/system_pic1.jpg

Click here to know more about this Example

Files at this revision

API Documentation at this revision

Comitter:
pratima_hb
Date:
Thu Feb 13 17:33:59 2020 +0000
Parent:
40:fc0e002acc8c
Commit message:
Motor code for System example

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r fc0e002acc8c -r faa7b7382f2f main.cpp
--- a/main.cpp	Thu Feb 13 17:16:43 2020 +0000
+++ b/main.cpp	Thu Feb 13 17:33:59 2020 +0000
@@ -94,8 +94,6 @@
 ///* Esmacat code*/
 
 /* Definitions ---------------------------------------------------------------*/
-
-
 #define STEPS_1 (400 * 8)   /* 1 revolution given a 400 steps motor configured at 1/8 microstep mode. */
 /* Delay in milliseconds. */
 #define DELAY_1 1000