This is my setup log for my second Raspberry Pi. It is a little older, but I think some might find the walk through useful.
This could be used to create a robot that is easy to program and control remotely via VNC and SSH.
This is more of a “log” of my work than instructions, so a lot of it is cut and paste from the sources listed.
Please let me know if you run into questions or problems and I will make updates.
and run the Propeller SimpleIDE to control the Propeller board
- Put it in the case (if you bought one).
- Plug in Ethernet
- Monitor via HDMI (You can use any TV in the house!)
- Keyboard (This is only temporary so just steal one from your kids!)
- Mouse (This is only temporary so just steal one from your kids!)
- Hold off on the power.
Following Propeller’s instructions:
- Find an available desktop or laptop computer with an SD card reader/writer.
- Insert the SD card for your Raspberry Pi into the computer’s SD card reader/writer.
- Point a web browser at the Raspberry Pi downloads site (http://www.raspberrypi.org/downloads).
- Download, install, and run the SD Card Association’s formatting tool from the link provided at the Raspberry Pi downloads page.
- Use this software to format the SD card properly for use with the Raspberry Pi. Make sure to click the Option button, select “Full (Erase)” from the Format Type: field and select “On” from the Format Size Adjustment field, then click the OK and Format buttons.
- Go back to the Raspberry Pi downloads site to get the OS image.
- Download the NOOBS image and extract its contents onto the SD card.
- Eject the SD card from your computer and insert it into the Raspberry Pi.
- Plug in the USB hub’s power supply.
- Plug in the Micro-USB power supply to power up the Raspberry Pi.
- After a few moments, NOOBS will boot and present you with a simple OS Installation menu.
- Set Language to English (US)
- Select the “Raspbian” operating system and then click Install OS. NOOBS will install Raspbian onto your SD card and will then reboot.
- Default User name/Password is pi/raspberry
- On the Raspberry Pi Software Configuration Tool, move the highlight down to the “Enable Boot to Desktop/Scratch” item and press Enter to select.
- On the “Choose boot option” prompt, move the highlight to “Desktop log in as user ‘pi’ at the graphical desktop” and press Enter to select.
- Back on the Raspberry Pi Software Configuration Tool, move the highlight to “Advanced” and press Enter to select.
- Select A4, Enable SSH server,
- Select Enable
- Back on the Raspberry Pi Software Configuration Tool, press the right arrow key to highlight “Finish,” then press Enter twice to reboot.
- Upon rebooting, the Raspbian graphical desktop will appear.
### BEGIN INFO # Provides: vncserver # Short-Description: Start VNC Server at boot time # Description: Start VNC Server at boot time. ### END INIT INFO #! /bin/sh # /etc/init.d/vncserver export USER='pi' eval cd ~$USER case "$1" in start) su -c 'vncserver :1 -geometry 1024x768' $USER echo "Starting vnc server for $USER";; stop) pkill xtightvnc echo "vnc server stopped";; *) echo "usage /etc/init.d/vncserver (start|stop)" exit 1 ;; esac exit 0
pi@raspberrypi ~ $ cat /etc/network/interfaces
auto lo iface lo inet loopback iface eth0 inet dhcp auto wlan0 allow-hotplug wlan0 iface wlan0 inet manual wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf iface default inet dhcp
- In the Raspbian desktop, open the Midori web browser and go to the Propeller Raspberry Pi page; the top of this page.
- Download the SimpleIDE Raspberry Pi binary.
- Open the LXTerminal application. It should start up in your home directory right where Midori just saved the download. Type “ls” to verify.
- Use bunzip2 to unzip the archive by typing “bunzip2 -vv SimpleIDE_0-9-45_armv6l-RaspberryPi-Linux.tar.bz2” into the LXTerminal. (The actual file name may very). NOTE: For a shortcut to excessive typing, after entering the first unique letters of the file name “Simp,” press the tab key to auto-complete. Be patient, it will take more than five minutes to unzip.
- Then extract the files from the resulting tar file by typing “tar -xvf SimpleIDE_0-9-45_armv6l-RaspberryPi-Linux.tar” into the LXTerminal. Once again the tab key shortcut can be used to save on typing. This extraction process will take about two minutes.
- Move into the resulting SimpleIDE… folder by typing “cd SimpleIDE-0-9-45” into the LXTerminal. (The actual folder name may very).
- Run the setup script by typing “sudo ./setup.sh install” into the LXTerminal. This installation process will take about two minutes.
- When installation is complete, run SimpleIDE by typing “simpleide” into the LXTerminal (from within the folder of the previous step).
- Verify and clear any first-time-run prompts. (Click “OK” on any prompts about file location!)
- Connect your Propeller Activity Board to the external USB hub.
- Select the proper USB port in SimpleIDE’s port field.
- Now you can compile and download your code to the Propeller.