Archive for September, 2009

Simple score board with PIC16F690 & 7 segment display

September 22nd, 2009

Today i finished my second PIC project The first one was a LED Cube, but i didn’t published anything about it just because there are a lot of similar projects out there.
So my project is a simple score board. Two 7 segments displays with a button for each one, the full source code (assembler) and schematics.

PIC16F690 score board 1

This is a screen shot of the final assembly (yes, i soldered 2 flags 😆 )

To build this board you need 2 330Ω, 7 220Ω and 2 10KΩ resistors, 2 NPN transistors, a PIC16F690, two 7 segment display (i used in my build a common cathode, if you use a common anode you have to change the schematics and code a little)  and 2 push buttons.

On my board i didn’t connected the decimal point (DP) from the displays, so if you want to connect yours then you have to get another 200Ω resistor for it and connect it to port B7.

» Read more: Simple score board with PIC16F690 & 7 segment display

VN:F [1.9.22_1171]
Rating: 6.9/10 (15 votes cast)

PHP Yahoo Messenger Archive Decoder v1.5

September 10th, 2009

A new version of PHP Yahoo Messenger Archive Decoder is available for download.

I know 2 years have passed since the release (or actually any other modifications), but a friend asked me to modify it so he can use it to parse conference history files. So this is what’s new in this version.

I really don’t think a new version will be added, unless it will not work anymore with the latest yahoo messenger version (it still works with version 10 beta)

VN:F [1.9.22_1171]
Rating: 8.4/10 (8 votes cast)

PHP simple large XML parser

September 6th, 2009

I needed a simple PHP script to parse large XML files fast and without huge memory consumption, so I’ve written a small class for this.

This class can be used to parse large XML files (it works with small one also) fast and with minimum of memory consumption.
It can parse any valid XML and convert it to an array. What it does not do is to get the attributes of the nodes.
If you need it, contact me and i can implement it for you if you want.

You can parse any part of the XML as it supports XPath with the same performance as parsing the entire XML (well, a little bit faster as it’s less data to parse)

» Read more: PHP simple large XML parser

VN:F [1.9.22_1171]
Rating: 10.0/10 (3 votes cast)

PHP WSDL Generator new version work in progress

September 1st, 2009

i started working on a new (improved) version of PHP WSDL Generator.
Many people have asked for new features and better output this is what the new version will have.
I will also rewrite almost all the code.

The new PHP parser is almost done. Now you can also add classes without specifying files. Just include them in your code and tell the generator to also use those classes. Of course the old way to add classes (by specifying files with PHP code) will still be available, but unlike before when the content of the files was parsed, now the files first will be included (using require_once() ). I know this is not ideal if you have other code that must not arbitrary execute, but then again it’s good practice to have the classes separated from any other code. The new parser will be much faster and more accurate.

That’s all for now, I will post more news about this after more work is done.

Please don’t ask when the release will happen as I don’t know. I do this in my free time witch is somehow limited right now.

VN:F [1.9.22_1171]
Rating: 8.3/10 (35 votes cast)