Aug 31 2016

PiMag

Category: Raspberry Pidq @ 7:04 PM

https://www.raspberrypi.org/magpi-issues/

Essentials_GPIOZero_v1.pdf (6.02 mb)

Conquer Command Line-Essentials_Bash_v1.pdf (2.24 mb)

Essentials_SenseHAT_v1.pdf (8.98 mb)

Essentials_Sonic_Pi-v1.pdf (2.83 mb)

Projects_Book_v1.pdf (35.69 mb)


Aug 31 2016

Chrome APPS – simulators

Category: RF,Tutorialsdq @ 6:44 PM

https://chrome.google.com/webstore/search/circuit?hl=en&_category=apps

==========================================================

http://www.rfdesignhq.com/

https://chrome.google.com/webstore/detail/rf-design-hq/enckobpkmbllbmmommnnhkjjlijklehl?hl=en

https://chrome.google.com/webstore/detail/tinacloud/okbklkndcjiiekdnjjmbkpkpjnnbbboc?hl=en

https://easyeda.com/editor


Aug 27 2016

DIY PCB

Category: Uncategorizeddq @ 9:03 AM

https://www.youtube.com/watch?v=QGV4co25WhY&feature=youtu.be


Aug 26 2016

Raspberry Pi Magazine

Category: Raspberry Pidq @ 1:33 AM

https://www.raspberrypi.org/magpi/

https://www.raspberrypi.org/magpi/ubuntu-mate-review/

https://www.raspberrypi.org/magpi/gpio-zero-essentials/

https://www.raspberrypi.org/magpi/build-status-light/


Aug 24 2016

AutoStart

Category: Raspberry Pidq @ 8:27 PM

Essentially all you have to do to create a start-up script is the following:

Create a file here and make it executable:

sudo nano /etc/init.d/start-sound && chmod +x $_

Add it to the default runlevel:

sudo update-rc.d start-sound defaults

All your script really needs to do is call aplay on an audio file. Something like this:

# /etc/init.d/start-sound




echo "Playing startup sound"
aplay /path/to/file.mp3 2>&1 >/dev/null &

AutoStart the Jack Server

nano ~/.config/autostart/jackd.desktop

[Desktop Entry]
Type=Application
Name=Jack-D
Exec=jackd -p 8 -r -m -d dummy > /dev/null 2>&1
StartupNotify=false
###
Comment=Setup JACKD to prevent messages
NoDisplay=true
###Exec=sh -c 'xset m 20/10 10 r rate 500 30 b on'
###NotShowIn=GNOME;KDE;XFCE;




 

Instead of aplay use omxplayer which can read MP3, AAC, WAVE and a few others.

# /etc/init.d/start-sound
echo "Playing startup sound"
omxplayer /path/to/file.mp3 2>&1 >/dev/null &

omxplayer is pre installed with the latest (for a while now) and also you can do the same to play video to a selected output device.

If you get permission error try putting sudo in front of omxplaye


Make The Startup Sound Part Of The Boot Process

Use the nano text editor to open up a file called rc.local within the /etc directory:

sudo nano /etc/rc.local

Scroll down to the bottom of that file, and just before the line that states exit 0, add the following line:

omxplayer /etc/sound/logon.wav 2>&1 >/dev/null &

Again, remember to replace the file name logon.wav with whatever you have called your audio file. Once you have added the line to the rc.local file, use Ctrl+O to write out (save) the file and then Ctrl+X to exit.




Aug 22 2016

BlueTooth

Category: Raspberry Pidq @ 8:16 PM

https://www.element14.com/community/docs/DOC-81266/l/setting-up-bluetooth-on-the-raspberry-pi-3

https://www.google.com/search?q=raspberry+pi+iot+windows+gpio&oq=raspberry+pi+iot+windows+gpio&aqs=chrome..69i57.15120j0j7&sourceid=chrome&ie=UTF-8#q=voltage+controlled+audio+attenuator

=============================================

https://www.raspberrypi.org/forums/viewtopic.php?t=68779

https://www.raspberrypi.org/forums/viewtopic.php?t=68779

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

–> https://github.com/hzeller/gmrender-resurrect

–> http://blog.scphillips.com/posts/2013/07/playing-music-on-a-raspberry-pi-using-upnp-and-dlna-revisited/

–> http://elinux.org/RPi_VerifiedPeripherals

=======================

https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8&client=ubuntu#q=android%20app%20upnp%20dlna

http://blog.scphillips.com/posts/2014/05/playing-music-on-a-raspberry-pi-using-upnp-and-dlna-v3/

https://www.amazon.com/s/ref=nb_sb_noss/167-0217951-1769050?url=search-alias=aps&field-keywords=USB+External+3D+5.1+Channel+Audio+PC+Sound+Card+Adapter

https://learn.adafruit.com/usb-audio-cards-with-a-raspberry-pi/updating-alsa-config

https://learn.adafruit.com/usb-audio-cards-with-a-raspberry-pi/updating-alsa-config

aplay -D sysdefault /usr/share/sounds/alsa/Front_Center.wav


https://www.element14.com/community/docs/DOC-81266/l/setting-up-bluetooth-on-the-raspberry-pi-3

Setting up Bluetooth on the Raspberry Pi 3

Version 3

Wireless at Last!

