Aug 21 2016

GPS Navigation

Category: Raspberry Pidq @ 10:39 PM

gps

gpsd

samples -> http://atramentous24.rssing.com/chan-12874032/latest.php

https://www.raspberrypi.org/forums/viewtopic.php?f=41&t=57978

http://wiki.navit-project.org/index.php/Configuration

http://maps9.navit-project.org/

http://maps6.navit-project.org/

http://www.openstreetmap.org/#map=5/51.500/-0.100

planet-160710.bin (19.71 gb)

http://wiki.navit-project.org/index.php/Configuration/Full_list_of_options

http://wiki.navit-project.org/index.php/Raspberry_Pi

http://raspberrypi.link-tech.de/doku.php?id=navitnavigation

http://libresmartphone.com/navigation-system-with-the-ultimate-gps-and-raspberry-pi/

https://geeksww.com/tutorials/operating_systems/linux/installation/downloading_compiling_and_installing_cmake_on_linux.php

https://cmake.org/download/

Set Home

Set MPH

<navit center=”40.17475 -82.98600″ zoom=”16″ tracking=”1″ orientation=”-1″ recent_dest=”250″ osd_configuration=”1″imperial=”1″ timeout=”1″ radius=”25″>


Aug 21 2016

RaspberryPi 3

Category: Raspberry Pidq @ 8:55 PM

Dimensions: 85mm x 56mm x 17mm

Features:

  • Broadcom BCM2837 64bit ARM Cortex-A53 Quad Core Processor SoC running @ 1.2GHz
  • 1 GB RAM
  • 4 x USB2.0 Ports with up to 1.2A output
  • Expanded 40-pin GPIO Header
  • Video/Audio Out via 4-pole 3.5mm connector, HDMI, CSI camera, or Raw LCD (DSI)
  • Storage: microSD
  • 10/100 Ethernet (RJ45)
  • BCM43143 WiFi on board
  • Bluetooth Low Energy (BLE) on board
  • Low-Level Peripherals:
    • 27 x GPIO
    • UART
    • I2C bus
    • SPI bus with two chip selects
    • +3.3V
    • +5V
    • Ground
  • Power Requirements: 5V @ 2.4 A via microUSB power source
  • Supports Raspbian, Windows 10 IoT Core, OpenELEC, OSMC, Pidora, Arch Linux, RISC OS and More!

https://www.sparkfun.com/products/13825


Aug 21 2016

LCD x inches w/touch

Category: Raspberry Pidq @ 8:49 PM

https://www.sparkfun.com/products/13733


Aug 21 2016

FM-Radio

Category: Raspberry Pidq @ 8:46 PM

http://engineering-diy.blogspot.com/2014/02/opencarpc.html

https://www.element14.com/community/blogs/sasg/2014/01/19/controlling-the-rda5807sp-fm-radio-receiver-with-the-raspberry-pi

http://emmanuelgranatello.blogspot.it/2013/02/fm-radio-receiver-on-raspberry-pi.html

Si4703 -> https://www.sparkfun.com/products/12938

Plugin: https://www.google.com/search?q=kodi+fm+radio+tuner&oq=kodi+fm+rasio&aqs=chrome.2.69i57j0l2.7395j0j8&sourceid=chrome&ie=UTF-8


Aug 21 2016

omxplayer – Watch Videos from Command Line

Category: Raspberry Pidq @ 8:01 PM

https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=15327

https://www.maketecheasier.com/watching-videos-on-raspberry-pi/

http://stevenhickson.blogspot.co.uk/2012/12/running-omxplayer-from-command-line.html


Aug 21 2016

WiringPI – GPIO

Category: Raspberry Pidq @ 7:20 PM

I2C Expansion:

Java version -> http://pi4j.com/

Part 1: https://www.youtube.com/watch?v=swW9KJRyLeA

Part 2: https://www.youtube.com/watch?v=D-cTUEKbJJA

Part 3: https://www.youtube.com/watch?v=uLD6dRim67A

Part 4: https://www.youtube.com/watch?v=swW9KJRyLeA

Part 5:

Python

Part 1: https://www.youtube.com/watch?v=ZNNpoLFbL9E

Part 2: https://www.youtube.com/watch?v=9uot9uIC5CA

https://www.youtube.com/watch?v=grItDpy3TRM

https://www.youtube.com/watch?v=J6KsTz6hjfU

https://learn.sparkfun.com/tutorials/raspberry-gpio/c-wiringpi-example

https://www.element14.com/community/servlet/JiveServlet/previewBody/73950-102-10-339300/pi3_gpio.png


Aug 21 2016

Rasbain

Category: Raspberry Pidq @ 6:20 PM

Raspberry PI 3 Rasbain-Jessie is a Debian distribution we will need. Three options exist:

  1. Purchase a RPI with a pre-install version of NOOBS on the microSD card.
  2. Purchase a microSD with NOOBS on it.
  3. Download the Rasbain-Jessie and use Win32 Disk Imager to write the image.

NOOBS the preferred version during build because it will ask at every boot if you wish to overwrite (quick rebuild process).

Rasbain-Jessie is preferred over the NOOBS version for production (end-state) because it will NOT ask at every boot if you wish to overwrite.

I created a backup of the NOOBS disk using Win32 Disk Imager to READ and can now restore it with a WRITE using Win32 Disk Imager. Here is my backup: pi3_backup.img.rar (1.01GB).

Windows may not always work per the Installing Operating System Images guild, I’ve also use pwfree91.exe and SDFormatter.


