I sell on Tindie

Friday, March 9, 2012

BeagleBone PWM

Today I discovered a few important things.
1. PWM and GPIO in BeagleBone can be activated from shell. And it can be used for servo control.
2. DSO 2090 has linux software on http://www.openhantek.org. Finally, I don't need Windows for my scope.

PWM pulses


Wi-fi adapter that I use


Monday, March 5, 2012

Ubuntu wi-fi auto connect

I had 2 days of headache trying to make Beaglebone to connect to my wi-fi network upon startup. I installed ubuntu on it (oneiric 11.10). Currently it has only command line interface via serial.
Here is the solution how to configure it. My wi-fi network is open an has MAC connection control.
sudo apt-get install wpasupplicant

/etc/network/interfaces
auto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-conf /etc/wpa_supplicant.conf


/etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="MyHomeNetwork"
scan_ssid=1
key_mgmt=NONE
}