Difference between revisions of "250a Accelerometer Lab"
From CCRMA Wiki
(→Make Some (musically-expressive, gesture-controlled) Music!) |
|||
(62 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | <font size=5>Lab | + | <font size=5>Lab 5: Accelerometers, Audio Filters & Graphics</font><br> |
− | + | See [https://ccrma.stanford.edu/courses/250a/schedule.html this quarter's schedule] for due dates. | |
− | + | == Set up for lab == | |
− | + | First start up your kit | |
− | + | Connect your Satellite CCRMA kit to your laptop and boot it. | |
+ | * Use a terminal window to login to Satellite CCRMA as usual using the command <code>ssh -XY ccrma@192.168.105.106</code> with the password <code>temppwd</code>. | ||
+ | * Check that your kit has access to the internet through you laptop. You can do this by trying to ping Bing. Run the command <code> ping bing.com</code>/ If it is successful, it will tell you how long it takes to send a packet from your Satellite CCRMA kit to Bing and back. | ||
− | + | Now copy the lab files to your kit. | |
+ | * At the command line in the terminal window, type <code> wget http://ccrma.stanford.edu/courses/250a/labs/lab5.zip </code> to download the lab5 files to your Beagleboard. | ||
+ | * Unzip the file: change into your ~/ directory, and type <code>unzip lab5.zip</code>. This should create a folder called lab5/ with all the files you need. | ||
− | + | Run the command <code>arduino &</code> to start the Arduino IDE. | |
+ | *Use the Arduino IDE to flash your Arduino with Standard Firmata. (See [https://ccrma.stanford.edu/wiki/Talk:250a_Microcontroller_%26_Sensors_Lab_Pd#Prepare_Arduino this link] if you forget how.) | ||
− |