==== Operating robot arm to slide brick on the rail ==== On the "floor" of RoboArm laboratory there is a brick, which can be moved by using arm. The brick is placed in rail, which ensure linear moving only. Sending command to servomotors and stepmotors, students can move the brick. === Target group === This hands-on lab guide is intended for the Undergraduates. === 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. === 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 === === 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. //