Assignments
Juan Carlos Pérez Juidias. Fab Lab Escuela Técnica Superior de Arquitectura de la Universidad de Sevilla
Interface & application programming / 10.04.2013
I have no programming experience. But this week I've tried to understand different programming
languages and, well, I was able to change lines of code.
After Neil's class, I thought I had to do something simple to practice. It's a good start for me, then decide
what programming language can help me in my Fab Academy and my work.
My colleague Juan Carlos Venegas has taught a smattering of Processing for us. I have learned a little
about the structure of a program and what my pc and I need to cook programs.
After seeing language processing and some of C language, I have decided that my program would be in
python. I have read PYTHON FOR CHILDREN, an ideal book for me. So, I installed in python ubuntu
and I followed the Neil's classes, I downloaded your code to two plates in the Fab Lab Sevilla have done
for Fab Academy (temperature and light).
At first I started making simple changes in the file hello.light.45.py.Yo changed colors and shapes of the
file. I checked the changes and they were correct.
After I try hello.light plate I've tried with hello.temp plate to receive and display the temperature. I had
already downloaded the Tkinter module, and serial numpy.
I've used Ubuntu gedit to open the file hello.temp.45.py and I made the following changes
(hello.temp.45.prueba.py):
•
I've changed the canvas size
•
I have also changed the color of the canvas.
•
I've added text. I have also changed the position and size of the text displayed temperature.
•
I have changed the title of the window and the character to close the window.
•
To show the temperature increase I have used a rectangle which grows in proportion to the
temperature rise.
At first I had no experience in programming. This practice is for me to know that I have to move much
faster than my colleagues, but I helped start, seriously, to learn programming languages. I hope when I
finish the Fab Academy is good programmer in some language.
For now, I have the Python book for children in my nightstand.
I want to thank my colleague José Pérez de Lama his patience with me and effort for me to end this
practice. Thank you very much.
Software:: Python, tkinter, serial.py, Processing, Ubuntu
Hardware:: hello.temp.45 board, FTDI cable