Turn-key PCB assembly services in prototype quantities or low-volume to mid-volume production runs

Reading serial data from chipKIT UNO32 using Python3 and pyserial

installing python3 - path variable

Python is great programming (scripting) language that is supported on all platforms. Embedded enthusiasts love it because of the variety of modules that allows connecting things to the internet and other crazy stuff by writing only a few lines of code. Today my interest was to read serial data using Python 3.3 and pyserial module. Python 3.3 is still new, and there is a majority of modules that needs to be ported from Python 2 to Python 3, but I hope soon they will here. The serial module seems to be working fine in Windows 7 x64 and decided to share my experience. First of all download and install Python 3 (current release is Python 3.3) Just be sure to include “Add python.exe to Path” so you could run Python anywhere in your computer. We won’t go into details on how to setup this tool. It is pretty robust. After setup python install is placed in C:\Python33, to test if things work OK open command prompt and type python you should see python prompt:

Continue reading