Week Sixteen

Interface and Application Programming

Assignment

write an application that interfaces with an input &/or output device that you made,comparing as many tool options as possible


What i did

I modded Neils IR sensor Python interface by changing the interface collors text then making it sound off a windows system sound My orginal idea was to make it prompt a image when it detected motion and say something else than banana so i changed it to a bnanana detector but it has not yet been tested as a banana detector it has only been tested on what i bellive to have been a avacado rather than a mango annyways it said it was a banana

i spent quite a time finding out how all the versions and ways to impliment what i wanted to do like making it a .exe well i downloaded Pyinstall and well for something as simple as what im doing it would have been a total overkill but as bas commented that when searching for something spesific online it creates a focused answer that isnt allways the best for what you want so the solution was just to make a shorcut and then i did not have to use to command prompt to activate it all the time when just testing it and not programming.


We also tryed out a diffrent programming language Java and that was for the Hall sensor and for that we got to uese one of my co students sensor circuit and for that we had to tinker around with the file since it was not set to recive the bits correctly.

Programs

Banana detecotor interface hello.HC-SR501.py

Links to sites that assisted

Stackoverflow sound
PIL Issue --> solved with a pillow
The most usefull wav help i found

home
Back to Top