Monday, June 10, 2013

Teapot is down - debugging in progress

My teapot crashed yesterday. From this moment, I'm using an backup of my system with my spare Raspberry Pi.

I can't lie, this Raspberry Pi isn't in a teapot. I'll post again as soon as possible. When the teapot will be Up again.

My first diagnostic is a crash of the SD Card, but i'm not sure of that.

Thursday, June 6, 2013

IR thermometer received


I just received my IR thermometer, and I started to play with it.

The quality of the product feels astonishingly good for a so cheap product. The touch of the plastic and the grip are nice. Usage is very simple: just aim and pull the trigger. Other buttons allow you to switch between Fahrenheit and Celsius, to turn off the laser and to backlight the screen.

Now I need time to measure my various power supply, using a minimal protocol. Meanwhile, this tool is awesome, I spent a good time to measure the world around me: light bulb, coffee, fridge and freezer, wine ...

For example, this pot of ice!


And when everything was measured, thanks to its laser pointer, and its pistol grip (and a little imagination) can still exploring uncharted worlds armed of this phaser.

"Beam me up, Scotty"

Sunday, June 2, 2013

Raspberry Pi power consumption - Fifth month

June 2, nearly an half year after the beginning of my Raspberry Pi power consumption study.

The total consumption since the beginning of the year is 9,1 kWh. The total power consumption for May was 2 kWh. That's a 0,2 kWh more than my usual per month consumption. Maybe my new power adapter is the cause.

Uptime of the Teapot is 99,7%.

1817 unique visitors were on the teapot in May.

crédit photo: By Timo Newton-Syms from Helsinki, via Wikimedia Commons

Monday, May 27, 2013

Boinc for Raspberry Pi


BOINC logoDo you think using a Raspberry Pi to mine bitcoins or litecoins is an useless and egoistic waste of energy. You can change for an useless but generous waste of energy by installing Boinc.

Boinc is an ditributed computing platform used by some scientific projects, were you share your CPU time to contribute to the projects of your choice.

The difficulty with a Raspberry Pi is to find ARM processor compatible projects. I choice the Seti@home project, but I also tested the Milkyway@home projects.

Join an project
http://setiathome.berkeley.edu/ for Seti@home. Remember your ID and password, which are necessaries for the configuration.

Install Boinc on Raspberry Pi
"
sudo apt-get update
sudo apt-get install boinc
"

Download the Seti@home client
"
cd /var/lib/boinc-client
sudo wget https://github.com/dcarrion87/boinc-rpi/raw/master/bin/setiathome-armv6l.tar.gz
sudo tar xfz setiathome-armv6l.tar.gz
chown -R boinc:boinc projects/
"

Connect theBoinc to the project
"
boinccmd --lookup_account http://setiathome.berkeley.edu/ yourAccount yourPassword
"
The command returns your "account key" wich is 32 hexadécal caracters long.

You have to use it in the following command
"
boinccmd --project_attach http://setiathome.berkeley.edu yourAccountKey
"

To get my first task I used this command
"
boinccmd --project http://setiathome.berkeley.edu update
"

And to check activity I use:
"
boinccmd --get_simple_gui_info
"

Here you are, your Raspberry Pi is now crushing numbers to detect intelligent life outside Earth.

Thank to this blogger who gives the more valuable informations about this topic:
http://burdeview.blogspot.fr/p/raspberry-pi-boinc-project-ive-created.html

Saturday, May 18, 2013

Changing of power adapter



After weeks of use, i feel that my "Apple" power adapter is too warm. So I decided to chage it for the Bluestork one. This one has 2 usb ports and illuminates a blue light when plugged.

After a few day of use, I feel it less hot. 


Currently, my only measuring tool is my hand. But to do thing more seriously, I decided to buy an cheap InfraRed Thermometer on dealextreme. I should receive it soon. 

Wednesday, May 1, 2013

Mining Bitcoins with a Raspberry Pi


Bitcoin logo.svg
Last weeks, cryptocurrencies were under media attention because of the recent Bitcoin price volatility. It gives me an idea: to test on my spare Raspberry Pi how it can be used to mine BitCoin.

Because of Bitcoin generation difficulty,  I decided to have a look on an alternative cryptocurrency called Litecoins. To be sure to obtain results, I also decided to join a mining pool, with the "cpuminer" software wich can mine Bitcoins and Litecoins.

Litecoin Logo




Downloading dependencies

"
sudo apt-get update
sudo apt-get install make automake build-essential git
sudo apt-get install libcurl4-openssl-dev
"

Downloading and compiling cpuminer:
"
git clone git://github.com/pooler/cpuminer.git
cd cpuminer/
 ./autogen.sh
./configure CFLAGS="-O3"
make
 "

Using cpuminer with a pool :
"./minerd --url adressedupool.org:portdupool --userpass user:motdepasse"

Exemple
"./minerd --url pool.org:8337 --userpass error418.pi:toto"

I also made some Litecoin mining test with the Raspberry Pi at each overclocking choice of Raspbian, with the actual mining difficulty (wich can change):


Overclocking
Speed
Temperature
None
0,32 khash/s
43,3°C / 109.94°F

Modest
0,37 khash/s
45,5°C / 113.9°F
Medium
0,41 khash/s
46,5°C / 115.7
°F
High
0,42 khash/s
47,1°C / 116.78°F (crash after one day)
Turbo
0,46 khash/s
51,9°C / 125.42°F (quick crash)


Raspberry Pi power consumption - Fourth month


May 1, this is the 4th report about my Raspberry Pi.

The total consumption is 7,1 kWh. The average consumption is definitively of 1.8 kWh per month.

Uptime of the Teapot is 99,43%.

1384 unique visitors were on the teapot in April. 

crédit photo: By Axel Rouvin, via Wikimedia Commons