Popular posts from this blog
Pinguino as Voltmeter V2
By
Marin
-
Yesterday I improved the Pinguino as Voltmeter Python UI. The scale has numbers, the needle is read and there are some other small UI improvements. But the most significant change is that the widget is not repainted every 20 milliseconds. Now it is repainted only when needle moves. The Class still stays under 50 lines of code. There has been no changes to Pinguino Class. The new version can be found on pastebin . And here is the screenshot: bb4now, PMC
Pinguino as Voltmeter (Multimeter)
By
Marin
-
Well, today I managed to put up a little python script which uses Pinguino as Voltmeter. The script can be found on pastebin . It is quite short, but it implements two classes: Analog Multimeter for the nice Voltmeter gauge pictured below, and Piguino which abstracts Pinguinos USB interface. The driving Pinguino script is on pastebin too. So, what you need is Linux with installed python, PyKDE4, PyQt4 and PyUSB. In order to install PyUSB you will ned libusb too. Just upload the Pinguino script to Pinuguino and run the python script and you should get something like this: Oh, and you should bring some current to PIN 13 (first analog input) on Pinguino. You can try to put a trimmer resistor in front of the PIN 13 on the breadboard an play with it to see gauge moving! That's all folks! bb4now, PMC

Comments
Post a Comment