_PHOTOTRANSISTOR
This week's assignament was to learn how to measure responses from a sensor added to a microcontroller board. The board I made has a phototransistor, taken from the Class Archive files and redraw it.
To program the board:
Download the C, Make and python files
In the command prompt terminal run the hello.light.45.make to make the hex file
Next is programming the Tiny45: sudo make-f hello.light.45.make program-usbtiny
To measure the sensor run the .py file in python. Download Python3.4 and once in the folder where the .py file is type python hello.light.45.py COM... You need to define which port is being used. In windows go to device manager + ports (COM12) in my case.
I started a second board which contains a pyroeletric device but as I had several issues programming the first board on Windows, I wasn´t able to finish it.