Monthly Archives: April 2007

Dog-M Display in Eagle3D

Mit Hilfe von Eagle3D kann für eine Leiterplatte eine 3D-Ansicht generiert werden. Leider ist bei der aktuellen Version kein Bauteil für das Dog-M Display vorhanden.

Hier also eine Definition für das DOG-M Display für Eagle3D.


dogDisplay

Zur Installation muss unten stehende Definition in user.inc eingefügt werden:

 #include "connector.inc" 

 #macro DISPLAY_DOGM(value)
 union{
  // upper pin row
  object{IC_DIS_PIN() rotate<0,180,0> translate<0,-3.75,0>}
  object{IC_DIS_PIN() rotate<0,180,0> translate<2.54,-3.75,0>}
  object{IC_DIS_PIN() rotate<0,180,0> translate<5.08,-3.75,0>}
  object{IC_DIS_PIN() rotate<0,180,0> translate<7.62,-3.75,0>}
  object{IC_DIS_PIN() rotate<0,180,0> translate<10.16,-3.75,0>}
  object{IC_DIS_PIN() rotate<0,180,0> translate<12.700,-3.75,0>}
  object{IC_DIS_PIN() rotate<0,180,0> translate<15.240,-3.75,0>}
  object{IC_DIS_PIN() rotate<0,180,0> translate<17.780,-3.75,0>}
  object{IC_DIS_PIN() rotate<0,180,0> translate<20.320,-3.75,0>}
  object{IC_DIS_PIN() rotate<0,180,0> translate<22.860,-3.75,0>}
  object{IC_DIS_PIN() rotate<0,180,0> translate<25.400,-3.75,0>}
  object{IC_DIS_PIN() rotate<0,180,0> translate<27.940,-3.75,0>}
  object{IC_DIS_PIN() rotate<0,180,0> translate<30.480,-3.75,0>}
  object{IC_DIS_PIN() rotate<0,180,0> translate<33.020,-3.75,0>}
  object{IC_DIS_PIN() rotate<0,180,0> translate<35.560,-3.75,0>}
  object{IC_DIS_PIN() rotate<0,180,0> translate<38.100,-3.75,0>}
  object{IC_DIS_PIN() rotate<0,180,0> translate<40.640,-3.75,0>}
  object{IC_DIS_PIN() rotate<0,180,0> translate<43.180,-3.75,0>}
  object{IC_DIS_PIN() rotate<0,180,0> translate<45.720,-3.75,0>}
  object{IC_DIS_PIN() rotate<0,180,0> translate<48.260,-3.75,0>}
  // lower pin row
  object{IC_DIS_PIN() rotate<0,0,0> translate<0,-3.75,-27.940>}
  object{IC_DIS_PIN() rotate<0,0,0> translate<2.54,-3.75,-27.940>}
  object{IC_DIS_PIN() rotate<0,0,0> translate<45.72,-3.75,-27.940>}
  object{IC_DIS_PIN() rotate<0,0,0> translate<48.260,-3.75,-27.940>}

  // display case
  box {<-2.54,0.5,1.27>,<50.8,3,-26.67> texture{col_silver}}

  // text on display
  box {<-2.54,0.5,1.27>,<50.8,3,-26.67> pigment{White}}
  text {ttf besch_font value 0.2, 0 pigment { Gray60 } rotate <90,0,0> scale<3,1,3> translate<13.1,3.21,-10>}

  // translate part
  translate<-26.67,0,16.51>
 }
 #end

PoelControl – Modularisierung und Module

Ein neuer Ansatz für eine elektronische Steuerung. Hier also die ersten Module für eine modular ausgelegte Steuerung.

Vor einiger Zeit wurde bereit ein versuch gestartet, eine microcontrolergesteuerte Lösung zur Erfassung von Messwerten zu entwickeln. Diese Loesung funktionierte zwar, eine spätere Erweiterung wie auch das Platinenlayout waren alles andere als einfach und optimal.

Daher wurde ein neuer Ansatz entwickelt. Eine kommerziell erhältliche Hauptplatine ist hier zentraler Bestandteil der Steuerung. Der dort verbaute Microcontroller liest Messwerte aus, zeigt diese an, reagiert auf Nutzereingaben und steuert Ventile etc. Die eigentlichen Pölfunktionen werden durch selbstentwickelte Module bereitgestellt.

In einem ersten Schritt wurden Module für die Datenerfassung, -speicherung und -anzeige entwickelt. Diese gehen die Tage in die Fertigung. Was wird gebaut?

Module

Datenerfassung

Ohne Datenerfassung kann keine Steuerung funktionieren. Dieses Modul kann bis zu 5 Temperaturmesswerte, 2 Druckmesswerte und den Tankpegel erfassen und an die Hauptplatine weiterleiten.

DataInput

Anzeige

Zur Anzeige kommt Display mit 3 * 16 Zeichen zum Einsatz.


Display

Datenspeicherung

Ein EEPROM Baustein kann verwendet werden, um Messwerte bzw. weitergehende Konfigurationseinstellungen zu speichern.

Probleme und Überlegungen

Für die Kommunikation zwischen Erweiterungsmodul und Hauptplatine kommen I2C und SPI zum Einsatz. Die Erfahrung wird zeigen, ob insbesondere im Motorraum I2C betriebssicher funktioniert. Hier sind mir unterschiedliche Infos bekannt.

