Dobrica Pavlinušić's random unstructured stuff
RaspberryPi: Revision 19
{toc: }
{tag_list: raspberrypi} ^ [OV7670] * http://www.raspberrypi.org/phpBB3/viewtopic.php?uid=25856&f=44&t=11839&start=0 ^ DHT11/DHT22 * http://www.tortosaforum.com/raspberrypi/dht11driver.htm * http://learn.adafruit.com/dht-humidity-sensing-on-raspberry-pi-with-gdocs-logging/overview ^ [BlinkM] + i2c * http://www.raspberrypi.org/forums/viewtopic.php?t=11969 ^ CEC - control your TV http://www.raspberrypi.org/forum/viewtopic.php?f=35&t=15749 .pre root@raspberrypi:/home/pi# git clone https://github.com/Pulse-Eight/libcec.git root@raspberrypi:/home/pi# cd libcec/ root@raspberrypi:/home/pi/libcec# apt-get install autoconf automake libtool liblockdev1-dev libudev-dev libraspberrypi-dev root@raspberrypi:/home/pi/libcec# sh -x bootstrap root@raspberrypi:/home/pi/libcec# ./configure --with-rpi-include-path=/opt/vc/include/ --with-rpi-lib-path=/opt/vc/lib/ ############################################################################## libCEC version 2:1:0 configured Compilation flags: CXXFLAGS : -g -O2 -fPIC -Wall -Wextra -Wno-missing-field-initializers -Wno-psabi libCEC LDFLAGS : -lbcm_host -llockdev -lrt -ldl -lpthread -L/opt/vc/lib/ -lvcos -lvchiq_arm -ludev client LDFLAGS : -lrt -ldl -lpthread Configured features: Pulse-Eight CEC Adapter : yes Pulse-Eight CEC Adapter detection : yes Raspberry Pi support : yes TDA995x support : no You can now build libCEC by running: make ############################################################################## make install .pre ^^ TV on .pre pi@raspberrypi ~ $ echo "on 0" | cec-client -s .pre ^ Hints from forum ^^ screen saver http://www.raspberrypi.org/phpBB3/viewtopic.php?p=84831#p84831 .pre # prevent screensaver from powering down display setterm -blank 0 -powerdown 0 > /dev/tty0 # clear the display and turn off the flashing cursor clear > /dev/tty0 setterm -cursor 0 > /dev/tty0 # turn the cursor back on when done with omxplayer setterm -cursor 1 > /dev/tty0 .pre ^^ YouTube transcoding in VLC http://www.raspberrypi.org/phpBB3/viewtopic.php?p=163658#p163658 .pre cvlc 'youtube.com/watch?v=XXXXXXXXXX' :sout='#transcode{vcodec=h264,vb=0,fps=0,scale=0,height=720,acodec=mp4a,ab=128,channels=2,samplerate=44100}:http{mux=ffmpeg{mux=flv},dst=:8080/youtube}' :sout-keep .pre ^ Education materials * http://pi.cs.man.ac.uk/download/Raspberry_Pi_Education_Manual.pdf * http://www.ocr.org.uk/qualifications/by-subject/computing/raspberry-pi/ * http://www.cl.cam.ac.uk/projects/raspberrypi/ ^ Raspberry Pi Accessories Starter Kit http://www.conrad.com/ce/en/product/409208/Raspberry-Pi-Accessories-Starter-Kit?ref=searchDetail * 1x Rapberry sticker * Power supply for the Raspberry * Sturdy acrylic housing, which includes all possible connections for this Raspberry and perfectly protects * 4 GB SD card to store your programs ** https://learn.adafruit.com/adafruit-raspberry-pi-lesson-1-preparing-and-sd-card-for-your-raspberry-pi * USB Micro Card Reader * USB cable (for power supply or the power supply of a PC) * 3 m Ethernet cable ** https://learn.adafruit.com/adafruits-raspberry-pi-lesson-6-using-ssh ** https://learn.adafruit.com/adafruit-raspberry-pi-lesson-7-remote-control-with-vnc * TTL USB cable ** https://learn.adafruit.com/adafruits-raspberry-pi-lesson-5-using-a-console-cable/test-and-configure * PI Cobbler (KIT hereby connect the RP with other circuit boards) * Large breadboard circuit * Colored board cable connector * 5x 560 ohm resistors (for LEDS) * 3x LED's (red, green, blue) ** https://learn.adafruit.com/raspberry-pi-e-mail-notifier-using-leds ** https://learn.adafruit.com/debugging-with-the-raspberry-pi-webide/debug-a-blinking-led * 5x 10K resistors (for buttons) * 3x pushbutton ** https://learn.adafruit.com/playing-sounds-and-using-buttons-with-raspberry-pi/bread-board-setup-for-input-buttons * 1x photocell ** https://learn.adafruit.com/basic-resistor-sensor-reading-on-raspberry-pi/basic-photocell-reading * 1x 1uf capacitor (for photocell) ^ GPU * FFT ** http://www.raspberrypi.org/accelerating-fourier-transforms-using-the-gpu/ ** https://github.com/raspberrypi/userland/tree/master/host_applications/linux/apps/hello_pi/hello_fft/qasm * SHA-256 ** http://rpiplayground.wordpress.com/ ** https://github.com/elorimer/rpi-playground/tree/master/QPU * Machine learning - the Deep Belief image recognition SDK ** http://petewarden.com/2014/06/09/deep-learning-on-the-raspberry-pi/ ** http://scientistnobee.wordpress.com/2014/06/20/machine-learning-with-raspberry-pi/ |