energylifelucky.blogg.se

Coolterm mac download
Coolterm mac download












coolterm mac download
  1. #COOLTERM MAC DOWNLOAD SERIAL#
  2. #COOLTERM MAC DOWNLOAD CODE#

  • Disconnect – Close the connection to the xBee.
  • Display alert – Display the string in an alert box for when I can not hear it cause my music is PUMPING (It does that from time to time).
  • Say – Get my mac to read out the string to me.
  • ReadAll – Read all the characters out of the buffer into a string.
  • Poll – Load the information out of the buffer in to CoolTerm ready for use.
  • Write – Write a single character to make the Arduino sample the temp and send it back to me.
  • Connect – Connect using the settings in the file I loaded.
  • Load – Load a settings file that I saved.
  • Tell – Tell AppleScript what program I am talking to.
  • I wrote down in english what I needed to do.

    coolterm mac download

    #COOLTERM MAC DOWNLOAD CODE#

    After reading the API documentation and going through the example code that they provided I found it was pretty easy. I knew that I want to use the AppleScripting abilities of CoolTerm cause it is pretty cool and opens a lot of possibilities for other projects. So I am going to explain my process in designing this little project as I find it is the easiest way to attack a small project. Pretty easy and would be a great base for a datalogging application or something of the sort, such as the AppleScript could be modified to open a file and log the latest temp every 15 minutes or so on.

    coolterm mac download

    It works when I send a single character through my xBee on my computer, the Arduino replies with the current temperature through the xBee and the AppleScript says it out loud and displays a dialog with the string as well. Now the project is a very simple Temp sensor based on the LM35 from Nation Semiconductor ( Datasheet). Now my experience with AppleScript or lack there of does not matter as the guys that made CoolTerm documented it well, and gave us two examples.

    #COOLTERM MAC DOWNLOAD SERIAL#

    CoolTerm the serial communication software that we used to listen/program the xBee has AppleScripting capabilities built in. So I came up with this little beauty of a project (Ok really small and easy half a project). I said in my last post yesterday that I was going to show you something more useful than an Arduino wirelessly counting (It was AWESOME I know).














    Coolterm mac download