hexapod robot
DESCRIPTION
This is a Hexapod robot developed at the Robotics Lab, DTUTRANSCRIPT
![Page 1: Hexapod Robot](https://reader035.vdocuments.net/reader035/viewer/2022081715/54544787b1af9f241f8b4b83/html5/thumbnails/1.jpg)
Hi-Tech Robotics Team 1
HEXAPOD
![Page 2: Hexapod Robot](https://reader035.vdocuments.net/reader035/viewer/2022081715/54544787b1af9f241f8b4b83/html5/thumbnails/2.jpg)
Hi-Tech Robotics Team 2
Hexapod:
A hexapod is a robot that walks on six legs. Locomotion: hexapods are controlled by gaits, some of
which are,• Alternating tripod: 3 legs on the ground at a time• Quadruped• Crawl: move just one leg at a time
A-Pod Ziggy
Introduction
![Page 3: Hexapod Robot](https://reader035.vdocuments.net/reader035/viewer/2022081715/54544787b1af9f241f8b4b83/html5/thumbnails/3.jpg)
Hi-Tech Robotics Team 3
Hexapod: Hardware Components
Servo: Futaba S3003
![Page 4: Hexapod Robot](https://reader035.vdocuments.net/reader035/viewer/2022081715/54544787b1af9f241f8b4b83/html5/thumbnails/4.jpg)
Hi-Tech Robotics Team 4
Hexapod: Hardware Components
Microcontroller: ATMega32
![Page 5: Hexapod Robot](https://reader035.vdocuments.net/reader035/viewer/2022081715/54544787b1af9f241f8b4b83/html5/thumbnails/5.jpg)
Hi-Tech Robotics Team 5
Development Board: from Robokits.com
Hexapod: Hardware Components
![Page 6: Hexapod Robot](https://reader035.vdocuments.net/reader035/viewer/2022081715/54544787b1af9f241f8b4b83/html5/thumbnails/6.jpg)
Hi-Tech Robotics Team 6
Hexapod:
Compiler/Debugger: AVR Studio 5.0 Programming Language: Embedded C Simulation Software: Proteus (ISIS 7 Professional) Terminal Program: XCTU
Programming
![Page 7: Hexapod Robot](https://reader035.vdocuments.net/reader035/viewer/2022081715/54544787b1af9f241f8b4b83/html5/thumbnails/7.jpg)
Hi-Tech Robotics Team 7
Servo PWM code:
Using predefined PWMs of ATMega32• Timer 1, fast PWM mode• Clock freq. of 1MHz• PWM period set to 20ms by setting timer TOP(ICR1)
value at 20000
Shortcomings: Predefined PWM outputs available: 4 PWM channels required: 12
Version 1
![Page 8: Hexapod Robot](https://reader035.vdocuments.net/reader035/viewer/2022081715/54544787b1af9f241f8b4b83/html5/thumbnails/8.jpg)
Hi-Tech Robotics Team 8
Servo PWM code:
Using Bit-Bang technique: manually implement PWM on any pin by repeatedly turning the pin on and off for the desired times.• Advantage: any digital output pin can be used. • Timer 1, CTC mode
All PWMs start at 0 count, duty cycles end in decreasing order of their pulse width.
Shortcomings: Results not satisfactory: lack of precision, unsuitable for hexapod gait programming
Version 2
Time(ms)Duty cycle 1 ends
All PWMs start 0
Duty cycle 2 ends
Duty cycle 3 ends
End of PWM cycle
![Page 9: Hexapod Robot](https://reader035.vdocuments.net/reader035/viewer/2022081715/54544787b1af9f241f8b4b83/html5/thumbnails/9.jpg)
Hi-Tech Robotics Team 9
Servo PWM code:
Using Bit-Banging• Timer 1, CTC mode
The next PWMs duty cycle starts at the end of first one’s Satisfactory results: good precision, suitable for hexapod gait programming
Version 3
Time(ms)Duty cycle 1 endsDuty cycle 2 starts
Duty cycle 1 starts start
0Duty cycle 2 endsDuty cycle 3 starts
Duty cycle 3 ends
End of PWM cycle
![Page 10: Hexapod Robot](https://reader035.vdocuments.net/reader035/viewer/2022081715/54544787b1af9f241f8b4b83/html5/thumbnails/10.jpg)
Hi-Tech Robotics Team 10
Hexapod: The complete code
Gait mechanism: Alternating tripod
12 PWM channels available on pins B0-7, D4-7 Motion commands transmitted from Laptop to Hexapod through serial cable
• Using USART feature of AtMega 32• Using XCTU terminal program installed in the laptop
Motion controls:• Standby• Push-up• Move Forward• Move Left• Move Right• Move Backward
![Page 11: Hexapod Robot](https://reader035.vdocuments.net/reader035/viewer/2022081715/54544787b1af9f241f8b4b83/html5/thumbnails/11.jpg)
Hi-Tech Robotics Team 11
Hexapod: A Glimpse
![Page 12: Hexapod Robot](https://reader035.vdocuments.net/reader035/viewer/2022081715/54544787b1af9f241f8b4b83/html5/thumbnails/12.jpg)
Hi-Tech Robotics Team 12
Presentation by: Himanshu Rao
THANK YOU