Monthly Archives: September 2008

Networking and a HP Photosmart C5180

More a personal note, yet may be useful for others to know….

Today, our new printer, a HP Photosmart C5180, arrived. This printer combines printer, scanner and photocopier in a single unit, i. e. it is able to do any of these three tasks more or less. Well, good enough for us, is seems after some initial tests.

This printer can be connected to a router and hence scanning and printing is possible via the network. Nice, if you only have laptops and wireless lan. And here, the problems started….

Running the printer with a dynamic IP provided via DHCP from the router does not work reliable. Either the printer is never detected from the software installation process or is lost if the printer’s ip changes or the windows firewall blocks the address information send by the printer. It simply doesn’t work.

Workaround?

1) Assign a static IP to the printer

2) Print the network configuration of the printer via the corresponding menu option

3) Edit the /windows/system32/drivers/etc/hosts file and add the following line

192.18.x.x HPXX123

Here, replace the 192.18.x.x with the ip of the printer and HPXX123 with the printer name as shown on the configuration printout.

4) Then install the driver software. The basics are enough. The other applications are next to unusable or extremely bloated. 160 MB for a document viewer? Come on…

And in case you want to know, how to do this using dynamic ips, have a look at this german thread. (There is a translated version on the HP website somewhere)…. Mind boggling complex, no more comment…

PoelControl, AVRs und Elektronik…

Nach langer Zeit wieder ein Update der aktuellen Entwicklungen rund un AVRs, einer elektronischen Steuerung für den Pölbetrieb etc. Nicht alles ist für die Pölerei; einiges ist auch anderweitig seit längerem in Betrieb

PoelControl I

Zuerst einmal, die bereits im vorigen Post vorgestellte PoelControl I ist inzwischen vollständig funktionsfähig und hat bereits einige Monate aktiven Betriebs im Auto überstanden. Hier nochmal Bilder von vorne und auch der Platinenrückseite. 100% SMD 🙂

PoelControl I
PoelControl Backside

Mainbord Mega32

Da ich inzwischen Sensoren und Peripheriegeräte fast ausschließlich über Bussysteme wie I2C oder SPI betreibe und diese nicht direkt angeschlossen werden, wurde zum testen noch eine kleine Controller-Platine fuer den Atmel Mega32 gefertigt.

PoelControl I
PoelControl Backside

Strom, I2C, SPI, ISP, RS232 und ein kleiner I2C-Speicher. Mehr nicht. Zur Zeit wird hiermit an I2C-Master-Slave experimentiert.

PoelControl II

PoelControl II ist eine Master-Platine für eine automatisierte Pöl-Steuerung gedacht. Neben den Funktionen, die auch beim Mega32-Board vorhanden sind, ist hier weiterhin ein SD-Card-Slot vorhanden.

PoelControl I
PoelControl Backside

Die Signale für GALA (geschwindigkeitsabhängige Lautstärkeanpassung) wie auch die Drehzahl der Lichtmaschine können angeschlossen werden und sind mit den entsprechenden Interupt-Pins des AVR verbunden. Bleibt die Steuerung dauerhauft mit der Batterispannung verbunden, so können Peripheriegeärte durch den Controller abgeschaltet werden.

Input / Output

Letztlich wurden für einen anderen Anwendungszweck zwei kombinierte Input/Output-Platinen entwicklet. Beide sind über I2C ansteuerbar, bieten diverse LEDS, einen Speaker und ein Display zur Ausgabe von Statusinformationen. Über Tasten können Benutzerdirektiven abgesetzt werden.

PoelControl Backside
PoelControl I

Die linke Variante zeigt eine einfache Lösung mit einem 3×12-Zeichen I2C-fähigem Display und 3 Tastern. Die rechte Platine ist ein Graphikdisplay mit 128×64 Punkten, eigenem Atmel-Controller und, so gewünscht, oben genannten Anschlussmöglichkeiten für GALA, Lima und Co. Eine Ansteuerung dieses Displays über I2C, wobei der Controlller on Board als I2C-Slave fungiert, ist zur Zeit in der Entwicklung.

Support for Shallo-Panel-Meshes in MView

MView is a lighweight viewer for three dimensional models and supports a variety of model formats. OpenGL is used for rendering. Using Qt as UI framework the application is available for Windows, Unix and Mac and is published under the LGPL. For more information, see the project page.

As part of my work at the Chair of Naval Architecture at the University of Rostock support for the mesh format used by the potential flow code Shallo from HSVA was added to MView hence giving our students a flexible and free tool to verify panel meshes.


Example Shallo Mesh

As of some days ago these changes are incorporated into MView’s CVS repository – thanks Helmut – and will be part of the next release.

XsdImport and Owl2Java Plugins for Topbraid Composer

Topbraid Composer is a versatile, eclipse based tool to develop OWL ontologies. With the initial public relase of XsdImport and Owl2Java two additional plugins for Topbraid Composer are available for download.

From XSD to OWL…

XsdImport is a plugin for TopbraidComposer to convert XSD Schemas to OWL. Classes and Properties are created based on the XSD construct found in an XSD schema. Support for Semantic XML, custom namespaces and namespace prefix mapping as well as a flexible system for handling imports are implemented.

… and on to java or db4o

Owl2Java is a code generator to work with OWL ontologies from java. Ontologies are accessed natively via java classes, methods and attributes. A native interface for the object orierented database db4o with support for transparent persistence can be generated from the internal meta model. Where possible, the implementation adheres to the OWL DL standard and also offers some support for constructs that normally require a reasoner. F