halllooki.blogg.se

Install and use coolterm
Install and use coolterm













install and use coolterm install and use coolterm

(this should work if and only if you have python installed in Cygwin) 3. Under Cygwin terminal, change directory to the unzipped file, and enter: To get the serial module, you'll have to download the source file here, unzip it under the home directory of Cygwin You must make sure that the Python packages are included in your installation of Cygwin, including Tkinter (you can do this by reinstalling Cygwin and enabling the packages) 2. Install Cygwin with Python package.ĭownload and install Cygwin. The following tutorials are based on the class project documentation of Chris. Once you install it, you could open the Cygwin terminal through Start menu If you navigate to Cygwin folder, you will see the home folder The file path in the Cygwin terminal starts from this home folder. If you like to see the raw serial communication as well as ASCI and prefer a GUI over command line this may be of interest.Ĭygwin is a collection of tools which gives a linux look under windows system. To get out of screen, press Control-A, and then K, and then say yes when it asks if you want to kill the session (if you just close the window, it remains connected in the background and makes it hard to reconnect).

install and use coolterm

Screen is a command line serial terminal that comes with mac os. Neil wrote a general file to read out the raw data of the serial's print out both in decimal and hex, it can be used as a general serial reader. The second argument is the baud rate (I think Neil's normal code runs at 115200 baud). It takes in two argument - the first is the port for the usb-serial interface (so the * uses the shell's matching to select anything of the form /dev/tty.usbSOMECRYPTICNUMBER) Since filename.py is a python script, you need to call it with the python interpreter. Otherwise, install the serial by typing in:įrom the folder where term.py is located, try the commandįor example, if the baud rate is 9600, the you could type in "python filename.py /dev/tty.usb* 9600" notice that in Neil's examples for different sensors, some take in only the USB serial port but not the baud rate (baut rate is pre-defined inside the file), in that case, you could just do "python filename.py /dev.usb*" Also check the baud rate, some file has 9600, others have 115200 If serial is installed, there won't be any remind message. To check if your mac has python serial built in, type in "Python" to switch to python shell, then type in: Type "help", "copyright", "credits" or "license" for more information. Run Python code to read out serial output from Mac OX Lion, Windows 7 and Ubuntu















Install and use coolterm