Bitcoin _ raspberry pi – bitcoin standalone chart monitor bitcoin conversion rate

A video posted by danilo (@intrd) on may 30, 2014 at 7:02pm PDT

Download SD card image

• raspberrypi imageraspbian chromiumautoload fullscreen[v1.1-byintrd].Zip

• extract image with 7zip

Use w32diskimager to write this image to your SD card ( 8gb card minimum)

• halt pi inicialization w/ the emergency halt method (described at the end of this tutorial) to access terminal as root

• reconfigure /boot/config.Txt (display resolution), /home/pi/.Xinitrc (service URL and parameters) and /etc/network/interfaces (network configuration)

• done, reboot

Creating your own (from scratch) installing dependences

Considering that you already have pi running the pure raspbian image, follow the steps below to instal these dependencies:

• matchbox

• chromium

• x11-xserver-utils

• ttf-mscore

• fonts-installer

• xwit

• sqlite3

bitcoin conversion rate

• libnss3

First, update your distro… Sudo apt-get update

Sudo apt-get dist-upgrade

…Then install dependencies sudo apt-get install matchbox chromium x11-xserver-utils ttf-mscorefonts-installer xwit sqlite3 libnss3

Sudo reboot

Setting the fullscreen resolution

Edit the file /boot/config.Txt, start doing the test using the settings for 1280×720 x 32bit.

Make several tests(using startx command), to get the max resolution supported by your display. Disable overscan=1 framebuffer width=1280

Framebuffer height=720

Framebuffer depth=32

Framebuffer ignore alpha=1

Hdmi pixel encoding=1

Hdmi group=1

Preparing X framebuffer and load automatically .Xinitrc script

Now edit /etc/rc.Local to prepare famebuffer to start X and also process our .Xinitrc script after the login # print the IP address

IP=$(hostname -I) || true

bitcoin conversion rate

If [ $ IP ]; then

Printf my IP address is %s\n $ IP


# wait for the TV-screen to be turned on…

While ! $( tvservice –dumpedid /tmp/edid | fgrep -qv ‘nothing written!’ ); do bhadtowaitforscreen=true;

Printf ===> screen is not connected, off or in an unknown mode, waiting for it to become available…\n

Sleep 10;


Printf ===> screen is on, extracting preferred mode…\n


Eval $( edidparser /tmp/edid | fgrep ‘preferred mode’ | tail -1 | sed -ene ‘s/^.+(DMT|CEA) \(([0-9]+)\) ([0-9]+)x([0-9]+)[pi]? @.+/ GROUP=\1; MODE=\2; XRES=\3; YRES=\4;/p’ );

Printf ===> resetting screen to preferred mode: %s-%d (%dx%dx%d)…\n $ GROUP $ MODE $ XRES $ YRES $ DEPTH

Tvservice –explicit=$ GROUP $ MODE

Sleep 1;

Printf ===> resetting frame-buffer to %dx%dx%d…\n $ XRES $ YRES $ DEPTH

Fbset –all –geometry $ XRES $ YRES $ XRES $ YRES $ DEPTH -left 0 -right 0 -upper 0 -lower 0;

bitcoin conversion rate

Sleep 1;

# autostartx (note: pi is my user)

If [ -f /boot/xinitrc ]; then

Ln -fs /boot/xinitrc /home/pi/.Xinitrc;

Su – pi -c ‘startx’


Exit 0

… now create /home/pi/.Xinitrc file (thanks to wcode.Org) #!/bin/sh

While true; do

# clean up previously running apps, gracefully at first then harshly

# killall -TERM chromium 2>/dev/null;

# killall -TERM matchbox-window-manager 2>/dev/null;

# sleep 2; # killall -9 chromium 2>/dev/null;

# killall -9 matchbox-window-manager 2>/dev/null;

# clean out existing profile information

# rm -rf /home/pi/.Cache;

# rm -rf /home/pi/.Config;

# rm -rf /home/pi/.Pki;

# generate the bare minimum to keep chromium happy!

# mkdir -p /home/pi/.Config/chromium/default

# sqlite3 /home/pi/.Config/chromium/default/web\ data CREATE TABLE meta(key LONGVARCHAR NOT NULL UNIQUE PRIMARY KEY, value LONGVARCHAR); INSERT INTO meta VALUES(‘version’,’46′); CREATE TABLE k$

bitcoin conversion rate

# as you can see.. I’ve disabled all cache cleanup to speedup chromium start at the known sites (but you can turn this feature depending on your needs)

# disable DPMS / screen blanking

Xset s off # don’t activate screensaver

Xset -dpms # disable DPMS (energy star) features.

Xset s noblank # don’t blank the video device

# reset the framebuffer’s colour-depth

Fbset -depth $( cat /sys/module/*fb*/parameters/fbdepth );

# hide the cursor (move it to the bottom-right, comment out if you want mouse interaction)

Xwit -root -warp $( cat /sys/module/*fb*/parameters/fbwidth ) $( cat /sys/module/*fb*/parameters/fbheight )

# start the window manager (remove -use cursor no if you actually want mouse interaction)

Matchbox-window-manager -use titlebar no -use cursor no

# start the browser (see http://peter.Sh/experiments/chromium-command-line-switches/)

bitcoin conversion rate

# as yoiu can see, i’ve used bitcoinwisdom, but if you prefer, you can use your tradingview custom graphics, like https://www.Tradingview.Com/e/m28vdxew/#

Sleep 10

Sleep 60

Chromium –kiosk http://bitcoinwisdom.Com


# stay updated!

# raspberry pi @ bitcoin standalone chart monitor – http://dann.Com.Br/raspberry-pi-bitcoin-standalone-chart-monitor/

Auto skipping login

Edit /etc/inittab file and look for this (around line 53) #1:2345:respawn:/sbin/getty –noclear 38400 tty1

… comment and create a new one 1:2345:respawn:/bin/login -f pi tty1 /dev/tty1 2>1

# where pi is my username

Force static IP on eth0 (for ethernet PI users)

Considering that its a graphical standalone monitor, it’s a good idea to cable and force static IP, to do this edit /etc/network/interfaces with this sample auto lo

Iface lo inet loopback

bitcoin conversion rate

Auto eth0

Allow-hotplug eth0

Iface eth0 inet static






Done, just reboot your pi. Tips emergency halt (to enable direct access to terminal)

When pi is booting and showing the line: print the IP address..

Start pressing repeatedly ctrl+C, only stop when you’re at the prompt, like this…

Removing the bitcoinwisdom ads

Yes, you can remove the bitcoinwisdom ads by using a chromium extension.

But I highly recommend you pay at least once time the premium bitcoinwisdom, considering it is one of the best tools ever invented and the developers deserve some support. Bitcoinwisdom price sound alerter

Use this chromium extension to enable sound notifications to get informed when a price change occurs based on your criteria.

• sound alerter chrome extension – https://chrome.Google.Com/webstore/detail/bitcoinwisdom-sound-alert/fmhacmihfjdgiikjcghjmffajebcgjpb

bitcoin conversion rate

Stay updated and give some feedback


• bitcointalk.Org official thread: https://bitcointalk.Org/index.Php?Topic=658488.Msg7405156#msg7405156

• /r/bitcoin – http://reddit.Com/r/bitcoin

• wired – raspberry pi + kiosk mode – http://blogs.Wcode.Org/2013/09/howto-boot-your-raspberry-pi-into-a-fullscreen-browser-kiosk/