Week_14 Assignments

Group assignment

We used scratch to arduino application to control an LED using a lion shaped button.

We used processing to get the readings of a moisture sensor presented on a sliding bar.

Individual assignment

For my assignment I wanted it to be part of my final project I wanted to make the GUI where The machine can be controlled. And could look like this:

I used tkinter package to build up the GUI and pyserial package to communicate with the arduino.

Before I created a virtual environment to make a space where i can experiment with packages and versions without damaging or get confused if I had to try more than one version. I already had python 3.7.9, python 3.6.6 and python 3.12.1 but I used 3.7.9. When you are installing python (whichever version) make sure you check the add to path box.

I followed the amazing tutorial of Mr. Paul Mcwhorter on how to make a virtual environment.

You can download my files from here: