====== ADVANCED CODING/ICT ====== === Raspberry Pi Notes === * Lots of good Raspberry Pi Projects listed: http://www.recantha.co.uk/blog/ * Excellent Bandwidth Monitor with logging: http://blog.scphillips.com/posts/2015/05/monitoring-broadband-speed-with-loggly/ * RabbitMQ Servers - Free: http://www.cloudamqp.com/ & remote control http://www.recantha.co.uk/blog/?p=12498 * Vibration sensor to build interactives: http://www.catodo.net/interactive-installation-at-new-folder-2014/ === Light - Interferometry === * Interferometry: [[http://www.researchgate.net/post/I_would_like_to_perform_an_interference_experiment_for_that_I_require_an_imaging_device_to_record_fringes_Can_anybody_suggest_something|imaging device to record fringes]] * ImageJ - Opens Ource Image analysis tool: http://imagej.nih.gov/ij/ * Double Slit Experiment - Jim Al-Khalili https://www.youtube.com/watch?v=A9tKncAdlHQ * Brian Greene - Double slit - https://www.youtube.com/watch?v=YoQYnhHQ95U === Audience Participation - Free Clicker Software === * MQClicker - Cross platform, web-based clicker: http://www.mqlicker.com/ === Blingy Voting System === * http://blog.switchsystems.co.uk/2015/01/building-a-voting-system-with-a-raspberry-pi/ ====== Raspberry PI - Video Streaming ====== Using gstreamer (best so far): * MJPeg video streaming: [[http://petrkout.com/electronics/low-latency-0-4-s-video-streaming-from-raspberry-pi-mjpeg-streamer-opencv/|low latency video streaming]] On Transmitter (PI): raspivid -t 0 -b 2000000 -w 640 -h 360 --framerate 15 --hflip -o - \ |gst-launch-1.0 -e -vvv fdsrc \ ! h264parse ! rtph264pay pt=96 config-interval=5 \ ! udpsink host=172.16.1.22 port=5001 On Receiver: gst-launch-1.0 udpsrc port=5001 ! application/x-rtp, payload=96 \ ! rtpjitterbuffer ! rtph264depay ! avdec_h264 \ ! fpsdisplaysink sync=false text-overlay=fals === Alternative - For MPLayer (also low latency) === PI Transmitter: raspivid -t 0 -b 2000000 -w 800 -h 600 -fps 15 -hf -o - | nc 172.16.1.22 5001 On MPlayer Receiver: nc -l -p 5001 | mplayer -noautosub -nosub -noass -nosound \ -framedrop -nocorrect-pts -nocache -fps 50 -demuxer h264es -vo x11 - May need to edit $HOME/.mplayer/config file and add the following line: lirc=no === Alternative - For VLC === PI Transmitter: nc -l -p 5001 "exec raspivid -t 0 -n -w 640 -h 360 -o -" VLC Receiver: tcp/h264://172.16.1.27:5001