wo more updates as far as my expenditures are concerned:
1/ Bought Nexus 7 32GB,WIFI+3G during Diwali Sale for Rs. 15K
2/ Bought Belkin Uttimate mouse for Rs. 700
3/ Tablet cover - Rs.850
Using tab for mostly watching videos in leisure time and spending time on Quora.
The Mouse has helped me finally to zoom-in and zoom-on conviniently while working from home on Cadence simvision tool :P
I downloaded an App called "Learn Python" to brush up my Python basics and use it as a reference/help.
While going through the app,I came across the GUI programming section based on using Tkinter library and suddenly I remembered my 3-1 PID temperature controller project.
Basically, the project involved PC based temperature monitor and control.The control aspect was setting the PID parameters using the UART terminal screen or by giving it via cmd line arguments.I wanted to make a GUI in python for it but I couldn't find time then (also I was novice to python and was concerned more on the hardware aspect.)
But now on going through the guide, I found that the Tkinter is pretty easy to use and fits my purpose- not only for this one as well as latter projects in which I wish to do in which I want to dynamically input data !!
I started going through the reference on http://www.tutorialspoint.com/python/ and managed to create a simple GUI frontend for the controller.Below is the snapshot:
1/ Bought Nexus 7 32GB,WIFI+3G during Diwali Sale for Rs. 15K
2/ Bought Belkin Uttimate mouse for Rs. 700
3/ Tablet cover - Rs.850
Using tab for mostly watching videos in leisure time and spending time on Quora.
The Mouse has helped me finally to zoom-in and zoom-on conviniently while working from home on Cadence simvision tool :P
I downloaded an App called "Learn Python" to brush up my Python basics and use it as a reference/help.
While going through the app,I came across the GUI programming section based on using Tkinter library and suddenly I remembered my 3-1 PID temperature controller project.
Basically, the project involved PC based temperature monitor and control.The control aspect was setting the PID parameters using the UART terminal screen or by giving it via cmd line arguments.I wanted to make a GUI in python for it but I couldn't find time then (also I was novice to python and was concerned more on the hardware aspect.)
But now on going through the guide, I found that the Tkinter is pretty easy to use and fits my purpose- not only for this one as well as latter projects in which I wish to do in which I want to dynamically input data !!
I started going through the reference on http://www.tutorialspoint.com/python/ and managed to create a simple GUI frontend for the controller.Below is the snapshot:
A snapshot of the output :
Here is the code:"tkinter_gui"
import tkinter def click(): tkinter.messagebox.showinfo("PID Tuning", "\n Kp= "+e_kp.get()+",Ki= "+e_ki.get()+",Kd= "+e_kd.get()+"\n== Parameters Set==\n") top = tkinter.Tk() B = tkinter.Button(top,text="Set",command = click) B.pack(side="bottom") name = tkinter.Label(top,text="PID Tuning") name.pack() top_f = tkinter.Frame(top) top_f.pack(side="top",fill="x") middle_f = tkinter.Frame(top) middle_f.pack(side="top",fill="x") bottom_f = tkinter.Frame(top) bottom_f.pack(side="bottom",fill="x") l_kp = tkinter.Label(top_f,text="Kp:") l_kp.pack(side="left") e_kp = tkinter.Entry(top_f) e_kp.pack(side="right") e_kp.insert(0,"0") l_ki = tkinter.Label(middle_f,text="Ki:") l_ki.pack(side="left") e_ki = tkinter.Entry(middle_f) e_ki.pack(side="right") e_ki.insert(0,"0") l_kd = tkinter.Label(bottom_f,text="Kd:") l_kd.pack(side="left") e_kd = tkinter.Entry(bottom_f) e_kd.pack(side="right") e_kd.insert(0,"0") top.mainloop()