Page 1 of 1

6-claw robot

Posted: 17 Apr 2017, 11:32
by Dereck
The reference design for 6-claw robot using NuMicro™ M0518 series can be used in teaching, scientific research, entertainment and a variety of contests. This 6-claw robot has a total of six claws with 3 joints respectively to provide 18 action modes including moving forward, backward, left and right, rotating, dancing and so on. A clamp holder is provided in front of the robot to open, close and catch objects.

The launched reference design uses 20-channel PWM to control a total of 20 servo motors. Specifically, the 18-channel PWM is used for controlling the servo motor on the joint of each claw. The other 2-channel PWM is used for controlling the open/close of the clamp holder in front of the robot. The rotation angle of each servo motor can be controlled by adjusting the PWM output duty cycle, thereby allowing for the robot to make a variety of actions.

The M0518 series features 24-channel PWM in which the 20-channel PWM is used to control the robot actions and the 4-channel PWM can be used to achieve other functions. Specifically, the 2-PWM is used for distance detection by sending and capturing infrared signals. When there is an obstacle in front of the robot, the robot will reflect the issued infrared signals and then confirm if the coding of the issued signal captured by PWM is consistent to determine if there are obstacles ahead; if there are obstacles, make the robot back to avoid hitting.

The other 2-channel PWM is used for controlling LED and buzzer. The LED luminance can be adjusted by controlling PWM duty ratio. The PWM output frequency can control the audio frequency in buzzer to have sound with different frequencies.

In addition, the reference design has the battery level detection function, which measures battery voltage through ADC to achieve power detection. When the ADC output voltage is lower than the lower limit of detection, the buzzer will buzz to alert the level is too low.

In terms of communications with robots, UART can be connected with a Bluetooth module for remote control of the robots. After completion of Bluetooth pairing, the six-claw robot can be operated using the APP on smart phones or tablets.
Image

Features
  • NuMicro™ ARM Cortex®-M0 core which supports wide voltage 2.2~5.5V.
  • Supports 24-channel 16-bit PWM output or input capture with frequency up to 100 MHz.
  • Supports 6 UARTs with 24-channel PWM, FIFO depth of 16 bytes.
  • High-speed 12-bit ADC, up to 1 MSPS.
  • Built-in 22.1184 high-speed clock source with precision up to 1% (25 ℃, VDD = 5V).
  • LQFP64 package supports up to 56 GPIO pins.
  • NuMicro™ distinctive encryption and program protection to protect program from being stolen.
Related IC
M0518LD2AE
http://www.nuvoton.com/opencms/products ... _locale=en
NUC131LD2AE
http://www.nuvoton.com/opencms/products ... _locale=en

Video
https://www.youtube.com/watch?v=IwZ8q8fG4g8
Website
http://www.nuvoton.com/hq/support/refer ... _locale=en