Powering from an old LCD Monitor
Truth be told, I didn't think much of the Raspberry Pi at first in large part because hooking them up involved a lot of cables and hardware. However, I recently discovered a way to hack an old LCD monitor for use as the Raspberry Pi's display and power source. Since the monitor I was using required a USB input in order for the outputs to be powered, I initially used a printer cable to connect the two ports. Being too cheap to waste a printer cable when I knew all that was happening was a simple connection between two points on a circuit board, I opened up the monitor and soldered a small piece of wire between the two 5V pins of the USB input and one of the USB outputs. Works great.
Here are some pics of the finished product:
Tools and Parts
- Screw Driver
- 1/16" drill bit
- 6 x #4 1/2" screws
- 2 x #4 3/8" screws
- 2 x 1/2" 12-2 Plastic NM Cable Stables
- Micro USB Cable
- HDMI to DVI Cable
- WiFi Dongle
- 8GB Class 10 Micro SD Card
- Old keyboard
- Old Monitor
- Newer mouse (seems like newer mice work much better with the Raspberry Pi than older ones)
Modifications to Make Using raspi-config
- Expand Filesystem
- Internationalisation Options >> Change Keyboard Layout
- Select the Generic 105-key (Intl) PC model
- Select Other layout
- Select English (US) - right below English (UK)
- Select English (US) - at the very top)
- On the rest of the following screens select the default options.
- Advanced Options >> Audio >> Force 3.5mm ('headphone') jack
USB Conflict Fix
If you're having trouble getting your USB keyboard and WiFi dongle to work together, try the following fix suggested by Ludovic Rousseau:
Add dwc_otg.speed=1 to the /boot/cmdline.txt file, as follows:
dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200
dwc_otg.speed=1 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4
Setting up the Pi
- Go to Adafruit to learn how to set it up.
- Make sure to set the keyboard to US (otherwise keymapping is very annoying)
- To set the Pi to use DVI: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=63&t=39858
- Finding your Pi's IP so you can remote into it: http://trevorappleton.blogspot.com/2013/03/remotely-find-raspberry-pi-ip-address.html
- In the Target box type: 192.168.1.0/24
- Select Profile: Ping scan
- Click on: Scan
- The Cirago Wifi/Bluetooth dongle appears as: XAVi Technologies
- Fix for the following error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: An authentication agent already exists for the given subject
- Go into "Preferences->Desktop Session Settings" and un-check "PolicyKit Authentication Agent"
Installing the Arduino IDE
To install the latest version of the Arduino IDE, it looks as though you first have to upgrade Raspbian and then follow the these instructions. If you are using the Kano image, you may have to install java first with: apt-get install oracle-java8-jdk. Unfortunately, the drivers for the ESP8266 are not available for the ARM architecture.
Sharing a Mac's WiFi
- Go to System Preferences -> Network and change the IP address for your ethernet connection to Using DHCP with Manual Address and copy and paste the ip address for your wifi connection.
- Go to System Preferences -> Sharing and share your Internece from your Wifi connection with the ethernet connection.
I purchased a domain name from Google Domains and set up ddclient without Google Domains support.
Hosting Multiple Websites
Deal Extreme sells a nice prototyping board for the B+: DIY Prototyping Expansion Board for Raspberry PI B+
- Not good for robots (only 2 pwm pins and no adc).
- Doesn't run Minecraft or OpenSCAD among other things.
Use cell phone as a hotspot for connecting to the Pi. (Need to test this)
Motion Activated Security Camera
- http://www.linuxcircle.com/2015/05/14/view-image-on-your-pi-remotely-over-ssh/ (view images via ssh)
- Install nodejs: http://node-arm.herokuapp.com/
- http://www.bernaschina.com/en/blog/raspberrypi/cloud9-raspberry-pi/ (setting up Cloud9 - makes running headless much easier)