I always want to have my own arcade game machine. Today I tried Lakka, actually, I tried RetroPi before. Lakka is a lightweight Linux distribution that transforms a small computer into a full blown game console.
First of all, I would like to list my hardware for this small project.
- Raspberry Pi 3 Model B
- 16GB MicroSD card
- Monitor: Acer AL1716, which is VGA connector
- AC power adapter, I use the one from my old smartphone
- Afterglow Xbox 360 wired controller
- DragonRise Arcade joypad
- HDMI A to VGA converter
- 2 way Speakers
Second, the basic Lakka information.
Lakka is built on LibreELEC, LibreELEC is a fork of OpenELEC. It makes it support a lot of different hardware.
From Raspberry Pi Zero to Raspberry Pi 3, from Odroid-C1 to Odroid-XU3/4, and also support PC, Orange Pi, Cubieboard, etc.
Continue reading “Lakka – The open source game console”
I have tried to make a Bluetooth speaker with raspberry Pi three months ago. It was failed because of the old Bluetooth 2.0 USB device. It is too slow to get the smooth audio transferring.
Now I have a new Bluetooth 4.0 USB dongle.
I checked the information from the terminal window.
The procedure of installation is same as the post I posted before.
The dongle I got is $2.99 each. Good price. After I tested it, I can say Good quality.
At DX.com http://www.dx.com/p/ultra-mini-bluetooth-csr-4-0-usb-dongle-adapter-black-143276#.WQ_KC8ZlC70
I have an old model Raspberry Pi, Raspberry Pi Model B rev2, which I got five years ago. And I have a retired speakers. So I think, maybe I can make a bluetooth speaker system with this Pi.
I chaecked my inventory. Found two bluetooth USB dongles. I think it is enough. After googling, I found this one.
Raspberry Pi Bluetooth+Airplay Audio Receiver combo
Go though the steps, I also read the comments of it. I did the following.
Step 1: Preparing the Pi
- Download Raspbian image here. I download Raspbian Jessie Lite, the latest one for now.
- Transfer image to sdcard using Win32 Disk Imager following instructions on www.raspberrypi.org.
- Insert sdcard and power up
- Important! Expand file system to full 8GB capacity
- Login as user pi (password: raspberry). Please note that for the rest of this guide it is assumed that you are logged in as “pi”.
- Update operating system and reboot:
sudo apt-get update
sudo apt-get -y upgrade
Step 2: Installation
This script is from the comment of
pi@raspberrypi ~ $ cd ~
pi@raspberrypi ~ $ git clone https://bitbucket.org/adenbeckitt/raspberry-pi-audio-receiver-install.git
pi@raspberrypi ~ $ cd raspberry-pi-audio-receiver-install/
pi@raspberrypi ~/raspberry-pi-audio-receiver-install $ ./runall.sh
Device name: RpiAudio
Step 3: Testing
From my cellphone, I can pair the Bluetooth dongle on my Raspberry Pi. Name of the device is RpiAudio, which I entered on installation.
The pin code is default 0000.
See attached screenshots
Continue reading “Try to make a Bluetooth Speaker with Raspberry Pi”
There are some popular desktops in Linux Environments.
KDE – a Graphical desktop that is similar to the Microsoft Windows
Xfc – a lightweight but fully functional graphical desktop
Gnome – a historically popular desktop that is the default desktop on many linux distributions
LXDE – a lightweight yet powerful graphical desktop that is specifically designed for smaller computer.
The default desktop of Raspbian is LXDE. Some one may use Xfc instdead.
Which one you prefer?
Yes, it is the Raspberry Pi I mentioned yesterday.
I let it on more than eight hours, then I start to run the UnixBench test.
Look at the result:
# # # # # # # ##### ###### # # #### # #
# # ## # # # # # # # ## # # # # #
# # # # # # ## ##### ##### # # # # ######
# # # # # # ## # # # # # # # # #
# # # ## # # # # # # # ## # # # #
#### # # # # # ##### ###### # # #### # #
Version 5.1.3 Based on the Byte Magazine Unix Benchmark
Multi-CPU version Version 5 revisions by Ian Smith,
Sunnyvale, CA, USA
January 13, 2011 johantheghost at yahoo period com
Use of uninitialized value in printf at ./Run line 1378.
Use of uninitialized value in printf at ./Run line 1380.
Use of uninitialized value in printf at ./Run line 1588.
Use of uninitialized value in printf at ./Run line 1590.
1 x Dhrystone 2 using register variables 1 2 3 4 5 6 7 8 9 10
1 x Double-Precision Whetstone 1 2 3 4 5 6 7 8 9 10
1 x Execl Throughput 1 2 3
1 x File Copy 1024 bufsize 2000 maxblocks 1 2 3
1 x File Copy 256 bufsize 500 maxblocks 1 2 3
1 x File Copy 4096 bufsize 8000 maxblocks 1 2 3
1 x Pipe Throughput 1 2 3 4 5 6 7 8 9 10
1 x Pipe-based Context Switching 1 2 3 4 5 6 7 8 9 10
1 x Process Creation 1 2 3
1 x System Call Overhead 1 2 3 4 5 6 7 8 9 10
1 x Shell Scripts (1 concurrent) 1 2 3
1 x Shell Scripts (8 concurrent) 1 2 3
BYTE UNIX Benchmarks (Version 5.1.3)
System: raspberrypi: GNU/Linux
OS: GNU/Linux -- 4.1.6+ -- #810 PREEMPT Tue Aug 18 15:19:58 BST 2015
Machine: armv6l (unknown)
Language: en_US.utf8 (charmap="ANSI_X3.4-1968", collate="ANSI_X3.4-1968")
CPU 0: ARMv6-compatible processor rev 7 (v6l) (0.0 bogomips)
23:01:27 up 6:57, 1 user, load average: 0.71, 0.24, 0.11; runlevel 2
Benchmark Run: Thu Aug 27 2015 23:01:27 - 23:31:32
1 CPU in system; running 1 parallel copy of tests
Dhrystone 2 using register variables 1666373.2 lps (10.0 s, 7 samples)
Double-Precision Whetstone 265.2 MWIPS (10.0 s, 7 samples)
Execl Throughput 188.2 lps (29.7 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 30458.0 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 9554.5 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 78833.1 KBps (30.0 s, 2 samples)
Pipe Throughput 123181.8 lps (10.0 s, 7 samples)
Pipe-based Context Switching 15379.2 lps (10.0 s, 7 samples)
Process Creation 485.1 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 370.6 lpm (60.2 s, 2 samples)
Shell Scripts (8 concurrent) 46.9 lpm (60.7 s, 2 samples)
System Call Overhead 343457.1 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 1666373.2 142.8
Double-Precision Whetstone 55.0 265.2 48.2
Execl Throughput 43.0 188.2 43.8
File Copy 1024 bufsize 2000 maxblocks 3960.0 30458.0 76.9
File Copy 256 bufsize 500 maxblocks 1655.0 9554.5 57.7
File Copy 4096 bufsize 8000 maxblocks 5800.0 78833.1 135.9
Pipe Throughput 12440.0 123181.8 99.0
Pipe-based Context Switching 4000.0 15379.2 38.4
Process Creation 126.0 485.1 38.5
Shell Scripts (1 concurrent) 42.4 370.6 87.4
Shell Scripts (8 concurrent) 6.0 46.9 78.2
System Call Overhead 15000.0 343457.1 229.0
System Benchmarks Index Score 76.7
I will repeat the test after a reboot. see if it is a little bit different.
Continue reading “UnixBench test result on Raspberry Pi”
I have a Raspberry Pi for many years. At least three years.
Now I took it out and start to learn somthing new on it.
First of all, it is time to know the hardware information.
On terminal window, enter the following:
On my system, I see the following output:
pi@raspberrypi ~ $ cat /proc/cpuinfo
processor : 0
model name : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS : 2.00
Features : half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xb76
CPU revision : 7
Hardware : BCM2708
Revision : 0003
Serial : 00000000f6cfe5e4
Look at the revision number 0003
It means Raspberry Pi version is Model B Revision 1.0 + Fuses mod and D14 removed.
See the table of Raspberry Pi Revision Numbers:
To make Raspberry Pi work, I need some accessories. When I ordered Raspberry Pi from the official site, it is a PCB only. I need the following items.
- USB keyboard and mouse.
- Prepared SD card. At least class4, 4GB.
- HDMI or composite television, OR a monitor with DVI or HDMI input, and an HDMI/composite cable.
- Micro USB power supply – make sure you use a good quality one, capable of providing at least 1A at 5V.
- Ethernet LAN cable (optional).
I have USB keyboard and mouse.
SD card, I have 8GB Kingston SDHC.
HDMI cable, I have one. I can use it to connect it to my TV. Now I got one gardget, or HDMI Female to DVI Male Adapter. So I can connect it to Acer monitor with DVI connector.
Micro USB poser supply. I bought one AC Adapter, or Slim USB Power Adapter. Then, I don’t need to use my HTC power adapter any more.
And CASE. Clear case is great. I like it.
Continue reading “Raspberry Pi Accessories”
I ordered one case for my Raspberry Pi board. It is only about $8.
It is a set of pre-cut acrylic board. I assembled it with easy click-on. No glue needed.
Here is the front pic.
Continue reading “Raspberry Pi in the clean case”
I played Mame Arcade Game on Raspberry Pi. To play the old age game, you have to find the roms.
Here is some roms, you can download and try.
If you want other roms, leave the message below, I will try to find it and put the link for your downloading.
Download Galaxy Rom
Download 1941 Rom
Continue reading “Mame Game Roms – Galaxy”
My first project for Raspberry Pi is game emulator. Oh, no, it is the second. The first is to make a case for Raspberry Pi.
Let us look at the Raspberry Pi’s status when it working inside of the case.
The board is sitting inside of the box perfectly. The white lan cable connect from left. Usb keyboard and usb mouse connect from left. orange HDMI cable is from up. The mini-usb power cable from right.
I followed the instruction of Shea Silverman’s blog.
I tried the Namco Galaxians game when I first run it.
Continue reading “Playing Mame Arcade Game on Raspberry Pi”