Mar 232013
 

I just had to 3d print something, so I did!

3dPrintBOTH

3dPrintSET

 Actually their names are ‘Hedwig’ and ‘The Angry Blender Unit’.

They were ‘progranimals’ hopping around in the BGE. Now they are little figurines standing perfectly still in the real world. Fun!

Mar 072013
 

RagdollRBD-POST

The folks at Blender have given me a couple of new tools with which to satisfy my desires to maim and mutilate ragdolls.

Rigid Body Dynamics in the animation system and Cycles Hair Rendering.

So in honor of that or whatever… here’s my first non-game-engine ragdoll (with hair) for your demented pleasure…

http://funkboxing.com/wordpress/wp-content/_postfiles/ragdollRBD-POST.blend

Mar 052013
 

This is going to be a little note/link reference page for all the stuff I’ve done with Raspberry Pi’s. I had this stored in a gdoc but I figured it’s more useful here. This isn’t very well sorted or formatted yet. If you find this page and need some info that I haven’t finished posting, just message me and I’ll try to light a fire under it.

[SETUP FROM RASPIAN IMAGE]
***run rpi-config (automatically runs at first boot)
___ [SETTINGS:]
___ <EXPAND ROOT>
___ <START SSH ON BOOT>
___ <UPDATE RPI-CONFIG>
$ sudo apt-get update
$ sudo apt-get upgrade
***run rpi-update (https://github.com/Hexxeh/rpi-update)
***change uname/pword

[WIFI]
$ sudo apt-get install wicd wicd-curses
***add user pi to netdev if/when prompted
***configure network with wicd-curses (couldn’t get to work without encryption, WEP worked)

[X11VNC SERVER INSTALL AND AUTOSTART]
http://www.megaleecher.net/Raspberry_Pi_VNC_Setup

[MINI LCD SCREEN – INCREASE SHELL FONT SIZE]
http://www.raspberrypi-spy.co.uk/2012/11/cheap-miniature-lcd-screen/
***edit the SD cards boot.cfg, uncomment LEFT/RIGHT overscan

[IPAZZPORT BT KEYBOARD]
http://www.ctheroux.com/2012/08/a-step-by-step-guide-to-setup-a-bluetooth-keyboard-and-mouse-on-the-raspberry-pi/

[WEBCAM]
$ sudo apt-get install guvcview
***worked out-of-the-box with HP HD-2200 1280×720 webcam

[WEBCAM STREAMING (FAST ENCODING WITH MJPG STREAMER)]
http://www.justrobots.net/?p=97
$ ./mjpg_streamer -i “./input_uvc.so” -o “./output_http.so -w ./www”
$ mjpg_streamer -i “/usr/lib/input_uvc.so -d /dev/video0 -r 320×240 -f 10″ -o “/usr/lib/output_http.so -p 8090 -w /var/www/mjpg_streamer”
***to display the image stream just add this line to a html-file.
<img src=”http://192.168.88.120:8090/?action=stream” width=”752″>

[ARDUINO IDE]
***this works from the Adafruit Ocidentalis image, might need java packages from basic raspian image
$ sudo apt-get install arduino

[RUN A PYTHON SCRIPT AT STARTUP]
http://www.stuffaboutcode.com/2012/06/raspberry-pi-run-program-at-start-up.html
$ sudo nano /etc/init.d/nokiaLCDboot.sh | (CREATE SCRIPT)
$ sudo chmod 755 /etc/init.d/nokiaLCDboot.sh | (MAKE EXECUTABLE)
$ sudo update-rc.d nokiaLCDboot.sh defaults | (REGISTER SCRIPT)
$ sudo update-rc.d -f nokiaLCDboot.sh remove | (UNREGISTER SCRIPT)
$ sudo /etc/init.d/nokiaLCDboot.sh start

*’&’ at the end of a command runs it as a background process, returning control to the terminal.

*running as daemon – http://www.raspberrypi.org/phpBB3/viewtopic.php?t=37901&p=314885

http://werxltd.com/wp/2012/01/05/simple-init-d-script-template/

[NOKIA 5110 LCD] – NEEDS EDITING
***link to post with image and pin assignments
***not sure if all of these packages are necessary. I did a lot of thrashing around to get this thing working so this isn’t very clean yet.
$ sudo apt-get install python-imaging python-imaging-tk
$ sudo apt-get install python-pip
$ sudo pip install wiringpi
$ sudo pip install spidev
***unblacklist SPI then REBOOT
$ sudo nano /etc/modprobe.d/raspi-blacklist.conf
***turn up CONTRAST 0xc4

[GPIO BUTTON SETUP] – NEEDS EDITING
???***VCC3V -> 10K RESISTOR -> BUTTON -> GPIO 17, 22, or 25 (PIN 11, 15, 22)

[FM TRANSMITTER] – NEEDS EDITING
http://www.icrobotics.co.uk/wiki/index.php/Turning_the_Raspberry_Pi_Into_an_FM_Transmitter
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=37&t=25301&start=25
***CPU or DMA usage???

[TEXT TO SPEECH] – NEEDS EDITING
http://elinux.org/RPi_Text_to_Speech_(Speech_Synthesis)
installing pulseaudio – made it less crackly
use ESPEAK
http://www.gaggl.com/2013/01/raspberry-pi-text-to-speech/
***using this command seems to make it work
$ espeak “hello” –stdout | aplay (piping through aplay or something else seems to be critical)

[LIGHTWEIGHT WEBSERVER]
http://www.penguintutor.com/linux/light-webserver

[PHP SERIAL] – NEEDS EDITING
http://www.fritz-hut.com/php-serial-class/
USE HIS DEMO CODE… CHANGE DEVICE TO /TTYUSB0
AND BAUD RATE TO 9600
AND HAVE TO PUT THIS FILE IN /VAR/WWW/
https://code.google.com/p/php-serial/source/checkout

 

—PROBABLY NOTHING USEFUL PAST THIS POINT—

[TO EDIT]

• OPEN CV
http://www.raspberrypi.org/archives/tag/opencv

https://github.com/andygrove/rasp_pi_camera_opencv

• SDR W/ TV DONGLE AND/OR FUNCUBE DONGLE
DVB-T+DAB+FM
RTL2832U + R820T Mini DVB-T + DAB+ + FM USB Digital TV Dongle – Black
http://www.oz9aec.net/index.php/funcube-dongle/479-the-funcube-dongle-propro-on-the-raspberry-pi
http://g0orx.blogspot.com/
http://www.funcubedongle.com/?p=861
http://www.eham.net/ehamforum/smf/index.php?topic=84327.0

• WSPR NODE
https://github.com/threeme3/WsprryPi

• COMMAND TO MAKE BACKUP COPY OF SD IMAGE
dd if=/dev/sdx of=/path/to/image bs=1M

• GET SYSTEM INFO
http://cagewebdev.com/index.php/raspberry-pi-showing-some-system-info-with-a-python-script/

• GYRO/ACCELEROMETER SETUP – MPU-6050
http://playground.arduino.cc/Main/MPU-6050
http://arduino.cc/forum/index.php?topic=121825.0
http://arduino.cc/forum/index.php?topic=124153.0
http://www.botched.co.uk/pic-tutorials/mpu6050-setup-data-aquisition/
http://arduino.cc/forum/index.php?topic=103408.0
http://www.i2cdevlib.com/devices/mpu6050#help

• R.O.S. INSTALL ON RASPIAN

—MORE UNSORTED / SOME NOT DIRECTLY RASPERRY PI RELATED—

• R2D2 with VOICE CONTROL AND FACE RECOGNITION…
http://www.wired.com/design/2013/01/raspberry-pi-r2d2/

• RPI ANDROID HTML5 CONTROL OF SERVOS
http://martinsant.net/?page_id=479

• WEB COMMANDS->PYTHON
http://askubuntu.com/questions/218496/sending-keyboard-commands-to-ubuntu-through-python-remote-for-my-blackberry
http://stackoverflow.com/questions/3289584/web-ifing-a-python-command-line-script
http://mail.python.org/pipermail/tutor/2005-November/043372.html

• WEB CONTROL OF GPIO
https://bitbucket.org/sbub/raspberry-pi-gpio-web-control/overview
http://www.instructables.com/id/Web-Control-of-Raspberry-Pi-GPIO/
http://elinux.org/RPi_Low-level_peripherals

• NON ROS ROBOT TELOP
http://raspberrypirobot.blogspot.com/
http://code.google.com/p/cmd-robot/
http://www.finventing.com/2013/01/06/robotic-light-painting-with-raspberry-pi/

• HTML FORM BUTTON
http://stackoverflow.com/questions/4120678/multiple-buttons-on-a-form

• OPENCV
http://www.betasix.net/opencv-2-2-python-examples/
http://blog.jozilla.net/2008/06/27/fun-with-python-opencv-and-face-detection/

• HTML CONTROL
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=32&t=23897

• X11VNC MULTIMONITOR
http://en.gentoo-wiki.com/wiki/X.Org/Dual_Monitors (search ‘occasional dual monitors’)

• WIIMOTE
http://www.cl.cam.ac.uk/projects/raspberrypi/tutorials/robot/wiimote/