3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Snow Clock (Arduino Based)

Step 4Software

Software
«
  • settings.gif
  • clockset.gif
Now we must work on the software.
This is all based on Python so we need to install Python 2.6.1
We also need to install pySerial to have communication to the Arduino.
Since you need pySerial you also need pythonWin.
Make sure that the Arduino Drivers are in your computer too.

Now that you have the base system installed we can download the code.
The software that will go and check the school closings is called PySchoolClock. That can be downloaded from the zip file below. PySchoolClock allows you to edit the action of school being on or closed. Inside the zip file is also snow.py. I have already changed the settings file to do that when closed. I have also deleted any action to take when it is open.

Now you must find which port your Arduino is plugged into. Do this by plugging in your Arduino and then starting the program. Then go to Tools>Serial Port and try to upload some code to each one. Once you have the serial port selected write it down.

Then open snow.py and on the second line remove COM6 and replace it with your serial port.

Now open Clock-GUI.exe and make all the changes you need to in that. DO NOT CHANGE THE ACTIONS! MAKE SURE THAT YOU SAVE TO THE PREVIOUS SETTING FILE! NO EXTENSION!
« Previous StepDownload PDFView All StepsNext Step »
2 comments
Aug 21, 2009. 3:38 PMmotoxer1254 says:
do you know of any places to find where the closings would be listed?

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
0
Followers
2
Author:insingertech