Step 1: Connect the Hall effect sensors(A3144) and the gryoscope sensor(MPU6050) to the Arduino as shown below. (Refer to the pinout diagrams for the connections)
o Hall sensors are connected to d9 and d6 of the Arduino
Step 2: Connect the Arduino Uno to the WIZ750SR board (with Serial to Ethernet converter) using an RS-232 cable as follows:
o The transmitting pin (pin 11 in this case) of the Arduino Uno is connected to the receiving pin of the WIZ750SR Serial to Ethernet using the RS-232 cable and jumper wires.
o Receiving pin (pin 10 in this case) of the Arduino is connected to the transmitting pin.
o Ground pin of the Arduino is connected to the ground pin of the WIZnet board.
Step 3: Connect the WIZnet board to the network (for MQTT connection) using an Ethernet LAN cable.
Step 4: Connect both boards to the PC to upload the codes.
– Code for Transmitting Side:
Steps to upload codes to the Serial to Ethernet board:
1. Push the boot switch from normal mode to the boot mode.
2. Open the serial port using ISP tool software.
3. Once “serial open complete” is displayed, upload the ‘os.mbed’ compiled code.
4. Push the boot switch back to the normal position and reset the wiz board.
5. The data received by the board can be monitored using “COOLTERM”.
– Circuit Connection
Step 1: Connect three servo motors to the NodeMCU.
Step 2: Position the servo motors according to the picture below.
Step 3: Upload the code to NodeMCU (ESP8266) via PC.
Step 4: Check the output on the Serial Monitors.
– Code for Receiving Side:
Steps to upload the code into NodeMCU:
- Connect the NodeMCU (ESP8266) to the PC.
- Select the correct COM port from Tools->Port.
- Add the needed libraries to the Arduino compiler. (Refer 1.1)
- Select NodeMCU (ESP8266) from Tools->Boards.
- Compile and upload the code.
We aim at reducing the latency time and developing a client-side monitoring application as further improvements to make the project implementable in a versatile range of industries.