gnanesh-16
released this
26 Mar 09:12
·
4 commits
to main
since this release
Automated Gigglethon Release v1.0.0
New Features
- Advanced Arduino script for precise servo motor management, enabling bidirectional linear and lateral movements of a robotic arm with enhanced smoothness, leveraging integrated motor systems and robotic base dynamics.
Arduino Sketch Update
The included Arduino sketch (servo_control.ino
) provides the following features:
- Control of four individual servo motors.
- Smooth scanning motion from 0 to 180 degrees.
- Example usage of the
Servo.h
library to manage multiple servos.
## How to Use
To use this sketch, simply upload it to your Arduino board using the Arduino IDE. Ensure you have the Servo.h
library installed.
Code Snippet
`#include <Servo.h>
Servo servol;
Servo servo2;
Servo servo3;
Servo servo4;
void loop() {
// scan from 0 to 360 degrees
for (servoPos = 0; servoPos <= 180; servoPos++) {
servol.write(-1*servoPos);
servo2.write(servoPos);
servo3.write(servoPos);
delay(10);
}
for (servoPos = 0; servoPos <= 180; servoPos++) {
servol.write(servoPos);
servo3.write(servoPos);
servo4.write(servoPos);
delay(10);
}
// now scan back from 180 to 0 degrees
for (servoPos = 180; servoPos >= 0; servoPos--) {
servol.write(servoPos);
servo2.write(servoPos);
//servo3.write(servoPos);
servo4.write(servoPos);
delay(10);
}
}`
## What's Changed
* Optimize code by @SaiSrinivas13 in https://github.com/gnanesh-16/Automated_gigglethon/pull/4
* Added to Contributions list by @SaiSrinivas13 in https://github.com/gnanesh-16/Automated_gigglethon/pull/5
## New Contributors
* @SaiSrinivas13 made their first contribution in https://github.com/gnanesh-16/Automated_gigglethon/pull/4
**Full Changelog**: https://github.com/gnanesh-16/Automated_gigglethon/commits/GIggalathon_v1.0.0