Arduino improving nRF24L01+ reliability

In the past few weeks, I noticed that data transmitting from one of sensor nodes got dropped dramatically. This sensor node is an Arduino Micro using nRF24L01+ as the transmitter. Well, it’s supposed to send data to the base station once every 30 seconds; however the transmitting recurrence time exceeded 2 minutes. By default the transmitting rate is at 1 Mb/s, so I dropped it to 250 Kb/s to see if had any better improvement. It didn’t help. ...

August 12, 2014 · 1 min · 205 words · kenno

Eclipse ADT Fatal Error on Linux

The Eclipse IDE that comes bundle with Android Development Tools (ADT) crashes when run on my laptop running Fedora. The error message which logged to console is: Fortunately, there’s a way to fix this problem by opening ‘eclipse.ini’ file, in my case: and added this line to the end of that file: ...

July 2, 2014 · 1 min · 62 words · kenno

Can't find the 'libpq-fe.h header

I need to install pg 0.17.1 gem on a server running CentOS. This is the error message I saw: # gem install pg -v '0.17.1' Building native extensions. This could take a while... ERROR: Error installing pg: ERROR: Failed to build gem native extension. /usr/bin/ruby extconf.rb checking for pg_config... no No pg_config... trying anyway. If building fails, please try again with --with-pg-config=/path/to/pg_config checking for libpq-fe.h... no Can't find the 'libpq-fe.h header *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. ... First thing came to my mind was I must have forgotten to install the -dev package. ...

February 3, 2014 · 1 min · 192 words · kenno

Permanently Disable Search Indexing In Windows 8

This post is mainly to remind me how to disable the search indexing. On the start screen type: services.msc. Once the service dialog windows opened, look for “Windows Search”. Right click on it, and select Properties. In the Startup type drop-down list, select Disabled. Full credit goes to this link: http://www.addictivetips.com/windows-tips/how-to-permanently-disable-search-indexing-in-windows-8/.

November 4, 2013 · 1 min · 51 words · kenno

Upgrade existing Perl 5.12 to Perl 5.18 on FreeBSD 9

Recently I’ve been trying to update the perl package on my FreeBSD box to the latest version 5.18 without any success. Here’s a snippet of the error message: So I turned to Google to see if other people experienced the same thing as me. According to an answer to a similar question about upgrading perl on serverfault.com, one should read document frequently. ...

October 30, 2013 · 1 min · 118 words · kenno