YOURLS Twitter Tools wordpress plugin

I’ve been looking for a YOURLS url shortener plugin that is compatible with Twitter Tools for a while now. There was one “yourls plugin for twitter tools 2.0” but it’s been unmaintained since August 27th, 2009.

I finally bit the bullet and wrote my own. The plugin is based on Twitter Tools – Bit.ly URLs code and has been tested with WordPress Version 3.0.1.  It’s still pretty Beta, for example I don’t check if the Service URL and Signature token is correct or even entered.  But it works for me.

Installation

Copy the contents of the archive into the wp-content/plugins/ folder then activate the plugin on the “Plugins page”.

Configure

Once the plugin has been Activated, you can configure it via the Twitter Tools settings page. You’ll need to enter the full API url (including the yourls-api.php). You can find your Signature token on the tools page of your YOURLS installation.

Download

Here is a packaged version of the plugin yourls-tools.tar (27 August 2010)

Posted in Software at August 27th, 2010. 17 Comments.

DVM issues and isolated power supplies

I just finished a little project that need a DVM (digital volt meter) panel meter. You can buy these cheapies for R60.00. The one I got was a 3 ½ digit, 7-segment LCD with ±0.5% accuracy.

You get two types, one has a common GND connection, the other needs the supply and measurement GNDs to be isolated. I can’t find the common GND variety in South Africa (well RS has them but they are R300.00). If you connect the GNDs together the meter just displays the “-1″ overload indication. What to do?

Bellow is a simple circuit that will isolated the DVMs power supply and will allow you to use it in your project. Here’s a quick run down of how it works.

Click for PDF

The 555 timer outputs a 70kHz square wave, which is rectified by the two BAT85 Schottky diodes. Capacitors C4, C5 provide the isolation between VCC, GND and the DVM supply. C6 is just a smoothing capacitor.

As you can see it’s very easy to build on a bit of vero-board and could be made much smaller with SMDs.

Posted in Hardware Design at August 18th, 2010. 9 Comments.

Designing Lego Mindstorms NXT sensors

I bought a Lego Mindstorms kit last month to mess with, I’ve got some ideas for robot localisation that I want to try out. Anyway, the kit comes with a sonar range finder but I wanted a little more accuracy and smaller detection area. I’ve got a bunch of Sharp rangefinders from another project and they would work perfectly for what I wanted. A couple of companies sell after market sensors for the NXT, Mindsensors and HiTechnic but it’s much more fun to design and build your own.

For a little background on how the Sharp sensors work, Acroname Robotics has a good article on them.

Adapter board for the ATtiny45

Read More…

Posted in Embedded Firmware, Hardware Design, Software at August 6th, 2010. 5 Comments.