Sep 09
2009
rkhunter often warns on file property changes after upgrade and such, and sometimes you just aren't sure whether it is due to recent upgrades, or because you really were compromised. The following script was written to compare the checksum of all files rkhunter warns about against the originals in a …
Aug 28
2009
Cheers,
Steve
Aug 05
2009
Annoyingly git-daemon-run requires runit on debian, but runit will fail to install properly in a debian vserver because it doesn't have init.
One solution is to reconfigure vserver to use plain init style.
However I didn't want to this because I don't want to take down my vserver just yet …
Jul 29
2009
Edit: it occurred to me what I have below is the basics of a thin facebook api wrapper. I might make it into one at some point in the future.
If you don't know what this does, you don't need it. Hope this helps some one. Written because pyfacebook is …
Jun 03
2009
The microbric viper is neat. Good quality parts and unique idea. Makes a decent robotics platform if you get the wheel add-on. However, you gotta have small fingers to get some of the parts in place. Despite this, the hardware is solid, I like it. The one thing I would …
Jun 01
2009
Code to drive it is avaliable under GPL.
An updated version of the schematic as a .sch file is available also.
Cheers,
Steve
May 29
2009
[

](http://www.flickr.com/photos/sentientintelligence/3575882456/ "photo sharing")
Thanks to Anthony from Area I.T. & T, I am now a happy owner of a dual channel 40Mhz oscilloscope.
I am happier than a pig in mud!
Cheers,
Steve
May 17
2009
Got my hands on a ADJD-S371 on a breakout board from Sparkfun. The code below can be used to calibrate it. The most up-to-date version of the code can be found at my git repository under colour_sensor_calibration.
``` brush:cpp
include
/ Calibrates the sensor to get white balance. Pin 2 should …
Apr 28
2009

Firstly, my usual approach of s/\s+$//g doesn't work since it eats up the newline too. s/\s+$/\n/g doesn't work either because the Replace: field in the find dialogue doesn't escape the \n.
Final solution is as shown: s/[ \t]+$//g …
Apr 06
2009
YLDE comic: half as funny half as often.
because imitation is the best form of flattery.

title="and the product of their age will be my private key"/>
Cheers,
Steve
Apr 02
2009
I cheated thought.
Cheers,
Steve
Feb 16
2009
Part number US1440, these sensors are not dual use, which means the transmitter and receiver is not exchangeable. They also look identical from the outside, so if you build my arduino ultrasound ranger with these (as I did) and find you can't see echoes, try swapping your transmitter and receiver …
Feb 13
2009
Goes like this:
I have a right to decide what happens to my children!
To that I say, we have the right to not be a victim of your stupidity. Further, laws represent social contracts that all members of society enter into for everyone's benefit. Getting vaccinated is one such …
Feb 09
2009
A simple 2 DoF setup with an accelerometer (LIS302DL) attached to the effector. The seeeduino attempts to drive the servos so the Z and Y axis measure zero acceleration. The sketch is available at the usual place.
The algorithm employed is a simple PD controller with pseduo-gradient stepping to determine …
Feb 06
2009
What is the period if you want to generate a 40KHz signal? It certainly isn't 250E-6 seconds. The same calculator returns 2500E-3 for 1/4 which is 2.5, not 0.25.
The calculator is PEMDAS.
Cheers,
Steve
Jan 13
2009
It is often a pain building H-bridges or getting a motor shield just because you want to control a few motors. This is where servos come in: they are cheap(ish), have motor and gearbox, and they are controlled ysing only a single wire.
The only problem is of course …
Jan 04
2009
-
The arduino ADC is 10bit, which means the range is 0-1023 and this is mapped to 0-5V most of the time, unless you do funky things to AREF.
-
Most amplifier circuits on the net (using op-amps or LM386s) will have a DC bias of 2.5V, this is to allow …
Dec 25
2008
[

](http://www.flickr.com/photos/sentientintelligence/3134648563/ "photo sharing")
[DIY digital spirit level](http://www.flickr.com/photos/sentientintelligence/3134648563/)
Originally uploaded by [sentientintelligence](http://www.flickr.com/people/sentientintelligence/)
A simply digital spirit level using a LIS302DL accelerometer from nkcelectronics coupled with a seeeduino for processing and a 2x16 …
Dec 20
2008
Dicksmith Electronics is dead to me now. Dead as a door nail, dead just like Tandy.
When I was growing up, Tandy and DSE were the two places I went to get my electronic parts and information. The Engineer's Mini Notebook series and Getting Started in Electronics sold at Tandy …
Dec 12
2008
2x16 character LCD displays can be tricky beasts. I got mine working today with my seeeduino (an arduino compatible board with more awesome), and really wished I had known that:
-
The contrast pin needs to be in the same power network as the power and ground pins. The contrast pin …