Synchronize servo, stepmotor using accelerometer to ensure linear route of the end of the robot arm
This is scenario similar to “Operating robot arm to slide brick on the rail”. Mainly different is precisely defined trajectory of end of arm.
Target group
This hands-on lab guide is intended for the Undergraduates Masters.
Prerequisites
At the beginning, students should make both exercises for Beginners at this laboratory (controling stepmotor and servomotors). Additionaly students should understanding of working proximity sensors, and methods resolving reverse kinematic problem.
Scenario
using schematic, check ESP ports which I2C controlled,
using schematic, check ESP ports which DIR and STEP (stepmotor) controlled,
using schematic, check ESP port which servomotors signal controlled (PWM),
using schematic, check ESP port which proximity sensors controlled,
using documentation of sensor check registers of accelerometer,
using documentation check working of proximity sensor,
using display documentation check way for display digits on HD44780,
check I2C address for every device,
append programs from both previously exercises, which will can move stepmotor and servomotor,
find points (sending command to stepmotor and servomotor) in trajectory which to make way shifting brick
write the program loop which shifting the brick from left wall to right wall. After indicate brick near right wall, reverse direction of shifting.
NOTE: For reverse direction, end of arm has to move above the brick.
Result
Effect of running algorithm, can be observed via camera. Second way for acknowledge is observe signal from proximity sensors.
Start
Steps
Result validation
Provide some result validation methods, for self assesment.
FAQ
This section is to be extended as new questions appear.
When using the printed version of this manual please refer to the latest online version of this document to obtain the valid and up-to-date list of the FAQ.
Provide some FAQs in the following form:
Question?: Answer.