Step 4Software
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 Step | Download PDFView All Steps | Next Step » |
2
comments
|
Add Comment
|
![]() |
Add Comment
|















































