Loading

Monthly Archives: March 2009

DS1620 temperature sensor library for Arduino

I talked about the DS1620 in a previous post. Now I created a DS1620 library for Arduino that has a more object oriented interface. The library has to be unpacked in the $arduino_home/hardware/libraries directory. After unzipping the library you should end up with a $ARDUINO_HOME/hardware/libraries/ds1620 directory. The library contains an example that can be accessed [...]

Arduino XBee sensor (temperature, tilt, compass, and ambient light)

I finally put together an Arduino Pro Mini, the XBee, the MMA7260Q, the HMC6352, the TEMT6000 and the DS1620. This is how it looks like on the prototyping board (ugly, I know) Hopefully it would look better when I move it to the PCB. But before doing that I need to get the battery power [...]

Example of XBee API frames

Some examples of XBee API Frames. Modem status frame 7E 00 02 8A 06 6F 7E: API Frame 00 02: Length 8A: Modem status 06: Coordinator started 6F: checksum FF – ((8A +06) & FF) = 6F AT Command API Frame: MY 7e 00 04 08 52 4D 59 FF 7E: API Frame 00 02: [...]

The barrel roll

The barrel roll. Bookmark It Hide Sites $$(‘div.d425′).each( function(e) { e.visualEffect(‘slide_up’,{duration:0.5}) });

Force Directed Layout in NetBeans

I just came up with the idea of reproducing the GraphView demo I saw in prefuse by using the Netbeans Visual Library API. The GraphView demo uses a Force Directed Layout algorithm to dinamically position the nodes on the screen. It’s really fast and cool. Download prefuse and experiment with it by yourself. I wanted [...]

How To Display Sidebar in Single Post in WordPress 1.5 / 2.0 / 2.7.x Default Kubrick Theme

I found this great tip How To Display Sidebar in Single Post in WordPress 1.5 / 2.0 Default Kubrick Theme. The only problem is that the code that you should add is not properly shown in the post. He just copied the xml code verbatim in the post without escaping it and the browser doesn’t [...]

How to hide/remove the Save, Undo and Redo buttons on the Toolbar (Netbeans Platform)

The default Netbeans Platform Application generated by the Netbeans IDE wizard has the Save, Undo and Redo button showing up in the toolbar by default. Since my applications doesn’t have anything to save I decided to hide those buttons. I turns out that remove them is really simple, I knew that I had to fiddle [...]

it’s unbelivable the amount of comment spam that this site gets

99.4 % of the comments are spam. Thank god that Akismet takes care of it Bookmark It Hide Sites $$(‘div.d378′).each( function(e) { e.visualEffect(‘slide_up’,{duration:0.5}) });

Arduino popularity is on the rise

at least according to Google Trends Bookmark It Hide Sites $$(‘div.d374′).each( function(e) { e.visualEffect(‘slide_up’,{duration:0.5}) });

GPLv3 license template for Netbeans

To add an GPL notice to all your new files Just open the Netbeans Template Manager by clicking Tools ⇒ Templates. Click on the Default License and press the Duplicate button. Then select the newly created “license-default_1.txt” and rename it to “license-gplv3.txt” (the name it’s important copy exactly the same name). Then click on “Open [...]