logo fab

Input devices:

At this week assignment it was requested to measure something: add a sensor to a microcontroller board and measure something. I chose the promissing step-response sensor. Like before, I started on Eagle software to practice designing the traces based on the original board leaving a larger area on the left to actuate as sensing copper surface. Then took right away on Modela milling the board on a FR1 copper plate that seemed never be absolute flat (at this upper right side corner).

10_inputdevices_milling.jpg
inputdevices_board.jpg
At the end it seemed very nice to look at, so sorted out on stuffing it with the components.
10_inputdevices_stuffed.jpg
Only to realize after my mistake! With all that rush I forgot to make trace connections between SCK pin to PB2/RX trace on Eagle! What a rookie :( Solved it by a jumper wire (upper the board)just like the connected sense pin to the left copper area (under the board).
10_step_response_traces_error.jpg
10_step_response_pcb.jpg
Then used fabISP board connected to the step response board to program it by inserting the CMD line "make -f hello.load.45.make program-usbtiny" from the respective folder.
10_fabisp_stepresponse.jpg
10_cmdline_stepresponse_program.jpg
For Phyton, Pyserial and Tkinter just followed fab master "Luis Carvao" page on his instalation process. After this connect the step response board to your PC by the FTDI cable and again run the CMD line from the folder where you downloaded the python file. At the end insert your serial port number accordingly, in my case was COM14.
10_cmdline_stepresponse_python.jpg
Finally the step response sensor will display different values when you press it.



You can download Eagle files here:

STEP RESPONSE DV