Raspberry Pi Notes

Serial Port Setup

Edit inittab to not comment out the console getty:

#Spawn a getty on Raspberry Pi serial line
T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100

And edit /boot/cmdline to have:

console=ttyAMA0

instead of

console=tty1

WiFi Setup

sudo vi /etc/wpa_supplicant/wpa_supplicant.conf

Add:

network={
    ssid="wifi identifier"
    psk="wifi password"
}

Then:

sudo ifdown wlan0
sudo ifup wlan0

Analog to Digital Conversion

Wait, WTF? The Raspberry Pi has digital GPIO, but no Analog A/D on board? Boo on that. I guess it’s back to the Edison, for which I have an A/D converter on the Arduino shield.