Someone asked how to use a Blender animation to code a kind of robot. I will try to answer this question in this post. The first thing that came into my mind is that I knew Blender has a Python API, since I tried to use it few times. Starting from that, I guess 50% … Continue reading Blender, Python, Arduino and Animation
Tag: Python
Python, Serial Port, Arduino and JSON
I always wanted to find an efficient way to share information between an Arduino and a computer. You can send raw strings, use a protocol or even create your own. In this context, I will use as example a DHT11 sensor with an Arduino Uno to retrieve data back. DHT11 Sensor This sensor is very … Continue reading Python, Serial Port, Arduino and JSON
Setup a virtual environment for Python
The advantage of a virtual environment is when you install packages, it is separated from the system installation. Then, it allows you to keep your system Python installation clean. For each project, you can also have separate dependencies. Linux For Linux, you should check first if python3-virtualenv package is installed. If not: sudo apt-get install … Continue reading Setup a virtual environment for Python