... of the moderator of official Raspberry Pi forum (http:// www.raspberrypi.org/forums/) love my motorcycle and Apples.
Japanese Raspberry Pi Users Group
Getting Started!
with your Raspberry Pi
Masafumi Ohta (@masafumiohta)
!
Representative of Japanese Raspberry Pi Users Group
Japanese Raspberry Pi Users Group
About me Used to contribute OpenSolaris Project - Now Stopped and killed :(
Now leading Japanese Raspberry Pi community and one of the moderator of official Raspberry Pi forum (http:// www.raspberrypi.org/forums/)
love my motorcycle and Apples.
Japanese Raspberry Pi Users Group
Love my Pis :)
Japanese Raspberry Pi Users Group
First of all!
Try Pi on Cloud! Through RPi public cloud service
Japanese Raspberry Pi Users Group
Agenda - What is the ‘Raspberry Pi’?
- What is useful for Raspberry Pi? thus dare not to unbox?
- The future of Raspberry Pi (Activities of Raspberry Pi Foundation)
- Tips through the meet-up
- About Japanese RPi Users Group
Japanese Raspberry Pi Users Group
Plan in 2006 Raspberry Pi planned in 2006 for the students less skilled in programing.
Eben Upton thought in the beginning time of ‘personal computer’ we used to use programable PCs -Commodore 64, MSX, X68000 but..
Japanese Raspberry Pi Users Group
Pi’s Goal Programable in many language
Feel interest for children - easy to go programming through game and video
Small and robust so that children could carry hard to be broken!
Japanese Raspberry Pi Users Group
http://www.raspberrypi.org/raspberry-pi-2006edition/
Japanese Raspberry Pi Users Group
SPEC of the Pi Model A
Model B
SoC
Broadcom BCM2835 (CPU+GPU)
CPU
ARM1176JZF-S 700Mhz (ARM11)
GPU
Broadcom VideoCore IV
(30 Cores GPU Unit,Full HD, H.264 HiP)
Memory
256MB
256MB、512MB
1
2
none
10/100Mbps
USB 2.0 ports Video outputs
Composite Video,HDMI
Audio outputs
3.5mm jack,HDMI
Onboard Storage
SD/MMC/SDIO
Onboard Network Low-level peripherals GPIO,SPI,I Other peripherals Power ratings Power source
CSI(for Camera),DSI(For Display) 500mA
700mA
5V(Power from microUSB type B or GPIO port)
Japanese Raspberry Pi Users Group
Pi is cheap,but Many has no plan and say:
Throw away to the toy box..
leave it alone..
Giving away to friends..
..Why?
Japanese Raspberry Pi Users Group
In fact.. CPU is very poor..
Need PCs for OS preparation?
Run some Apps like ordinary PCs?
Really handle with ease?
Really it is friendly and fun?
Japanese Raspberry Pi Users Group
Need to consider Top 10 Raspberry Pi Myths and Truths
http://www.hanselman.com/blog/ Top10RaspberryPiMythsAndTruths.asp x
it depends on situations - useful or not
Japanese Raspberry Pi Users Group
PC for preparation? New Out-of-Box Software will help you pc-less installation.
copy the image to SD card and put in your PRi and boot not using ‘dd’
You can choose the OSes for RPi
Easy to recovery
Japanese Raspberry Pi Users Group
NOOBS is useful installation tool - choose OSes
and easy to recover (reset) when corruption.
note can use from VNC customize NOOBS
Japanese Raspberry Pi Users Group
Useful for Desktop? is totally very sloow to use though using maynard - new desktop
midori (lightweight browser) is so-so but chrome is too slow can’t be bared also sylpheed is good but works too much slow if you have much more mails in your box
Japanese Raspberry Pi Users Group
Maynard is new desktop system for RPi
- based on Wayland.now under development
Japanese Raspberry Pi Users Group
Useful for Servers? Yes,that depends on how you use it.
music appliances shairport,Raspbmc,volimio.. work good and you can customize it as you ownsure,works on Linux!
Check the resources CPU and memories recommend to use ‘lightweight’
Japanese Raspberry Pi Users Group
Hifiberry is easy to use I2S board -need I2S soldering but it works out of the box including drivers in Raspbian.
Japanese Raspberry Pi Users Group
Raspyfi+Streaming Music DATA
(USB Stick) icecast
(streaming)
Add the streaming config to /etc/mpd.conf
!
audio_output { type name description host port mount password bitrate format encoding genre public
! }
"shout" "RPi mpd Stream" "mpd streaming on RPi" "std1.ladio.net" "8090" “/raspberrypi" "ladio" "128" "44100:16:2" "mp3" "jazz" "no"
MPD Raspbian
based
OS Raspyfi Raspberry Pi
HiFiBerry
(I2S) Use sudo dpi-update recognize HiFiBerry
! !
Add USB setting to /var/www/_OS_SETTINGS/etc/samba/smb.conf
!
[USB] comment = USB Drive path = /mnt/USB/usb1 read only = no public = yes follow symlinks = yes wide links = yes
Japanese Raspberry Pi Users Group
Airplay+Streaming Shairport
(Airplay)
icecast
(streaming)
darkice Build darkice to support MP3(for reciving Airplay music):http://goo.gl/LrvShn and add file for streaming /etc/darkice.cfg
!
[general] duration bufferSecs reconnect
= 0 = 5 = yes
[input] device sampleRate bitsPerSample channel
= = = =
! !
jack_auto 44100 16 2
[icecast2-0] bitrateMode = cbr format = mp3 bitrate = 256 server = std1.ladio.net port = 8090 password = ladio mountPoint = rpiairplay name = Airplay Stream description = Darkice stream on my RPi url = http://www.raspi.jp genre = my own public = no localDumpFile = dump.mp3
USB DAC
(USB)
jackaudio Raspbian
2013-7-26
wheezy Raspberry Pi
Use USB DAC for Jackaudio I/O through alsa check /etc/modprobe.d/alsa-base.conf,and then edit /etc/asound.conf using Jackaudio through alsa.
! ! !! !
then start jackd command using USB-DAC through alsa jackd -P70 -t2000 -p16 -s -dalsa -dhw:1 -p256 n3 -r44100
Jackaudio is low latency and resource consumption enough to have Audio I/O and streaming I/O for Icecast.I tried another (pulse..) system but failed to use the streaming I/O - stopping or weird working on RPi.
Japanese Raspberry Pi Users Group Old wheezy would be downloaded http://downloads.raspberrypi.org/ raspbian/images/
*sometime it happens on your Pi update make harm to Apps..use old Raspbian if it happens.
Jack Audio for Raspberry Pi download http://wiki.linuxaudio.org/wiki/
Japanese Raspberry Pi Users Group
Running for 24hours? Yes,choose the cases has good airflow to keep your RPi being cool,or being down or freeze we can’t expected.
be careful using microusb power choose good electric powered usb HUB to use continuously your RPi.
much more lower watts than x86 servers!
Japanese Raspberry Pi Users Group
Rack-like(open-air),enough height to add some equipments.
Japanese Raspberry Pi Users Group
almost sealed case might cause freezing your PRi thus hard to work 24 hours a day.
Japanese Raspberry Pi Users Group
Useful for Program? yes,it is very good for using such as twitter-bot or writing some codes to try some.
Of course be careful CPU,Memory resources - it very poorer than your usual PCs!
Japanese Raspberry Pi Users Group
Raspberry Pi Foundation collaborate with Oracle,
Porting Pure Java to Raspberry Pi (Raspbian)
Japanese Raspberry Pi Users Group
Useful for Games? Since such ARM Linux devices are born some has been porting the old games to the devices. - ex.GP2X,Pandora
lately Broadcom opened the Videocore driver for RPi and had a contest porting QuakeⅢ - are going to port and make many games on RPi
Japanese Raspberry Pi Users Group
Old Open-Linux-based game machine GP2X
Japanese Raspberry Pi Users Group
Quake3 works good with 30 GPU unit on RPi
Japanese Raspberry Pi Users Group
Comparing others Beaglebone - ARM Cortex 2 Cores but default is low clocks and need to be care unexpectedly stops using Beagle.
(there are anything issues unexpected stop..some says the issue of ‘usbpower’ on Beaglebone)
Japanese Raspberry Pi Users Group
see cpufreq-info and cpufreq-set controlling CPU performances (default is ‘ondemand’)
Japanese Raspberry Pi Users Group
I tried to run for 24 hours using tweet bot with old BB (ubuntu 14.04) but can’t work over a day..
Japanese Raspberry Pi Users Group
Comparing others BAT-MINI - Intel Bay Trail-M PC (we know as ‘LIVA’ of ECS.
Works good but now focusing on Windows and Desktop(first windows now porting..)
Works much more faster than RPi
no so care of kernel update :-p
Japanese Raspberry Pi Users Group
Tips for using RPi *rpi-update latest raspbian kernel for developers - make sure whether you can really update or not. (So is aptget) so apps still old and ‘will not’ work.
*serial-using through GPIO - use GPIO port connecting your RPi with serial port,can’t use USB with it
Japanese Raspberry Pi Users Group
Use FTDI Card connecting GPIO port on your RPi,
you can use serial-login from your PC
Japanese Raspberry Pi Users Group
Future Compute Module - can be delivered in August..will delay a bit
Continue improving Software - Pure Java with Oracle and etc..
Website improving - multi-lang website for non-English natives.
Japanese Raspberry Pi Users Group
Raspberry Pi compute module,which Eben planed
last year,will be released in Summer(a bit delay..)
Japanese Raspberry Pi Users Group
Project There are interesting projects in Japan.
Now Japanese RPi Users Group introducing some projects to all over the world through Raspberry Pi Foundation.
Japanese Raspberry Pi Users Group
Akkie has famous RPi Project ‘Eject command’
something through pushing and pulling out CD’s tray
see http://eject.kokuda.org/ for more info
Japanese Raspberry Pi Users Group
RAPIRO is very famous japanese RPi project by Shota ishiwatari,Raspberry Pi is ‘brain devices’ controlling the motors using RAPIRO.
Japanese Raspberry Pi Users Group
Program Education Gathering (PEG) is the project helping Children IT Education with RPi
Japanese Raspberry Pi Users Group
About Users Group Established about 2 years ago.
We have a Jam (meetup) in Tokyo and attend some IT and Makers events in Japan.
In this year we plan the event to welcome Eben again here in Tokyo :)
http://goo.gl/pc7Cnn to join group
Japanese Raspberry Pi Users Group
Latest Pics at our Raspberry Jam in April Assembling RAPIRO.
Japanese Raspberry Pi Users Group
Summary Please be careful using RPi for Desktop.works very slow than we expected
Audio Appliance OS is the first step to use RPi.
Raspbian is stable OS provided RPi Foundation thus make stable working.
Japanese Raspberry Pi Users Group
Additional If you have no idea with RPi so you might try ‘RPi case’.
You can buy,make..do some for the case.
Assemble the case with LEGO by keika -san http://goo.gl/QTcZqf
Japanese Raspberry Pi Users Group
LEGO cases for RPi
See http://goo.gl/ptdpM6 for more info
Japanese Raspberry Pi Users Group
Any Questions?
Japanese Raspberry Pi Users Group
Thanks! mailto:
[email protected]
web:http://blog.raspi.jp