Reading serial data from chipKIT UNO32 using Python3 and pyserial

installing python3 - path variable

Python is a great programming (scripting) language that is supported on all platforms. Embedded enthusiasts love it because of variety of modules that allows connecting things to internet and other crazy stuff by writing only few lines of code. Today my interest was to read serial data with 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. 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 you computer. We wont go in to 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