For this week the assingment was Imput devices like sensors and such, I chose a Pyroelectric sensor wich is a Infa red sensor that uses Pyroelectricity to detect the motion of things in its proximity .
I modeld the board after Neils design but added a pin connector to the board instead of soldering it directly to it.
Programming the board was fairly simple connecting it with the ISP but checking and checking again that the connectors where propperly connected,then loading the program with Avrdude. The only diffreance in that prosess was that the fuses did not need to be set becouse the tiny45 does not require it.
Setting up Python took some time becouse my computer did not understand it so i could not see the GUI but was solved by adding it to its path i had found the sulution for it but windows10 was not the most coperative mainly being that they allways have to change layouts and how things work. Then it finaly was ready to communicate and the sensor worked perfecly.
C files and Hex
C