Controlling Servos from Cinema 4D using an Arduino

3 Просмотры
In this long form tutorial, I will show you how to control 3 servos connected to an Arduino or other compatible Micro Controller, from Cinema 4D. The project consists of a Cinema 4D file, that includes a Python tag which requires the "pyserial" library to function, and an Arduino Sketch.
In the process, I will explain how to install the "serial" library in Cinema 4D's python, what the code does, and how to connect the servos to the Arduino.
A big shout-out goes to Manuel Magalhaes (Twitter @valkaari - for writing the most important part of the Arduino code, the byte stream decoding. Thank you Manuel!

You can get the "pyserial" library and read the documentation here:
Here are the project files:

00:00 - intro
02:35 - PySerial
05:44 - Python Code in Cinema 4D
27:00 - Arduino Sketch
33:33 - Hooking Up Servos to Arduino
44:12 - Epilog

Watch more Maxon tutorials here:
and here:

Check out 3D Fluff's Youtube Channel here:

To keep getting great Cinema 4D video tutorials:
1. Like
2. Subscribe
3. Sign up at
4. Connect with us at
5. Follow me on Twitter
Комментариев нет.