- Notifications
You must be signed in to change notification settings - Fork0
Arduino Library for ICS (Kondo Servo)
License
iory/arduino-ics
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a library for Kondo servos that supports Arduino and ESP with PlatformIO.You can easily perform ICS communication and control Kondo servos with it.
Install udev to give permission to the device.
curl -fsSL https://raw.githubusercontent.com/platformio/platformio-core/develop/platformio/assets/system/99-platformio-udev.rules | sudo tee /etc/udev/rules.d/99-platformio-udev.rulessudo udevadm control --reload-rulessudo udevadm trigger
Ubuntu/Debian users may need to add own “username” to the “dialout” group if they are not “root”, doing this issuing
sudo usermod -a -G dialout $USERsudo usermod -a -G plugdev $USER
pip3 install platformio -U
Connect the servo as shown in the diagram below. Ensure that a 2.2kΩ resistor is placed between the RX and TX pins for proper operation.
For more details on the serial servo configuration, please refer to the official documentation:Kondo Serial Servo Wiring
pio run -e example_rotate_nano_every -t upload
You should be able to confirm that the servo is rotating.
To installclang-format
, you can use the following command:
pip install clang-format
Once installed, you can format your files using a.clang-format
configuration file. To format a file, run:
clang-format -i <filename>
Replace<filename>
with the name of the file you want to format. The-i
option tellsclang-format
to edit the file in place.