Sollte es zu Störungen kommen, so kann eventuell über abgeschirmte Kabel, CRC-Prüfungen etc. eine Lösung geschaffen werden. Klappt auch dies nicht, so wird wohl oder übel der Weg hin zu einem anderen Bus-System wie RS485 oder CAN notwendig sein. Abwarten und hoffen …

Firefox extension highlights

Again, a rather personal note….

Recently I had to install Firefox on a new machine. Woahh… the internet is a totally different and less (!) pleasing place without some of my ordinary extensions missing.

So, without my laptop nearby I had to hunt through the zillions of extensions available for Firefox and try my best. Not really successful 🙁 Therefore, time for a list of my personal highlights for Firefox:

  • Adblock Filterset.G Updater
  • Add Bookmark Here
  • Download Statusbar
  • EditCSS (superseded by Firebug)
  • ErrorZilla Mod
  • Firebug
  • Foxmarks Bookmarks Synchronizer (I know, privacy, jaba daba du 🙂
  • FoxyTunes
  • Greasemonkey
  • ImageZoom
  • LinkChecker
  • Linkification
  • Live Page Rank
  • Quick Lcoale Switcher
  • ScribeFire
  • Web Developer
  • Zotero

PS: Just a personal note. So, no links 🙁 Google is your friend.

Pevekoil Ventil – Erfahrungsbericht

Nach einer ersten kurzen Info über Pevekoil-Ventile im Februar 2006 sowie dem etwas ausfuehrlicheren Review eines Exemplars im Sommer 2006 war es im Herbst 2006 dann soweit.

pevekoil
pevekoil
pevekoil

Bei einer Routine-Kontrolle konnte ich feststellen, dass eines der bis zu diesem Zeitpunkt verbauten Sirais nicht mehr ganz sauber arbeitet. Zumindest schloss ich dies aus dem Umstand, dass beim Schaltvorgang weder ein deutliches “Klack” zu hören noch der Schaltvorgang zu spüren war. Mit einer 2500 km Reise vor der Tür, wenig bis gar keiner Zeit zur Hand und einigen Tagen schlechten Wetters blieb keine Zeit für umfangreiche Untersuchungen. Eine Lösung musste her, fertig.

Daher wurde kurzerhand das Sirai-Ventil ausgebaut und durch eines der beiden prophylaktisch beschafften Pevekoil-Ventile ersetzt. Abmessungen, Anschlussdurchmesser sowie Stecker sind kompatibel.

Inzwischen, nach ca. 6 Monaten und knapp 10.000 km, sind keinerlei weitere Probleme aufgetreten. Das neue Ventil funktioniert tadel- und klaglos. Die noch verbleibenden 3 Sirais aber auch.

Ursache für das leichte Klemmen des einen Sirais war Verschmutzung. Beim Wechsel von mit Teflonband gedichteten Tüllen hin zu PA-Steckverbindern hatte ich die verbleibenden Teflonreste in den Gewindegängen nicht vollständig entfernt. War nur eine Dauer der Zeit, bis diese sich lockerten und entsprechend im Ventilkörper für Probleme sorgten. Aber immer noch besser dort als in der ESP!

Quills 1.5 and comments

Rather a personal note…

With qPloneComments installed in Quills 0.9 comments worked out of the box even for anonymous users. With the upgrade to Quills 1.5 aka trunk I had to find out that this is no longer the case.

Here, comments must be enabled for the WeblogEntry portal type. Unfortunately, this is not (not yet?) possible via the plone preference panel. Insterad, go to your site instance in the ZMI and then to the portal_types tool. Select the content type for which you want to enable comments and change the option enable discussion as needed.

That’s it 🙂

PoelControl – Aktueller Stand

Einige Infos zum aktuellen Stand der PoelControl, einer elektronischen Steuerung für den Pflanzenölbetrieb, sind nun online.

Auch wenn in letzter Zeit wenig passiert ist, so gibt dies doch den Status Quo wieder. Ein kurzer Ausblick auf die weitere Entwicklung ist ebenfalls online.

 Entwicklung

pc-I-rev

Zu finden hier: PoelControl. Aktuelle Infos auch im Blog.

Quills update and some info about incunabulum.de

Over the weekend I took another start to migrate the previous Quills 0.9.1 installation to the current Quills trunk aka 1.5. Sucessfully 🙂 Also, after the introduction of the new skin, the change to the current Quills and the development of some additional portlets the site seems to be as I like it. So, for those interested, a short list about the products I use is given.

Quills Upgrade

The quills upgrade to the current trunk (version 1.5.0.a3-dev10) went quite smoothly. The only issue is a missing import in the migration skript, see this issue in the bug tracker.

Products on the website

Next to the default products installed on a plone instance the followíng products give the functionality I need:

Plone product updates

New versions of my plone products MzProduct, MzAuxPortlets, MzRedPlanet are online.

For the MzRedPlanet skin still some fixes were necessary. Edit-mode, portlet layout and thumbnail preview now work properly. For the new version 0.3.2 see the product page

MzProduct also has a new release that fixes the missing css file registration on portal_css. Now, with version 0.4.2 Mzproduct is comaptible with Plone 2.5.x

Comments are now enabled (and moderated)

With the installation of Plone Comments now finally comments to the blog and selected pages of the website are enabled also for anonymous users.

Comments are moderated, i. e. I have to accept them before they show up online. This action is necessary because of comment spam. Otherwise, legal issues as well as readibility might suffer from tons of advertisement and other spam. This I do not want to see here 🙂