Aug 21 2016

Sound Driver

Category: Raspberry Pidq @ 5:08 PM

http://plugable.com/2014/11/06/how-to-switch-to-usb-audio-on-raspberry-pi/

http://www.instructables.com/id/Use-USB-Sound-Card-in-Raspberry-Pi/?ALLSTEPS

In the Debian “Squeeze” image the ALSA sound drivers are considered experimental and have been disabled by default. To enable sound you need to type the commands below into the command line :

sudo apt-get install alsa-utils


That will install the required sound driver files and tools. Type “Y” when prompted. The following command will load the sound driver :

sudo modprobe snd_bcm2835


By default the output is set to automatically select the interface (HDMI if available otherwise analog). You can force it to use a specific interface using :

sudo amixer cset numid=3 <n>


Where <n> is the required interface : 0=auto, 1=analog, 2=hdmi. To force the Raspberry Pi to use the analog output :

sudo amixer cset numid=3 1


You will need to run the modprobe command again when your Pi is rebooted/restarted.


Playing A WAV File

In order to play a WAV file we need a file to play. Type the following command to download a test WAV file :

sudo wget http://www.freespecialeffects.co.uk/soundfx/sirens/police_s.wav

sudo wget http://www.freespecialeffects.co.uk/soundfx/sirens/police_s.wav
sudo wget http://www.freespecialeffects.co.uk/soundfx/computers/bleep_01.wav


Now we can play it :

sudo aplay police_s.wav


If you are lucky the sound will play through your speakers or headphones.

I tried a number of WAV files but only some of them played. Hopefully this will be resolved in future releases of the sound drivers.


Playing an MP3 Using MPG321

There are numerous ways to play MP3s from the command line but I tend to use MPG321. This can be installed using :

sudo apt-get -y install mpg321


Once installed we can grab an MP3 to experiment with :

wget http://www.freespecialeffects.co.uk/soundfx/household/bubbling_water_1.mp3


The MP3 file can be played using :

mpg321 bubbling_water_1.mp3


The volume can be adjusted using the ‘g’ command line option. In the example below I set the volume to 50% :

mpg321 -g 50 bubbling_water_1.mp3






USB Sound: https://www.pubnub.com/blog/2015-10-14-text-to-speech-audio-broadcast-with-raspberry-pi/


Aug 21 2016

CarPC – CarPI

Category: Raspberry Pidq @ 4:56 PM

Raspberry Pi 3 applications for CarPC (software in ordered by complexity).

Equipment needed:

  • RaspberryPi 3
  • LCD x inches w/touch
  • 64GB micro SD
  • Delay off switch
  • GPS
  • GPS antenna
  • FM-Radio -> Si4703?
  • Backup Camera
  • Forward Camera
  • BlueTooth – included on board (not needed)
  • Wifi – included on board (not needed)




What we are trying to do:



http://engineering-diy.blogspot.ro/2015/01/raspberrypi-carpc-tutorial.html

carpc20150329.zip (308.13 mb)

https://drive.google.com/drive/folders/0B__Rs5JF53-kfkpEMVpiaEZEX1dIalNDT2hNVzlWQi1yOTFuTHFwUUVGNVdna181TUZvMGM




If you care to understand the scripts, read this.

sudo su

cd /root/

download Pi3CarAudio_2016_09_06-19_05.rar (35.01 mb) to /root/

wget -O /root/Pi3CarAudio.rar https://electronics.qbytesworld.com/wp-content/uploads/media//raspberrypi/scripts/Pi3CarAudio_2016_09_06-19_05.rar

unzip to /root/Pi3CarAudio/

chmod u+x Pi3CarAudioInstall.sh

./Pi3CarAudioInstall.sh


carpc20150329.zip (308.13 mb) may be based on old wheezey-raspbain image: http://downloads.raspberrypi.org/raspbian/images/

https://downloads.raspberrypi.org/raspbian/images/raspbian-2015-05-07/

export PATH=$PATH:/path/to/dir


Aug 21 2016

KODI

Category: Raspberry Pidq @ 4:55 PM

KODI replaces XBMC. –> HERE.

http://kodi.wiki/view/HOW-TO:Install_Kodi_on_Raspberry_Pi

http://openelec.tv/forum/126-3rd-party/75537-fm-radio-receiver-for-kodi-for-the-raspberry-pi-1

Things to review…XBMC

Create KODI Plugins -> https://www.youtube.com/results?search_query=create+kodi+plugin

https://www.youtube.com/watch?v=6aQ6T7RljkM

https://www.youtube.com/watch?v=_ZQQgonRiHk

See FM-Radio for possible plug-ins.

Create KODI Skin -> http://kodi.wiki/view/Skin_development

skin.CarPC-touch_carbon-master

–> https://www.google.com/search?q=kodi+%22CarPC-touch%22+skin&biw=1680&bih=925&source=lnms&sa=X&ved=0ahUKEwirl9L7-tPOAhUcS2MKHbvvCjsQ_AUIBygA&dpr=1

–> https://www.google.com/search?q=kodi+car+pc+skin&oq=kodi+car+scin&aqs=chrome.2.69i57j0l2j69i64.7648j0j4&sourceid=chrome&ie=UTF-8

–> http://arendwierks.blogspot.com/p/touchscreen-fix-raspberry-pi-xbmc-kodi.html

openCarPC

CarPC -> http://kodi.wiki/view/raspberry_Pi



Next Page »