Nilton Anchayhua Fab Academy 2015
Home
Assignments
Final project
About me
Week 1 - Principles and practices, project management Week 2 - Computer aided design Week 3 - Computer controlled cutting Week 4 - Electronics production Week 5 - 3d scanning and printing Week 6 - Electronics design Week 7 - Embedded programming Week 8 - Computer controlled machining Week 9 - Molding and casting Week 10 - Break Week 11 - Input devices Week 12 - Output devices Week 13 - Composites Week 14 - Networking and communications Week 15 - Interface and application programming Week 16 - Applictions and implications Week 17 - Mechanical design - machine design Week 18 - Invention, intellectual property and income Week 19 - project development

INTERFACE AND APPLICATION PROGRAMMING

1. Modifications

I used the python code from the input devices assignment - magnetic field code, in this code I modified the interface program, changing the horizontal bar for a circular measurement, in this case i had to learn the Tkinter library, how use the canvas code to create the window interface, how is the current syncronization in the program to do the serial communication and so on. I had to create or define the functions like circle and arc, but I had some difficulties for insert the new code into the primary code, because when I ran the code It showed many mistakes, but finally I got the right code, like I show below


I also had to manipulate the growth value of measurement to show a correct visual interface, in the above figure I show the measurement value that multiply for a constant, but It is only for the graphic interface because the real value is the same in the code program
I show the result in a video.
You can download the archives from here