Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts

Wednesday, January 8, 2014

Raspberry Pi and Temperature Sensor

Today I successfully connected the DS18B20 temperature sensor to the RPi. I ordered the waterproof version that comes with ~ 2 ft leads.

I used the following Adafruit lesson to the letter and it worked great:
http://learn.adafruit.com/adafruits-raspberry-pi-lesson-11-ds18b20-temperature-sensing/overview

Friday, November 29, 2013

AutoRemote and Linux

I successfully paired Raspberry Pi with two android devices via AutoRemote.

I used the instructions here http://joaoapps.com/autoremote/linux/ but was getting an invalid key error. This is because I was trying to use the personal url rather than the personal key. The difference is explained here: http://joaoapps.com/autoremote/personal/ .

I set these connections up using the internal IP but will try to add registrations using a public IP so I can control from anywhere. I'll need to set up port fowarding in my router. I'll also need to come up with the best way to always know my home public IP.

I also successfully sent commands from my phone to the RPi.
  • sudo halt
  • aplay [filepath]

Wednesday, November 27, 2013

Transfer Files from Windows to Raspberry Pi

I wanted to transfer a .wav file from my windows machine to the raspberry pi.

I found this blog post and successfully used WinSCP.

http://www.neil-black.co.uk/transfer-files-across-your-network-from-windows-to-a-raspberry-pi#.Upaw-sTUBiI

Use the SCP protocol rather than FTP or SFTP.

Tuesday, November 26, 2013

Monday, November 25, 2013

Bootable USB Drive for Linux Install

Today I learned about and used the Universal USB Installer software to prepare a bootable USD thumb drive with an Ubuntu image. I then installed Ubuntu on an old Dell Mini Inspiron 910 netbook.

 http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/

Linux installs are so much easier now. I remember installing linux 15 years ago and it was not for the faint-at-heart.

Sunday, November 24, 2013

Eject USB Drive - Error and Fix

Earlier today, I successfully used a USB drive in my raspberry pi but when I went to eject the drive by right clicking on the drive in the file manager (via the desktop), I got an error message: "Error starting job: Failed to execute child process "eject". No such file."

Found this thread: http://www.raspberrypi.org/phpBB3/viewtopic.php?t=18364

Installed "eject" using the command line:

sudo apt-get install eject

Works now.

Wednesday, November 20, 2013

Shutting Down the Raspberry Pi

Two options for shutting down the raspberry pi from the command line:

sudo shutdown -h now

or

sudo halt

Sunday, November 17, 2013

startx

From the command line, use 

startx 

to launch the desktop GUI.


(Raspian Wheezy OS)