Now that it has been a few weeks since the release of the Raspberry Pi 3, support for the WiFi and Bluetooth chip has settled and you can use it with Raspbian. Support with Windows 10 IoT Core will be available in the early days via the Insider Program before it is pushed through to the full release.

As usual, with Raspbian ensure that you have your distribution up to date, with this guide we will be using Raspbian Jessie, at present it is still the ARMv7 32bit kernel. Connect your Raspberry Pi to the internet either via WiFi or Ethernet and run the following commands:

sudo apt-get update

sudo apt-get upgrade -y

sudo apt-get dist-upgrade -y

sudo rpi-update

Installing the Software

From a console terminal, either from within your desktop environment, which at the time of writing the window manager is still LXDE. This will ensure your system is up to date.

Now you have a few options, you can install the following package:

sudo apt-get install pi-bluetooth

Which should install what you need to use the bluetooth portion of the chip, this installs the following packages which you can, if you want, install instead of pi-bluetooth:

sudo apt-get install bluez bluez-firmware

As the chip requires a firmware blob to work along with the driver. Bluez also installs a suite of tools. These will work from the console terminal. Should you wish to manage your bluetooth devices from your X environment, aka your windows manager, aka your desktop then you can install the following package:

sudo apt-get install blueman

After installing the software and drivers, reboot your Raspberry Pi. Unless you know otherwise, to load the driver for the adapter.

Terminal / Console

Bluez comes with a tool called ‘bluetoothctl’ which you can run from the console terminal, typing ‘man bluetoothctl’ does not give you a great deal of detail, so you have to type ‘help’ from within the software:

pi@raspberrypi:~ $ bluetoothctl

[bluetooth]# help

Available commands:

list List available controllers

show [ctrl] Controller information

select <ctrl> Select default controller

devices List available devices

paired-devices List paired devices

power <on/off> Set controller power

pairable <on/off> Set controller pairable mode

discoverable <on/off> Set controller discoverable mode

agent <on/off/capability> Enable/disable agent with given capability

default-agent Set agent as the default one

scan <on/off> Scan for devices

info <dev> Device information

pair <dev> Pair with device

trust <dev> Trust device

untrust <dev> Untrust device

block <dev> Block device

unblock <dev> Unblock device

remove <dev> Remove device

connect <dev> Connect device

disconnect <dev> Disconnect device

version Display version

quit Quit program

Now we are in bluetoothctl we can run the commands, first lets make sure that bluetooth is on, running and discovering devices:

With the commands ‘power on’, ‘agent on’ and ‘scan on’. Though we likely only need ‘power on’ and ‘scan on’.

Devices! and while the software is running we will see devices appear, change, delete, etc. We can then connect to a device using its MAC address. Basically, we are talking to the devices directly at the hardware layer, usually on your typical WiFi or Ethernet network this is done transparently to you and we only work with IP addresses. However with Bluetooth at this point, no.

We can also then pair and trust the device and do all the fun features of Bluetooth, provided these are successful.

GUI

Some consider the blueman package and software to be unstable, though the sources saying so are a bit dated by now and it may be somewhat more stable.

When you have the blueman package installed, you should have a nice Bluetooth icon in your system tray. If you left-click with a mouse connected to your Raspberry Pi you should get a menu with all of the, hopefully, self explanatory options for you to play with, which for some reason I could not capture with scrot/imagemagick, so you get a nice photograph:

IMG_20160316_000640.jpg

Yum, pixelated (it was an old Dell monitor). If we want to scan for devices, similarly to using the ‘scan’ command for bluetoothctl then we select ‘Devices’ on the menu:

And from here we can see what is available in the vicinity, you may be surprised at suddenly finding your neighbours smart television or phone, you will find out how thin your walls really are. It can be more fun in the office at work.

However, let us select “setup a new device”:

Add New Device
Choose the Device to Connect to
×
2 / 3

However, what I discovered is that the passkey method is practically deprecated or ignored, it may be applicable for older Bluetooth software or devices, but these days you will get a prompt appear (and for myself, then hide) on Raspbian, next to the icon for blueman, there will be a message, and in this message it will display a message like:

This device wants to pair with this machine, with this code xxxxxxxx, do you want to permit or deny?

This likely happens with new devices such as smart phones and televisions, as a security measure that you are physically holding or looking at the device in question. Of course you then ‘permit’ on either the device or Raspbian and the two will be paired. Allowing you to then setup drivers for your Bluetooth device functionality, to use it as a modem, in the case of a phone, share its internet access or simply send files to and from it. Potentially, you can even use it as an audio device!

Attaching to devices such as headsets tends to be easier, and usually does not use a pairing code. A standard is usually four zeroes (0000) with most consumer devices.

Have you setup your Raspberry Pi 3 with Bluetooth?

Perhaps speakers, or even the Panasonic Grid Eye sensor board? (yes, it has bluetooth). I am not sure what I will do with mine, but after I backed the Bluetooth Audio Link I may use it with some speakers, or perhaps add the functionality to remote control a Plex Server.


Aug 22 2016

phone

Category: Raspberry Pidq @ 8:20 AM

Search:

Found:


Aug 22 2016

a2dp

Category: Raspberry Pidq @ 8:16 AM

Search: https://www.google.com/search?q=raspberry+pi+a2dp+car&oq=raspberrypi+a2dp&aqs=chrome.4.69i57j0l5.9848j0j8&sourceid=chrome&ie=UTF-8

found:


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



Next Page »