Hello. I would like to share a .VBS (Visual basic script) file that i found,which is basically a very compact way to send an email message when my picaxe detects an event. I have the following set up :door contact sensors , IR sensor , temp sensor (DS18b20),keypad, which are connected to a 40X2 PICAXE. The picaxe monitors these sensors and periodically sends serial data to my PC over the axe027 usb cable.Iam running Robot Basic (free) or Modcom (free). Either one of these programs watches the serial data for keywords/data and upon receipt can make a call to an external program (.exe). The external program is the email send VBS script which i converted to an .exe using a program called ScriptCryptor (not free). In my case i have it set up to send a preformatted email to me when my son arrives home from school or if there has been an unauthorized entry into my home. The VBS.txt file can be edited using notepad. You simply change the:from,to,subject,message,port,authentication to suit your needs then save as xxxx.vbs .Next you convert from xxxx.vbs to xxxx.exe . This roundabout method allows the picaxe to communicate with the outside world!
Attachments
-
2.8 KB Views: 25