Archive for category Hobbies

Pinout for A-364 4× 7-segment LED panel

The panel i bought may be named A-364E, probably appearing from Para Light. At least the seller, http://www.evita.lt/a364e-indikatorius-a-364e-9_2mm-4x7segm-dinaminis-raudonas-a?search=a-364 writes this information.

The panel itself has markings like “VP 474 AG” and “C1250d5 T”. Quite useless information. Well, at least it is red 4x 7-segment LED indicator, sharing common anode per every digit, quite similar to http://www.aliexpress.com/store/product/A-364E-L-DIP-12/637061_2051431574.html

BEWARE: it’s impossible to control this panel using SAA1064 LED panel driver, you need HT16K33 or similar.

The first pin is bottom left, counter-clokwise, as usual. The first digit is leftmost.

The pinout as follows:

Pin 1 : “E” segment;
Pin 2 : “D” segment;
Pin 3 : “Decimal point” segment;
Pin 4 : “C” segment;
Pin 5 : “G” segment;
Pin 6 : Common anode for the 4th digit
Pin 7 : “B” segment;
Pin 8 : Common anode for the 3rd digit;
Pin 9 : Common anode for the 2nd digit
Pin 10 : “F” segment;
Pin 11 : “A” segment;
Pin 12 : Common anode for the 1st digit.

Atnaujintas Evita.lt ieškiklis Mozilla FireFox’ui

Jei dar nepastebėjote, evita.lt pakeitė savo puslapio išvaizdą ir variklį.

Gražu.

Kai kam. O mano senasis evita.lt ieškiklis nebeveikia. Teko pagaminti naują, tinkamą dabartinei (as of 2015-01-05) struktūrai.

Pakeliui išsinagrinėjau kaip greitai ieškoti Spikare, AKA rcl.lt kataloge. Mažu kam pravers?

Taigi, ieškyklės Firefox’ui:

MS IE? O kam, kas jį dar naudoja?

Target and the result

A picture worth of thousand bytes
pcb

Slightly overexposed – 2× 6W UV-A (or “black light”) lamps is slightly too much at c.a. 8 cm distance at 4 min exposure time;
The text is just too small – add another 10 mils and hope it will be OK;
Maybe the PCB is too old? It’s kind of NOS and may sit for 6 to 10 years in my stock;
There was slight underetching in the top left corner and had to be corrected by hand.

The PCB is for 0,05 – 5 sec timer for MOT welder. The base is NE555 in SO-8 casing, two swichable capacitors of 47uF and 470uF provides the time range, adjusted by 10k trimmer.

Revit and IronPython: the early bird

ODS module does not work on IronPython, and i don’t know the way to add Revit modules to regular Python.Whatever …

''' cut-n-paste from the net
 @author: ejs
 '''
 import clr
 import sys
 clr.AddReference('RevitAPI')
 clr.AddReference('RevitAPIUI')
 from Autodesk.Revit.DB import *
 from Autodesk.Revit.DB.Architecture import *
 from Autodesk.Revit.DB.Analysis import *
 
 #sys.path.append(r'C:\Python\3.4\Lib\site-packages')
 
 #from odslib import ODS
 
 #ods = ODS()
 
 uidoc = __revit__.ActiveUIDocument
 doc = __revit__.ActiveUIDocument.Document
 
 cView = uidoc.ActiveView
 
 collector = FilteredElementCollector(doc)
 collector = FilteredElementCollector(doc).OfClass(ViewSchedule);
 
elems=collector.ToElements()
 n_elems=len(elems)
 
 for elem in elems:
     if cView.Id == elem.Id: Read the rest of this entry »

Search engine providers for Firefox and MS IE

I’m lazy person.
Here are search engine providers for Firefox and MS IE web browsers.

I’ve added keywords for these search engines, like evt for Evita.lt, lmn for lemona.lt. Now, searching in particular site is as easy as Lotus 1-2-3: type in keyword and the term you need to search in the address bar. So, typing lmn ds180 will search for ds180 in Lemona.lt site.

Firefox Lemona.lt Evita.lt Datasheetcatalog.com
MS IE Lemona.lt Evita.lt Datasheetcatalog.com

Cheers.

Just for fun / ᛃᚡᛊᛏ᛫ᚠᚮᚱ᛫ᚠᚡᚾ

I’m glad to present a small webapp, converting entered text to probably Elder FUTHARK. No spell checking is performed, some rune combinations are ommited, but it may still be funny.

ᛁᛗ᛫ᚷᛚᚨᛑ᛫ᛏᚮ᛫ᛈᚱᛂᛊᛂᚾᛏ᛫ᚨ᛫ᛊᛗᚨᛚᛚ᛫ᚹᛂᛒᚨᛈᛈ᛬ᛍᚰᚡᛂᚱᛏᛁᛝ᛫ᛂᚾᛏᛂᚱᛂᛑ᛫ᛏᛂᛪᛏ᛫ᛏᚮ᛫ᛈᚱᚮᛒᚨᛒᛚᚤ᛫ᛂᛚᛑᛂᚱ᛫ᚠᚡᚦᚨᚱᚲ᛭ᚾᚮ᛫ᛊᛈᛂᛚᛚ᛫ᛍᚻᛂᛍᚲᛁᛝ᛫ᛁᛊ᛫ᛈᛂᚱᚠᚮᚱᛗᛂᛑ᛬ᛊᚮᛗᛂ᛫ᚱᚡᚾᛂ᛫ᛍᚮᛗᛒᛁᚾᚨᛏᛁᚰᛊ᛫ᚨᚱᛂ᛫ᚮᛗᛗᛁᛏᛂᛑ᛬ᛒᚡᛏ᛫ᛁᛏ᛫ᛗᚨᚤ᛫ᛊᛏᛁᛚᛚ᛫ᛒᛂ᛫ᚠᚡᚾᚾᚤ᛭

OpenOffice.org, x64 and .NET interface

Here,’s the story short:

I need to create a series of graph for highly scientific data sets. The data is calculated in MatLAB, but the export of figures in MatLAB is a pain for me.

On the other hand OpenOffice.org seems to be the right tool for the job. The latest MatLAB has the function, called ‘xlswrite’. Happy with the fact, hoping it should write the XLS file I fire it up and…

Ouch. One must have Excell installed, as the data export goes through the ActiveX. If no Excell is found, the data is exported into CSV file, overwriting the file every time. Not the Right Thing. Read the rest of this entry »

Tags: , ,

Running VirtualBox guests from physical drive

Dual boot is perfect solution in most cases.

On the other hand, if you need to peep into the other system’s files, you need to re-boot. Or use sometimes not so stable filesystem utilities.
Running fully virtualized OS, using eg Xen as supervisor, creates additional load an hardware, maybe not too big when running multiple OS’es on the pretty new server, but significant, if it is a laptop. And yes, you NEED to keep data in-sync between virtual and real OS. Read the rest of this entry »

Migration hell: moving printers in Windows

Our campus, Faculty of Architecture, VGTU is moving to the totally new subnet. As we use DHCP for IP distribution, no real problems except `sed` are going to appear.
The pleasing moment is we are getting a fresh IP range.
The headache is TCP/IP printers.

WPKG has good printer addition/ installation guide in http://wpkg.org/Printer_configuration , but it does not cover changing IP port numbers.
As a CEO on all computer infrastructure, I need to find any solution to make the movement smoothly.

I was unable to find a ready-made solution, and in-house tool appeared after several hours in the Net.
I need to apologize for bugs and errors, as it is the first (and hopefully the last) VB script. It uses WMI. Testing box was W7, x64.
Maybe someone will find it useful.

Call the file chprinterport.vbs Read the rest of this entry »

A single song

I’ve been working for maybe the third day when i’ve heard it on some Internet radio station. The song was performed by Mary Hopkin. It’s tracing back to 1920-ies, was banned up to 1950-ies. Anyway Wikipedia knows more about it.

Dude, i’m feeling to old for rock-n-roll 😉

“Дорогой длинною”, Сергей Зыков (Youtube post by tombene77):

Read the rest of this entry »